Minor textprop integer cleanup.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
9f70f91e
SM
12013-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Tweak logic.
4 (easy-mmode-set-keymap-parents): Use make-composed-keymap.
5
4c514b0f
SM
62013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
7
8 * emacs-lisp/bytecomp.el (byte-compile-file): Use let.
9
cd27a76d
JL
102013-02-25 Juri Linkov <juri@jurta.org>
11
12 * replace.el (read-regexp): Let-bind `default' to the first
13 element of `defaults' if it's a list, otherwise it should be
14 a string or nil. Let-bind `suggestions' to `defaults' if it's
15 a list, otherwise make a list with the string value. Doc fix.
16 (Bug#13805)
17
343a2aef
EZ
182013-02-25 Eli Zaretskii <eliz@gnu.org>
19
20 * emacs-lisp/bytecomp.el (byte-recompile-directory): Reject files
21 that match "\`\.#", to avoid compiling lock files, even if they
22 are readable (as they are on MS-Windows).
23
944c37ef
SM
242013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
25
26 * files.el (basic-save-buffer): Remove redundant directory-creation.
27
7a91562f
JB
282013-02-24 Jay Belanger <jay.p.belanger@gmail.com>
29
30 * calc/calc-ext.el (math-to-radians-2, math-from-radians-2):
31 Add option to force `pi' to remain symbolic.
32 * calc/calcalg2.el (calcFunc-sin, calcFunc-cos, calcFunc-tan)
33 (calcFunc-cot, calcFunc-csc, calcFunc-sec, calcFunc-arcsin)
34 (calcFunc-arccos, calcFunc-arctan): Use symbolic `pi' in the
35 derivatives, when necessary.
36
2ae3d736
PK
372013-02-23 Peter Kleiweg <p.c.j.kleiweg@rug.nl>
38
39 * progmodes/ps-mode.el (ps-mode-version): Bump to 1.1i.
40 (ps-mode-octal-region): Use string-make-unibyte.
41
fd743628
GM
422013-02-23 Glenn Morris <rgm@gnu.org>
43
e8ba2352
GM
44 * emulation/viper-cmd.el (viper-submit-report):
45 * progmodes/ps-mode.el (ps-mode-maintainer-address):
46 * progmodes/vera-mode.el (vera-mode-help-address):
47 * textmodes/artist.el (artist-maintainer-address):
48 * textmodes/reftex.el (reftex-report-bug):
49 * vc/ediff-util.el (ediff-submit-report):
50 Add bug-gnu-emacs to bug report address.
51
3296c443
GM
52 * progmodes/simula.el (simula-mode-menu, simula-mode-map):
53 Remove bug report entries.
54 (simula-mode-help-address, simula-submit-bug-report): Make obsolete.
55
fd743628
GM
56 * emacs-lisp/bytecomp.el (byte-compile-level): New.
57 (byte-compile-file, byte-compile-from-buffer):
58 Use separate input/output buffers for each level of recursive
59 byte-compile-file calls. (Bug#13787)
60
c57a0aff
MA
612013-02-23 Michael Albinus <michael.albinus@gmx.de>
62
63 * net/tramp.el (tramp-methods): Fix docstring.
64 (tramp-ssh-controlmaster-options): Rename it from
65 `tramp-ssh-controlmaster-template'. Return a string.
66 (tramp-default-method): Adapt check for
67 `tramp-ssh-controlmaster-options'.
68
4c514b0f
SM
69 * net/tramp-sh.el (tramp-methods):
70 Replace `tramp-ssh-controlmaster-template' by "%c".
c57a0aff
MA
71 (tramp-do-copy-or-rename-file-out-of-band)
72 (tramp-maybe-open-connection): Use it in format spec. Ensure,
73 that it is applied for the first hop only.
74
bba90ab2 752013-02-22 Juri Linkov <juri@jurta.org>
54d9de11
JL
76
77 * isearch.el (isearch-lazy-highlight-new-loop):
78 Set `isearch-lazy-highlight-start' and `isearch-lazy-highlight-end'
79 to `isearch-other-end' if it is not nil. (Bug#13402)
80
81 * replace.el (replace-highlight): Let-bind `isearch-other-end'
82 to `match-beg'.
83
84 * textmodes/ispell.el (ispell-highlight-spelling-error-overlay):
85 Let-bind `isearch-other-end' to `start', `isearch-forward' to t
86 and `isearch-error' to nil.
87
29bb19dc
MA
882013-02-22 Michael Albinus <michael.albinus@gmx.de>
89
90 * net/tramp.el (tramp-tramp-file-p): Fix docstring.
91
4c514b0f
SM
92 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
93 Handle multibyte file names.
29bb19dc 94
153dd4d0
GM
952013-02-22 Glenn Morris <rgm@gnu.org>
96
5c11fc55
GM
97 * textmodes/sgml-mode.el (sgml-xml-mode): Move before use.
98 (sgml-transformation-function): Give it a :set function.
99 (sgml-tag): Doc fix.
100
f4146d98
GM
101 * cmuscheme.el (scheme-buffer):
102 * progmodes/inf-lisp.el (inferior-lisp-buffer):
103 * progmodes/tcl.el (inferior-tcl-buffer):
104 * textmodes/tex-mode.el (tex-command): Doc fixes.
105
5db881d0
GM
106 * image-mode.el (image-mode): Add mouse bindings for mode-line-process.
107
153dd4d0
GM
108 * htmlfontify.el (hfy-default-header): Encode title string. (Bug#7457)
109
e224eb41
BG
1102013-02-21 Bastien Guerry <bzg@gnu.org>
111
112 * cmuscheme.el (scheme-buffer): Fix docstring. (Bug#13778)
113
cfbf790d 1142013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
c132ab79 115
4c514b0f
SM
116 * progmodes/python.el (python-info-current-defun):
117 Enhance match-data cluttering prevention.
c132ab79 118
cfbf790d 1192013-02-21 Glenn Morris <rgm@gnu.org>
e233e100
GM
120
121 * net/tramp.el (tramp-get-debug-buffer): Ensure outline.el is not
122 loaded while outline-regexp is let bound. (Bug#9584)
123
cfbf790d 1242013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
33c0cb25
FEG
125
126 * progmodes/python.el (python-info-current-defun): Fix failed
127 defun name retrieval because of unwanted match-data cluttering.
128
886bae77
MA
1292013-02-21 Michael Albinus <michael.albinus@gmx.de>
130
d20e6e90
MA
131 * net/tramp.el (tramp-ssh-controlmaster-template): Make it a
132 defconst. Apply independent check for ControlPersist.
133
886bae77
MA
134 * net/tramp-sh.el (tramp-sh-handle-set-file-times): Set $UTC only
135 temporarily, via "env".
136
bed1791a
GM
1372013-02-21 Glenn Morris <rgm@gnu.org>
138
5313bbc7
GM
139 * info.el (Info-enable-edit): Remove.
140 (Info-edit): Disable it rather than using Info-enable.
141 (Info-edit-mode-hook, Info-edit-map, Info-edit-mode, Info-edit)
142 (Info-cease-edit): Make editing of Info files obsolete.
143
bed1791a
GM
144 * informat.el (Info-tagify):
145 Handle buffers not visiting files. (Bug#13763)
146
c1bf363a
JB
1472013-02-21 Juanma Barranquero <lekktu@gmail.com>
148
149 * calc/calc-graph.el (calc-graph-show-dumb): Fix typo.
150
b367ec7b
GM
1512013-02-21 Glenn Morris <rgm@gnu.org>
152
153 * files.el (basic-save-buffer): Move check for existing parent
154 directory after hooks. (Bug#13773)
155
b6c2bfff
SM
1562013-02-20 Stefan Monnier <monnier@iro.umontreal.ca>
157
158 * simple.el (command-execute): Move from C. Add obsolete check.
159 (extended-command-history): Move from C.
160
3bf1099f
UM
1612013-02-20 Ulrich Müller <ulm@gentoo.org>
162
163 * jka-cmpr-hook.el (jka-compr-compression-info-list)
164 (jka-compr-mode-alist-additions): Handle .txz suffix for
165 XZ-compressed tar archives (bug#13770).
166
d8d2d18a
BG
1672013-02-20 Bastien Guerry <bzg@gnu.org>
168
3bf1099f
UM
169 * outline.el (outline-regexp, outline-heading-end-regexp):
170 Make variables, not options (bug#13731).
d8d2d18a 171
1dfcc79e
GM
1722013-02-20 Glenn Morris <rgm@gnu.org>
173
dc504515
GM
174 * image.el (image-current-frame): Change from variable to function.
175 (image-show-frame): Rename from image-nth-frame. Update callers.
176 * image-mode.el (image-multi-frame): New variable.
177 (image-mode-map, image-mode, image-goto-frame):
178 Use image-multi-frame rather than image-current-frame.
179 (image-mode, image-goto-frame): Use image-current-frame as
180 function rather than as variable.
181
1dfcc79e
GM
182 * emacs-lisp/cl-lib.el (cl-floatp-safe): Make it an alias for floatp.
183 * emacs-lisp/cl-macs.el (cl--make-type-test)
184 (cl--compiler-macro-assoc): Use floatp rather than cl-floatp-safe.
185
81ed22e4
MA
1862013-02-19 Michael Albinus <michael.albinus@gmx.de>
187
188 * net/tramp-cache.el (tramp-get-hash-table): New defun.
189 (tramp-get-file-property, tramp-set-file-property)
190 (tramp-get-connection-property, tramp-set-connection-property): Use it.
191 (tramp-flush-file-property, tramp-flush-directory-property):
192 Rename argument to KEY.
193 (tramp-flush-connection-property): Simplify a little bit.
194 (tramp-connection-property-p): New defun.
195 (top): Reapply saved values only if there isn't a corresponding
196 entry in `tramp-connection-properties'.
197
2af3b9c1
FEG
1982013-02-19 Fabián Ezequiel Gallina <fgallina@cuca>
199
872faefb
GM
200 * progmodes/python.el (python-indent-context):
201 Fix python-info-line-ends-backslash-p call.
2af3b9c1 202 (python-info-line-ends-backslash-p)
872faefb
GM
203 (python-info-beginning-of-backslash): Respect line-number argument.
204 (python-info-current-line-comment-p):
205 Fix behavior when not at beginning-of-line.
2af3b9c1
FEG
206 (python-util-position): Remove function.
207 (python-util-goto-line): New function.
208
872faefb 2092013-02-19 Michael Albinus <michael.albinus@gmx.de>
c9bcc580
MA
210
211 * eshell/em-unix.el (eshell/su): Require tramp.
212 (eshell/sudo): Require tramp. Remove now unnecessary check.
213
214 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Let-bind
215 `tramp-current-connection' in order to avoid an error when several
216 commands are invoked in a short time in eshell and friends.
217
8ca4f1e0
SM
2182013-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
219
220 Cleanup some of EIEIO's namespace.
221 * emacs-lisp/eieio.el (eieio--define-field-accessors): New macro.
222 Use it to define all the class-* and object-* field accessors (renamed
223 to eieio--class-* and eieio--object-*). Update all uses.
224 (eieio--class-num-slots, eieio--object-num-slots): Rename from
225 class-num-slots and object-num-slots.
226 (eieio--check-type): New macro.
227 (eieio-defclass, eieio-oref, eieio-oref-default, same-class-p)
228 (object-of-class-p, child-of-class-p, object-slots, class-slot-initarg)
229 (eieio-oset, eieio-oset-default, object-assoc, object-assoc-list)
230 (object-assoc-list-safe): Use it.
231 (eieio-defclass): Tighten regexp.
232 (eieio--defmethod): Use `memq'. Signal an error for unknown method kind.
233 Remove unreachable code.
234 (object-class-fast): Declare obsolete.
235 (eieio-class-name, eieio-object-name, eieio-object-set-name-string)
236 (eieio-object-class, eieio-object-class-name, eieio-class-parents)
237 (eieio-class-children, eieio-class-precedence-list, eieio-class-parent):
238 Rename from class-name, object-name, object-set-name-string,
239 object-class, object-class-name, class-parents, class-children,
240 class-precedence-list, class-parent; with obsolete alias.
241 (class-of, class-direct-superclasses, class-direct-subclasses):
242 Declare obsolete.
243 (eieio-defmethod): Use `memq'; remove unreachable code.
244 * emacs-lisp/eieio-base.el (eieio-persistent-read):
245 * emacs-lisp/eieio-opt.el (eieio-class-button, eieio-describe-generic)
246 (eieio-browse-tree, eieio-browse): Use eieio--check-type.
247
248
587feed4
MH
2492013-02-18 Michael Heerdegen <michael_heerdegen@web.de>
250
251 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument):
252 Use font-lock-keyword-face for macros and special forms (bug#8345).
253
a51e9ff7 2542013-02-17 Didier Verna <didier@didierverna.net>
e5b246e9
DV
255
256 * net/network-stream.el (network-stream-open-starttls):
257 Check that response to the starttls-command is non-nil. (Bug#13706)
258
913274cb
SM
2592013-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
260
261 * font-lock.el (lisp-font-lock-keywords-1, lisp-font-lock-keywords-2):
262 Don't assume all identifier chars have syntax word.
263 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
264 Remove bar-not-symbol. Adjust callers.
265 (lisp-mode-variables): Don't set a font-lock-syntax-table.
266
53db1d8b
LL
2672013-02-17 Leo Liu <sdl.web@gmail.com>
268
269 * net/rcirc.el (rcirc-keepalive): Fix invalid timer error.
270
e630f18a
GM
2712013-02-17 Glenn Morris <rgm@gnu.org>
272
1bb1e038
GM
273 * menu-bar.el (menu-bar-tools-menu): Fix case of EDE entry.
274
f05e2ff2
GM
275 * image-mode.el (image-mode-map): Add image-dired menu entry.
276
e630f18a
GM
277 * image-dired.el (tumme): Make this alias obsolete.
278
783b7b75
GM
2792013-02-16 Glenn Morris <rgm@gnu.org>
280
ed8d7fca
GM
281 * image.el (image-animated-types): Remove.
282 (image-multi-frame-p): Rename from image-animated-p, and generalize.
283 (image-animated-p): Make obsolete alias.
284 (image-animate, image-nth-frame, image-animate-timeout):
285 Use image-multi-frame-p.
286 (image-animate-timeout): If no delay, use image-default-frame-delay.
287 * image-mode.el (image-mode, image-toggle-animation):
288 Use image-multi-frame-p. (Bug#763, bug#10739)
289 (image-mode): Adjust startup message for a multi-frame image.
290
783b7b75
GM
291 * image-mode.el (image-mode-map): Give it a menu.
292
61addbc2
MA
2932013-02-16 Michael Albinus <michael.albinus@gmx.de>
294
295 * net/tramp-cache.el (tramp-connection-properties): New customer
296 option.
297 (tramp-get-connection-property): Use it.
298
299 * net/tramp-compat.el (top): Require 'trampver.
300
913274cb
SM
301 * net/tramp-sh.el (tramp-remote-process-environment):
302 Set tramp-autoload cookie.
61addbc2 303
a9bc03e2
KR
3042013-02-16 Kevin Ryde <user42@zip.com.au>
305
306 * info-look.el (info-lookup-select-mode): If major-mode has no
307 info-lookup-alist entry then search up derived-mode-parent (bug#8660).
308
2b0afdd9
J
3092013-02-16 Jambunathan K <kjambunathan@gmail.com>
310
311 * replace.el (read-regexp): Tighten the regexp that matches tag.
312 When tag is retrieved with `find-tag-default', use regexp that
313 matches tag at point. Also update docstring (Bug#13687).
314
a7a84eea
EZ
3152013-02-16 Eli Zaretskii <eliz@gnu.org>
316
317 * autorevert.el (auto-revert-notify-add-watch): With 'w32notify',
318 add watch for the file, not its parent directory, since w32notify
319 sets up the watch for the directory internally. (Bug#13725)
320
c0211c4e
GM
3212013-02-16 Glenn Morris <rgm@gnu.org>
322
99e619b6
GM
323 * image.el (image-default-frame-delay): New variable.
324 (image-animated-p): Use image-default-frame-delay.
325 (image-minimum-frame-delay): New constant.
326 (image-animate-timeout): Use image-minimum-frame-delay.
327
c0211c4e
GM
328 * image.el (image-nth-frame): New, split from image-animate-timeout.
329 (image-animate-timeout): Use image-nth-frame.
330 * image-mode.el (image-goto-frame, image-next-frame)
331 (image-previous-frame): New commands.
332 (image-mode-map): Add new frame commands.
333
6b6d804b
JB
3342013-02-16 Jonas Bernoulli <jonas@bernoul.li>
335
336 * emacs-lisp/tabulated-list.el (tabulated-list-print-col):
337 If col-desc already has help-echo, use it. (Bug#13563)
338
ef5ae980
GM
3392013-02-16 Glenn Morris <rgm@gnu.org>
340
bb9dfee1
GM
341 * image.el (image-current-frame): New variable.
342 (image-animate-timeout): Set image-current-frame.
343 * image-mode.el (image-mode): For animated images,
344 display a frame counter via mode-line-process.
345
ef5ae980
GM
346 * font-lock.el (lisp-font-lock-keywords-1): Add defvar-local.
347
6c8f113e
SM
3482013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
349
350 * simple.el (eval-expression): Let `exp' set the mark (bug#13724).
351
f852f6d8
AM
3522013-02-15 Alan Mackenzie <acm@muc.de>
353
354 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): When a
355 global minor mode has been enabled, call the minor mode function
356 for a new buffer once only, after the major mode hook, whilst
357 allowing that hook explicitly to disable the minor mode.
6c8f113e
SM
358 (MODE-disable-in-buffer): New (generated) function.
359 (disable-MODE): New (generated) buffer local variable.
f852f6d8 360
d7e76a89
J
3612013-02-15 Jambunathan K <kjambunathan@gmail.com>
362
363 * iswitchb.el (iswitchb-read-buffer): Bind `C-.' and `C-,' to
364 `iswitchb-next-match' and `iswitchb-prev-match' resply.
d7e76a89
J
365 * ido.el (ido-init-completion-maps): Bind `C-.' and `C-,' to
366 `ido-next-match' and `ido-prev-match' resply.
d7e76a89
J
367 * icomplete.el (icomplete-minibuffer-map): Unbind `C-s' and `C-r'.
368 Bind `C-.' and `C-,' to `icomplete-forward-completions' and
369 `icomplete-backward-completions' (Bug#13708).
370
ef5ae980 3712013-02-15 Glenn Morris <rgm@gnu.org>
9e16c3b4
GM
372
373 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
374
648e5523 3752013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
213ac168
SM
376
377 * net/goto-addr.el (goto-address-fontify): Add start and end args.
378 (goto-address-fontify-region): Use them instead of narrowing, so
379 syntax-ppss has access to the whole buffer.
380
648e5523 3812013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
ea5f4192
FEG
382
383 * progmodes/python.el: Explain how to restore "cc-mode"-like
384 forward-sexp movement in header documentation (Bug#13642).
385 (python-nav--forward-sexp): Behave like emacs-lisp-mode in
386 comments and strings (GH bug 114).
387
648e5523 3882013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
5cd3d1e5
FEG
389
390 * progmodes/python.el (python-info-current-defun): Fix current
391 defun detection (Bug#13618).
392
648e5523 3932013-02-15 Chong Yidong <cyd@gnu.org>
a1d23eb5
CY
394
395 * xml.el (xml-parse-string): Fix typo in handling of bad character
396 references.
397
dec2a322
GM
3982013-02-15 Glenn Morris <rgm@gnu.org>
399
400 * play/fortune.el (fortune-compile): Simplify and fix previous change.
401
5267e6d3
MA
4022013-02-14 Michael Albinus <michael.albinus@gmx.de>
403
6c8f113e
SM
404 * net/tramp.el (tramp-debug-message):
405 Add `tramp-condition-case-unless-debug'.
5267e6d3
MA
406 (tramp-debug-on-error): New defvar.
407 (tramp-condition-case-unless-debug): New defun.
408 (tramp-file-name-handler): Use it.
409
f6b6e113
JL
4102013-02-14 Juri Linkov <juri@jurta.org>
411
412 * info.el (Info-isearch-filter): Treat non-nil values of
413 `search-invisible' including its default value `open'
414 like the value `t' to match hidden text. (Bug#13402)
415
6a378d89
GM
4162013-02-14 Glenn Morris <rgm@gnu.org>
417
418 * help-fns.el (find-lisp-object-file-name): Give special treatment
419 to all ~/.foo.elc files, not just ~/.emacs. (Bug#9007)
420
3ca2c015
DB
4212013-02-14 David Biesack <sasdjb@d72933.na.sas.com> (tiny change)
422
423 * net/quickurl.el (quickurl-save-urls):
424 Ensure quickurl-urls is not truncated on printing. (Bug#9276)
425
53ca88c4
DG
4262013-02-14 Dmitry Gutov <dgutov@yandex.ru>
427
428 * progmodes/ruby-mode.el (ruby-parse-partial): Don't increase
429 depth for unfinished percent literal. Not using it in the caller.
430 (ruby-move-to-block): Jump over multiline literals of all types,
431 ignoring code-looking contents inside them.
71a048c1
DG
432 (ruby-add-log-current-method): Improve performance at the expense
433 of accuracy. `ruby-block-contains-point' is relatively slow, so
434 only use it for method and singleton class blocks.
53ca88c4 435
d7291032
MA
4362013-02-13 Michael Albinus <michael.albinus@gmx.de>
437
438 Use ControlMaster where applicable. (Bug#13677)
439
440 * net/tramp.el (tramp-ssh-controlmaster-template): New defvar,
441 replacing `tramp-detect-ssh-controlmaster'.
442 (tramp-default-method): Use it.
443
444 * net/tramp-sh.el (tramp-methods) [scp, scp1, scp2, scpx, sftp]:
445 [rsync, ssh, ssh1, ssh2, sshx]: Add ControlPath and ControlMaster
446 arguments.
447 [scpc, rsyncc]: Remove methods.
448 (top): Remove completion functions for "scpc", "rsyncc", "ssh1_old"
449 and "ssh2_old".
450 (tramp-do-copy-or-rename-file-out-of-band): Change trace level.
451 (tramp-maybe-open-connection): Reuse tmpfile for ControlPath.
452
1ead7dbd
SM
4532013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
454
455 * emacs-lisp/package.el (package--initialized): Move before first use.
456
5cbfe5b9
J
4572013-02-13 Jambunathan K <kjambunathan@gmail.com>
458
459 * icomplete.el (icomplete-hide-common-prefix): New user option.
460 (icomplete-first-match): New face.
461 (icomplete-completions): Correct handling of "complete but not
462 unique" (Bug#12638).
463
67f3e54a
YQ
4642013-02-13 YE Qianchuan <stool.ye@gmail.com> (tiny change)
465
466 * descr-text.el (describe-char): Display the script (bug#13698).
467
4d0463b9
SM
4682013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
469
470 * tmm.el: Use lexical-binding and current-active-maps.
471 (tmm-menubar): Use map-keymap and pcase.
472 (tmm--completion-table): New function.
473 (tmm-prompt): Use it to fix the menu order.
474 (tmm-get-keybind): Use current-active-maps.
475
a2a538b1
CS
4762013-02-12 Christopher Schmidt <christopher@ch.ristopher.com>
477
478 Add dired-hide-details-mode. (Bug#6799)
479
480 * locate.el (locate-mode): Set parent mode property to dired-mode.
481
482 * find-dired.el (find-dired): Call dired-insert-set-properties on
483 initial information line. Set process mark on end of buffer.
484 (find-dired-sentinel):
485 Call dired-insert-set-properties on summary.
486
487 * dired.el (dired-hide-details-hide-symlink-targets)
488 (dired-hide-details-hide-information-lines): New options.
489 (dired-insert-directory):
490 Set properties after final treatment of output.
491 (dired-insert-set-properties):
492 Set dired-hide-details-* properties.
493 (dired-mode-map): Bind dired-hide-details-mode.
494 (dired-mode): Set buffer-invisibility-spec to a list.
495 (dired-next-line): Skip hidden lines.
496 (dired-previous-line): Use dired-next-line.
497 (dired-hide-details-mode): New minor mode.
498 (dired-hide-details-update-invisibility-spec): New function.
499
4e16ddf4
GM
5002013-02-13 Glenn Morris <rgm@gnu.org>
501
502 * play/yow.el: Move to obsolete/. (Bug#9384)
503
ef79c6ed
JL
5042013-02-13 Juri Linkov <juri@jurta.org>
505
506 * vc/ediff-util.el (ediff-recenter): Use `select-frame-set-input-focus'
507 to select `ediff-control-frame' and set input focus correctly on Xfce.
508 (Bug#12218)
509
9cec74cf
JL
5102013-02-13 Juri Linkov <juri@jurta.org>
511
512 * image-mode.el (image-mode-map):
513 * doc-view.el (doc-view-mode-map):
514 * vc/ediff-util.el (ediff-setup-keymap):
515 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
516
7132e457
DG
5172013-02-13 Dmitry Gutov <dgutov@yandex.ru>
518
519 * progmodes/ruby-mode.el (ruby-move-to-block): Improve
520 performance. Instead of recalculating indentation fully for each
521 line, sum up indentation depth based only on visited lines.
522 (ruby-parse-partial): Increase the depth after "do" even when END
523 is right after it.
524 (ruby-parse-partial): When END is in the middle of a percent
525 literal, increase the depth if the delimiter chars belong to the
526 paren syntax class.
527
3c4a4b23
KK
5282013-02-13 Kirill A. Korinskiy <catap@catap.ru>
529
530 * play/fortune.el (fortune-compile): Also make the compiled file
531 if it does not exist at all, not just if it is old. (Bug#5338)
532
eeb468da
GM
5332013-02-13 Glenn Morris <rgm@gnu.org>
534
535 * emacs-lisp/package.el (package-menu-execute): Doc fix.
536
5372013-02-13 Yves Baumes <ybaumes@gmail.com> (tiny change)
a7da0114
YB
538
539 * lisp/emacs-lisp/package.el (package-menu-execute):
540 Add optional noquery argument. (Bug#13625)
541
01fcc3a5 5422013-02-13 Michael Albinus <michael.albinus@gmx.de>
e08e7d91
MA
543
544 * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
545 if DIR exists and PARENTS is non-nil.
546
d6596b94
JB
5472013-02-13 Juanma Barranquero <lekktu@gmail.com>
548
549 * progmodes/js.el (js--multi-line-declaration-indentation):
550 Silence byte-compiler warning.
551
f1f05871
MA
5522013-02-12 Michael Albinus <michael.albinus@gmx.de>
553
554 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite.
555
556 * net/tramp-compat.el (top): Declare `remote-file-name-inhibit-cache'
557 only if it doesn't exist.
558
6c8f113e
SM
559 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
560 Set process marker.
f1f05871 561
62c0e847
TH
5622013-02-12 Tassilo Horn <tsdh@gnu.org>
563
564 * doc-view.el (doc-view-odf->pdf-converter-soffice): Use separate
565 UserInstallation when calling soffice to work around LibreOffice
566 bug 37531.
567
958614cf
GM
5682013-02-12 Glenn Morris <rgm@gnu.org>
569
0b244335
GM
570 * files.el (basic-save-buffer):
571 Offer to create a non-existing directory. (Bug#3016)
572
958614cf
GM
573 * calc/calc-graph.el (calc-graph-show-dumb):
574 * calendar/calendar.el (calendar-mode-map):
575 * cus-edit.el (custom-mode-map):
576 * ehelp.el (electric-help-map):
577 * emulation/vip.el (vip-mode-map):
578 * epa.el (epa-key-list-mode-map):
579 * info.el (Info-mode-map):
580 * mail/rmail.el (rmail-mode-map):
581 * mail/rmailsum.el (rmail-summary-mode-map):
582 * man.el (Man-mode-map):
583 * net/newst-plainview.el (newsticker-mode-map):
584 * progmodes/cpp.el (cpp-edit-mode-map):
585 * progmodes/grep.el (grep-mode-map):
586 * progmodes/idlw-help.el (idlwave-help-mode-map):
587 * simple.el (special-mode-map):
588 * startup.el (splash-screen-keymap):
589 * view.el (view-mode-map):
590 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
591
4fa60c54
EP
5922013-02-11 Elias Pipping <pipping@lavabit.com>
593
594 * doc-view.el (doc-view-current-cache-dir): Beware % escapes
7e561c10 595 (bug#13679).
4fa60c54 596
99d0d6dc
SM
5972013-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
598
599 * cus-start.el (all): Remove inhibit-local-menu-bar-menus.
600
31db8c31
GM
6012013-02-11 Glenn Morris <rgm@gnu.org>
602
5109429f
GM
603 * vc/diff.el (diff-use-labels): New variable.
604 (diff-no-select): Use --label rather than -L, and first
605 check that it is supported. (Bug#11067)
606
97a1cd9d
GM
607 * files.el (enable-dir-local-variables): New variable.
608 (hack-dir-local-variables): Respect enable-dir-local-variables.
609 * tutorial.el (help-with-tutorial):
610 Ignore directory-local variables. (Bug#11127)
611
31db8c31
GM
612 * vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
613 (vc-svn-global-switches): ... to here. (Bug#13513)
614
2f108463
CS
6152013-02-10 Christopher Schmidt <christopher@ch.ristopher.com>
616
99d0d6dc
SM
617 * minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
618 Handle "foo (bar, default: xxx): " prompts.
2f108463 619
490a9458 6202013-02-10 Chong Yidong <cyd@gnu.org>
e78e7e48 621
0ccdf61e
CY
622 * files.el (basic-save-buffer-1): Do not set
623 buffer-file-coding-system-explicit (Bug#4533).
624
e78e7e48
CY
625 * mail/emacsbug.el (report-emacs-bug): Change binding of
626 report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
627
5d9c6f17
JB
6282013-02-09 Jay Belanger <jay.p.belanger@gmail.com>
629
630 * calc/calc.el (calc-allow-units-as-numbers): New variable.
631 * calc/calc-units.el (calc-convert-units): Use new variable.
632
8549f9e8
EZ
6332013-02-09 Eli Zaretskii <eliz@gnu.org>
634
2d050423
EZ
635 * subr.el (buffer-file-type, default-buffer-file-type): Remove.
636
8549f9e8
EZ
637 * net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
638 buffer-file-type.
639
640 * mail/feedmail.el (feedmail-force-binary-write): Doc fix.
641 (feedmail-run-the-queue, feedmail-dump-message-to-queue)
642 (feedmail-send-it-immediately): Don't bind buffer-file-type, bind
643 coding-system-for-write instead.
644
645 * jka-compr.el (jka-compr-write-region): Don't bind
646 buffer-file-type.
647
648 * emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
649 buffer-file-type.
650
651 * files.el (file-name-buffer-file-type-alist): Remove defvar.
652 (insert-file-contents-literally): Remove reference to
653 file-name-buffer-file-type-alist.
654
655 * dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
656 make-obsolete.
657 (find-buffer-file-type-match, find-buffer-file-type): Remove.
658 (find-buffer-file-type-coding-system): Remove references to
659 find-buffer-file-type-match, find-buffer-file-type, and
660 buffer-file-type.
661 Don't put find-buffer-file-type-coding-system into
662 file-coding-system-alist.
663 (find-file-binary, find-file-text): Bind coding-system-for-read
664 instead of file-name-buffer-file-type-alist.
665
9cbab8d6 6662013-02-09 Jambunathan K <kjambunathan@gmail.com>
f63f9398
TH
667
668 * doc-view.el: Use (and prefer) soffice as default ODF->PDF
9cbab8d6
GM
669 converter (Bug#13622).
670 (doc-view-unoconv-program): Make obsolete alias.
f63f9398
TH
671 (doc-view-odf->pdf-converter-program): New variable.
672 (doc-view-odf->pdf-converter-function): New variable.
673 (doc-view-mode-p): Use it.
9cbab8d6
GM
674 (doc-view-odf->pdf-converter-unoconv):
675 Rename from `doc-view-odf->pdf-converter-unoconv'.
f63f9398 676 (doc-view-odf->pdf-converter-soffice): New function.
9cbab8d6
GM
677 (doc-view-convert-current-doc):
678 Use `doc-view-odf->pdf-converter-function'.
f63f9398 679
044a9eac
CY
6802013-02-09 Chong Yidong <cyd@gnu.org>
681
123ecb68
CY
682 * minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to
683 view-echo-area-messages (Bug#13340).
684
685 * help.el (view-echo-area-messages): Use display-buffer.
686
044a9eac
CY
687 * dired-x.el (dired-do-run-mail): Prompt for confirmation
688 (Bug#13561).
689
1a601680
SM
6902013-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
691
7f526211
SM
692 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
693 Eval body right away, now that we do eager macroexpansion (bug#13605).
694
c9586acc
SM
695 * simple.el (end-of-buffer): Don't touch unrelated windows (bug#13466).
696 (fundamental-mode): Use run-mode-hooks.
697
1a601680
SM
698 * eshell/esh-proc.el (eshell/kill): Fix last change.
699 * eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
700
276a61a6
AG
7012013-02-08 Aidan Gauland <aidalgol@no8wireless.co.nz>
702
703 * eshell/esh-proc.el (eshell/kill): Rewrite.
704
705 * eshell/em-ls.el (show-almost-all): Declare.
706 (eshell-do-ls): Add support for -A argument.
707
6130b96a
J
7082013-02-08 Jambunathan K <kjambunathan@gmail.com>
709
710 * icomplete.el (icomplete-forward-completions)
711 (icomplete-backward-completions): Handle corner case (bug#13602).
712
fed00072
MA
7132013-02-07 Michael Albinus <michael.albinus@gmx.de>
714
715 * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
716 be nil. Handle this. (Bug#13636)
717
469c5a60
RS
7182013-02-07 Richard Stallman <rms@gnu.org>
719
720 * mail/rmail.el (rmail-variables): Specify `no-conversion' for
721 `save-buffer-coding-system'.
722
8c4b24b2 7232013-02-07 Alan Mackenzie <acm@muc.de>
d23b0804 724
8c4b24b2 725 Fix bug in state cache mechanism. Remove 'BOD "strategy". Refactor.
d23b0804
AM
726 * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
727 (c-parse-state-get-strategy): Don't return 'BOD any more.
8c4b24b2
GM
728 (c-append-lower-brace-pair-to-state-cache):
729 Extra parameter HERE instead of narrowing.
730 Widen to top of buffer before searching backwards for a brace pair.
731 (c-state-push-any-brace-pair): Add HERE parameter to function call.
732 (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
733 Narrow to parameter HERE, in place of being called narrowed.
d23b0804
AM
734 (c-remove-stale-state-cache): Extra parameter HERE in place of
735 narrowing. Check there's an open brace in the cache before
736 searching for its match.
737 (c-invalidate-state-cache-1): Add HERE parameter to function call.
738 (c-parse-state-1): Don't narrow here for 'forward strategy,
8c4b24b2
GM
739 instead passing extra parameter HERE to several functions.
740 Remove 'BOD strategy.
d23b0804 741
55b056ba
NR
7422013-02-06 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
743
744 * emacs-lisp/package.el (describe-package-1): Tell what archive is
745 used to install the package.
746
e86762ec
GM
7472013-02-06 Glenn Morris <rgm@gnu.org>
748
5fd03926
GM
749 * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
750 if we can't get user input. (Bug#6567)
751
e86762ec
GM
752 * startup.el (command-line): If simple.el is missing,
753 test and warn about for some possible causes.
754
6871e574
JD
7552013-02-05 Jan Djärv <jan.h.d@swipnet.se>
756
757 * cus-start.el (all): Add ns-use-native-fullscreen.
758
3505fa02
GM
7592013-02-05 Glenn Morris <rgm@gnu.org>
760
ed746aa7
GM
761 * profiler.el (profiler-report-mode-map): Add a restart menu entry.
762
3505fa02
GM
763 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
764 Fix directory creation in fallback case.
765
50fdf399
TV
7662013-02-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
767
768 * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
769 (vc-update-change-log): Use dolist.
770
6e5c1569
CY
7712013-02-04 Chong Yidong <cyd@gnu.org>
772
773 * thingatpt.el: Rewrite the URL detection routines, absorbing some
774 code from ffap.el.
775 (thing-at-point-beginning-of-url-regexp): New var.
776 (thing-at-point-uri-schemes): Update list of URI schemes.
777 (thing-at-point-url-regexp): Variable deleted.
778 (thing-at-point-markedup-url-regexp): Disallow newlines.
779 (thing-at-point-newsgroup-regexp)
780 (thing-at-point-newsgroup-heads)
781 (thing-at-point-default-mail-uri-scheme): New variables.
782 (thing-at-point-bounds-of-url-at-point): Rewrite. Use ffap's
50fdf399
TV
783 method to find the possible bounds of the URI at point.
784 New optional argument to find ill-formed URIs.
6e5c1569
CY
785 (thing-at-point-url-at-point): Rewrite. New arguments for finding
786 ill-formed URIs. Use thing-at-point-bounds-of-url-at-point, and
787 the scheme-adding heuristics from ffap-url-at-point.
50fdf399
TV
788 (thing-at-point--bounds-of-well-formed-url): New function.
789 Do parens matching to decide whether to include parens in the URI
6e5c1569
CY
790 (Bug#9153).
791
792 * ffap.el: Require thingatpt.
793 (ffap-url-at-point): Delegate URI detection to thing-at-point.
794 All URI-valid characters are now recognized (Bug#5673).
795 (ffap-string-at-point): Use use-region-p.
796 (ffap-url-regexp): Extra character is handled by thing-at-point.
797 (ffap-string-at-point-mode-alist): Allow parentheses.
798 (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
799 Convert to aliases; code moved to thingatpt.el.
800 (ffap-gnus-hook): Use setq-local.
801
84a06b50
GM
8022013-02-04 Glenn Morris <rgm@gnu.org>
803
804 * emacs-lisp/ert.el (ert--explain-format-atom):
805 Don't try to print non-characters as characters. (Bug#13543)
806
5870b2b1
MA
8072013-02-03 Michael Albinus <michael.albinus@gmx.de>
808
809 * net/tramp.el (tramp-debug-message): Extend function exclude list.
810 (tramp-backtrace): New defun.
811 (tramp-handle-insert-file-contents): Use `visit' when inserting
812 the local copy.
813
50fdf399
TV
814 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
815 Use `remote-file-name-inhibit-cache'.
5870b2b1 816
659a9010
SM
8172013-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
818
4813c453
SM
819 * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
820 (bug#13614).
821
659a9010
SM
822 * subr.el (internal--called-interactively-p--get-frame): Avoid filling
823 current-load-list (bug#13366).
824
35114711
CS
8252013-02-02 Christopher Schmidt <christopher@ch.ristopher.com>
826
827 * progmodes/compile.el (compilation-error-regexp-alist-alist):
828 Identify g++ template instantiation trace. (Bug#12287)
85a83ea0
CS
829 (compilation-mode-hook, compilation-start-hook)
830 (compilation-window-height): Simplify docstrings. (Bug#13379)
35114711 831
94fbc901 8322013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
13841bfc
SM
833
834 * mouse.el (mouse-drag-track): Always deactivate the mark before
835 running the final event's command since that command is in charge of
836 activating the mark if needed (bug#13523).
837
94fbc901 8382013-02-02 Juri Linkov <juri@jurta.org>
dc2bc295
JL
839
840 * replace.el (perform-replace): Move let-bindings of isearch-*
841 variables deeper to the loop that searches for the next match.
842 Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
843 Use `isearch-search-fun-default' instead of `isearch-search-fun'.
844 (Bug#13579)
845
846 * isearch.el (isearch-search-fun-default): Check for null
847 first element of isearch-cmds as a precaution when it's used
848 with inactive isearch.
849
94fbc901 8502013-02-02 Andrew W. Nosenko <andrew.w.nosenko@gmail.com> (tiny change)
f864e0ea
AN
851
852 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
853 error when buffer in question is narrowed so position 1 is out of
854 visible part.
855
94fbc901 8562013-02-02 Glenn Morris <rgm@gnu.org>
fb77fe0f
GM
857
858 * textmodes/remember.el (remember-clipboard): Doc fix.
859
94fbc901 8602013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
c517ec69
SM
861
862 * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
863 properties (bug#13179).
864
98da8c0f
JL
8652013-02-02 Juri Linkov <juri@jurta.org>
866
867 * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
868 instead of hard-coded default face `match'. (Bug#9438)
869
7b6d5ecf
CS
8702012-02-01 Christopher Schmidt <christopher@ch.ristopher.com>
871
af314ba0
CS
872 * vc/vc-arch.el (vc-arch-registered):
873 * vc/vc-bzr.el (vc-bzr-registered):
874 * vc/vc-cvs.el (vc-cvs-registered):
875 * vc/vc-git.el (vc-git-registered):
876 * vc/vc-hg.el (vc-hg-registered):
877 * vc/vc-mtn.el (vc-mtn-registered):
878 * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
879 (Bug#13139)
880
7b6d5ecf
CS
881 * info.el (Info-next-reference, Info-prev-reference): Add numeric
882 prefix argument. (Bug#11656)
883
686d9fb6
SM
8842013-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
885
886 * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
887
48c828b9
GM
8882013-02-01 Glenn Morris <rgm@gnu.org>
889
1f4f0f46
GM
890 * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
891 if the backend is known not to support it.
892
48c828b9
GM
893 * imenu.el (imenu-default-create-index-function):
894 Tweak infinite loop test to check for forward motion as well as none.
895
cd87ae10
AH
8962013-02-01 Alex Harsanyi <AlexHarsanyi@gmail.com>
897
898 * net/soap-client.el (soap-invoke): Encode the string for
686d9fb6
SM
899 `url-request-data' as UTF-8.
900 Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
cd87ae10 901
86e100a6
GM
9022013-02-01 Glenn Morris <rgm@gnu.org>
903
904 * calc/calc-help.el (calc-view-news): Use view-emacs-news.
905
0eb61895
GM
906 * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
907
61642d9a
MA
9082013-01-31 Michael Albinus <michael.albinus@gmx.de>
909
910 * net/tramp.el (tramp-tramp-file-p): Comment check for
911 `string-as-unibyte'. The function does not exist on XEmacs, and
912 likely we need another approach.
913
914 * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
915 `tramp-gw-*' variables are bound.
916
9dbda100
GM
9172013-01-31 Glenn Morris <rgm@gnu.org>
918
919 * files.el (basic-save-buffer-2): Choose coding system for
920 writing the file before backing it up, to reduce delay between
921 backing up and writing the new version. (Bug#13522)
922
ad4de702
MN
9232013-01-31 Michal Nazarewicz <mina86@mina86.com>
924
925 * simple.el (cycle-spacing): New command.
926 (just-one-space): Use it.
927
9ca243c6
SM
9282013-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
929
c4f268a1
SM
930 * progmodes/opascal.el: Rename from delphi.el. Use lexical-binding.
931 (opascal-newline-always-indents): Remove custom.
932 (opascal-tab, opascal-newline): Remove commands.
933 (opascal-new-comment-line): Insert "\n" instead of calling newline.
934 (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
935 (opascal-save-match-data): Remove, use save-match-data instead.
936 (opascal-save-state): Use with-silent-modifications.
937
9ca243c6
SM
938 * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
939 (bug#13585).
940
64ced394
JL
9412013-01-30 Juri Linkov <juri@jurta.org>
942
943 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
944 Use fullboth as an alias for fullscreen. Suggested by Jan Djärv in
945 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
946
c56d2269
SM
9472013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
948
949 * progmodes/make-mode.el (makefile-backslash-region): Don't compute
950 column if we're just deleting the backslashes.
951 (makefile-fill-paragraph): Use eolp.
952
382936d1
MA
9532013-01-30 Michael Albinus <michael.albinus@gmx.de>
954
955 * autorevert.el (auto-revert-use-notify): Fix docstring.
956
dd331297
LL
9572013-01-30 Leo Liu <sdl.web@gmail.com>
958
686d9fb6 959 * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
dd331297 960
c491dd70
GM
9612013-01-30 Glenn Morris <rgm@gnu.org>
962
963 * mouse.el (mouse-drag-line): Avoid pushing same event onto
964 unread-command-events twice in some cases. This tries to implement
965 the 2012-07-26 changes in a different way. (Bug#13560)
966
6ff930c3
FEG
9672013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
968
969 * progmodes/python.el
970 (python-pdbtrack-comint-output-filter-function): Enhancements on
971 stacktrace detection. (thanks @gnovak)
972
1d4e7225
SM
9732013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
974
975 * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
976 (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
977 Use defvar-local.
978 (jit-lock-register): Use setq-local.
979
7c3fb76f
JB
9802013-01-30 Jay Belanger <jay.p.belanger@gmail.com>
981
982 * calc-units.el (math-default-units-table): Remove initial value.
983 (calc-convert-units): Treat expressions where all the units cancel as
984 if they didn't have units.
985
8bc8712e
MA
9862013-01-30 Michael Albinus <michael.albinus@gmx.de>
987
988 * net/tramp.el (tramp-process-connection-type): Fix docstring.
989 (tramp-completion-reread-directory-timeout): Fix type.
990 (tramp-connection-min-time-diff): New defcustom.
991
992 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
993
1886a16d
GM
9942013-01-30 Glenn Morris <rgm@gnu.org>
995
996 * imenu.el (imenu-default-create-index-function):
997 Put back a version of the infinite loop test removed 2013-01-23.
998
3f82a88a 9992013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
e4497086 1000
1d4e7225
SM
1001 * progmodes/python.el (python-shell-parse-command):
1002 Find python-shell-interpreter with modified environment.
e4497086 1003
3f82a88a 10042013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
beb6d07d
SM
1005
1006 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
1007
953e5b8c
AM
10082013-01-29 Alan Mackenzie <acm@muc.de>
1009
1010 Amend to fontify /regexp/s in actions correctly.
1011 * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
1d4e7225 1012 (c-awk-harmless-string*-here-re): Braces, parens and semicolons
953e5b8c
AM
1013 are no longer included.
1014 (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
1015 What used to be these variables without "-line" in the name.
686d9fb6 1016 (c-awk-neutral-re): { is no longer neutral. Escaped newlines now are.
953e5b8c
AM
1017 (c-awk-non-arith-op-bra-re): Now also matches {.
1018 (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
1019 "return", and "case".
1020 (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
1021 by /.
1022 (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
686d9fb6 1023 (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
953e5b8c 1024
1b69262a
MA
10252013-01-29 Michael Albinus <michael.albinus@gmx.de>
1026
1d4e7225
SM
1027 * autorevert.el (auto-revert-use-notify):
1028 Use `custom-initialize-default' for initialization. (Bug#13583)
2f52b560 1029
1b69262a
MA
1030 * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
1031
1d4e7225
SM
1032 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1033 Catch `suppress'. Otherwise, `tramp-run-real-handler' might be called
1b69262a 1034 in `tramp-file-name-handler'.
ea55064c
MA
1035 (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
1036 compatibility.
1037 (tramp-compute-multi-hops): Check, whether
1038 `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
1b69262a 1039
b2dc4f52
SM
10402013-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
1041
1042 * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
1043 (bug#13297).
1044
499572e4
DG
10452013-01-27 Dmitry Gutov <dgutov@yandex.ru>
1046
1047 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
1048 checks made superfluous by the \_< operator.
a324b8c7
DG
1049 * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
1050 temporarily) broken indentation.
b2dc4f52
SM
1051 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1052 Highlight nested constants, too. \_< broke that.
499572e4
DG
1053
10542013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
1055
1056 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
1057 instead of "\\b".
1058
629cb6ec
MA
10592013-01-27 Michael Albinus <michael.albinus@gmx.de>
1060
1061 * autorevert.el (auto-revert-handler): Notifications which result
1062 from a saved file shall not be taken into account. (Bug#13557)
1063
cc17363f
AS
10642013-01-26 Andreas Schwab <schwab@linux-m68k.org>
1065
1066 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
1067 parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
1068 (lisp-mode): Pass t for it. (Bug#13556)
1069
b7aea0ff
AM
10702013-01-25 Alan Mackenzie <acm@muc.de>
1071
1072 AWK Mode: Fix indentation bug at top level. Bug #12274.
1073
1074 * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
1075 just before CASE 5D.
1076
1314a64c
DA
10772013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
1078
1079 * net/socks.el (socks-nslookup-host): Use string-to-number.
1080
ef3544f6
MA
10812013-01-25 Michael Albinus <michael.albinus@gmx.de>
1082
1083 * autorevert.el (auto-revert-remote-files)
1084 (auto-revert-notify-exclude-dir-regexp): New defcustoms.
1085 (auto-revert-notify-enabled, auto-revert-use-notify)
1086 (auto-revert-notify-watch-descriptor-hash-list)
1087 (auto-revert-notify-modified-p, auto-revert-notify-event-p)
1088 (auto-revert-notify-event-descriptor)
1089 (auto-revert-notify-event-action)
1090 (auto-revert-notify-event-file-name): Doc fix.
1091 (global-auto-revert-mode): Reorder checks.
1092 (auto-revert-notify-rm-watch): Respect changed values of
1093 `auto-revert-notify-watch-descriptor-hash-list'.
1094 (auto-revert-notify-add-watch): Check for
1095 `auto-revert-notify-exclude-dir-regexp'. Adapt filters for
1096 `inotify-add-watch'. Watch `default-directory' instead of
1097 `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list'
1098 has a changed meaning now. (Bug#13540)
1099 (auto-revert-notify-handler): Change implementation wrt events
1100 returning from a directory.
1101 (auto-revert-handler): Reorder implementation for checks of remote
1102 files.
1103 (auto-revert-buffers): Fix parentheses error.
1104
830e46e6 11052013-01-25 Fabián Ezequiel Gallina <fgallina@cuca>
345f866e
FEG
1106
1107 * progmodes/python.el: Enhancements to header documentation about
1108 skeletons. (Bug#5716)
1109
ddc62155
FEG
1110 * imenu.el (imenu-default-create-index-function): Remove useless
1111 infinite loop check. (Bug#13438)
1112
830e46e6 11132013-01-25 Alan Mackenzie <acm@muc.de>
267eacb5
AM
1114
1115 Fix a bug in the state cache mechanism. Refactor this a bit.
1116
1117 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
1118 `cache-pos' element from the return value.
1119 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
1120 buffer to enable proper searching from beyond HERE. Amend the
1121 test for detecting the sought brace pair. Amend the value written
1122 to the "brace desert cache" when the brace isn't found.
1123 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
1124 and several other variables analogously.
1125 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
1126 parameter to a locally calculated variable.
1127 (c-parse-state-1): Change the calling conventions to the two
1128 defuns involving `cache-pos'.
1129
830e46e6 11302013-01-25 Chong Yidong <cyd@gnu.org>
4d4ddaa7
CY
1131
1132 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
1133
3d4147ba
BG
11342013-01-24 Aaron Ecay <aaronecay@gmail.com> (tiny change)
1135
1136 * paren.el (show-paren-function): Make sure to set 'priority and
1137 'face only if the overlay does exist.
1138
e1ffa412
MA
11392013-01-24 Michael Albinus <michael.albinus@gmx.de>
1140
1141 * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
1142
1143 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
1144 basic attributes.
1145 (tramp-sh-handle-set-file-acl): Improve error checking.
1146
5ad86e34
DA
11472013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
1148
1149 * doc-view.el (doc-view-display): Force mode line update until all
1150 document is converted. Suggested by Stefan Monnier (Bug#13164).
1151
d6f9c03f
BG
11522013-01-23 Bastien Guerry <bzg@gnu.org>
1153
1154 * paren.el (show-paren-function): Make sure an overlay exists
1155 before trying to delete it. Also use `pos' as a position only
1156 when it is an integer.
1157
3544e11a
DA
11582013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
1159
1160 * play/gametree.el (gametree-break-line-here): Use point-marker.
1161
19b50424
MA
11622013-01-22 Michael Albinus <michael.albinus@gmx.de>
1163
b2dc4f52
SM
1164 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
1165 Mark descriptive parts with `display' property.
19b50424 1166
7fd5a843
AM
11672013-01-21 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1168
1169 * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
1170 New variable to map standard dict names to hunspell ones.
1171 (ispell-set-spellchecker-params): Make sure specific dict names
1172 are used for standard dicts with hunspell.
1173
e6aff855
TH
11742013-01-21 Tassilo Horn <tsdh@gnu.org>
1175
1176 * textmodes/reftex-cite.el (reftex-format-citation): Add format
1177 chars for note (%N) and url (%U).
1178 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
1179
c84b0881
JL
11802013-01-21 Juri Linkov <juri@jurta.org>
1181
1182 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
1183 in addition to existing separate binding `meta f10' in `global-map'.
1184 (Bug#13484)
1185
a36e2d26
MA
11862013-01-21 Michael Albinus <michael.albinus@gmx.de>
1187
1188 Improve XEmacs compatibility.
1189
1190 * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
1191
1192 * net/tramp-adb.el (top): Require `time-date'.
1193 (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
b2dc4f52
SM
1194 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
1195 Use `tramp-file-name-handler'.
1196 (tramp-adb-maybe-open-connection):
1197 Use `tramp-compat-set-process-query-on-exit-flag'.
a36e2d26 1198
b2dc4f52
SM
1199 * net/tramp-sh.el (tramp-sh-handle-file-acl):
1200 Use `tramp-compat-funcall'.
a36e2d26
MA
1201
1202 * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
1203 `tramp-compat-funcall'.
1204
88c7dfa3
JH
12052013-01-21 Jürgen Hötzel <juergen@archlinux.org>
1206
1207 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
1208 reimplementation using "adb shell command ..." instead of running
1209 remote shell interactively.
1210
15df6fa4
GM
12112013-01-20 Glenn Morris <rgm@gnu.org>
1212
a576cc76
GM
1213 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
1214 Add native profiler menu entries.
1215
15df6fa4
GM
1216 * profiler.el (profiler-running-p): New function.
1217 (profiler-cpu-profile): Use profiler-running-p.
1218 (profiler-report-mode-map): Add some more menu entries.
1219
c4d1e0c3
GM
12202013-01-19 Glenn Morris <rgm@gnu.org>
1221
1222 * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
1223 fixes 2012-12-07 change. (Bug#13499)
1224
795e7a5b 12252013-01-19 Leo Liu <sdl.web@gmail.com>
2fc71e3c
LL
1226
1227 * dired.el (dired-get-marked-files): Prune erroneous values due to
1228 last change. (Bug#13152)
1229
795e7a5b 12302013-01-19 Glenn Morris <rgm@gnu.org>
19503d5a
GM
1231
1232 * progmodes/etags.el (tags-table-check-computed-list):
1233 Preserve point in tags buffer. (Bug#13412)
1234
f8a42ad6
GM
1235 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
1236
20de6ab6
CW
12372013-01-19 Christian Wittern <cwittern@gmail.com> (tiny change)
1238 Chong Yidong <cyd@gnu.org>
1239
b2dc4f52
SM
1240 * image-mode.el (image-next-file, image-previous-file):
1241 New commands (Bug#8453).
20de6ab6
CW
1242 (image-mode-map): Bind them to n and p.
1243 (image-mode--images-in-directory): New helper function.
1244
2a43515a
CY
12452013-01-19 Chong Yidong <cyd@gnu.org>
1246
1247 * image-mode.el (image-mode-fit-frame): Add a frame argument.
1248 Suggested by Drew Adams (Bug#7730). Handle window decorations;
1249 save and restore the old window configuration.
1250
b1170947
LL
12512013-01-18 Leo Liu <sdl.web@gmail.com>
1252
1253 * progmodes/js.el: Tweak autoload cookie for alias.
1254
0eb87688
MA
12552013-01-17 Michael Albinus <michael.albinus@gmx.de>
1256
1257 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
1258 buffer local, again. This was lost with the fix on 2013-01-12.
1259
99d36ea8
JH
12602013-01-17 Jürgen Hötzel <juergen@archlinux.org>
1261
1262 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
1263 order to support several eshell buffers in parallel.
1264
68a08a32
MA
12652013-01-17 Michael Albinus <michael.albinus@gmx.de>
1266
1267 * autorevert.el (auto-revert-use-notify): In the :set function, do
1268 not modify `kill-buffer-hook'.
b2dc4f52
SM
1269 (auto-revert-notify-rm-watch):
1270 Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
68a08a32
MA
1271 (auto-revert-notify-add-watch): Do not call
1272 `auto-revert-notify-rm-watch', but add it to a buffer local
1273 `kill-buffer-hook'.
1274
e59eee43
SM
12752013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
1276
1277 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
1278 call to `eval' rather than a backquoted lambda.
1279
6e8cd0ae
SM
12802013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
1281
cb9c0a53
SM
1282 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
1283 to return an explicit nil.
1284 (advice--remove-function): Change accordingly.
1285
1286 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
1287 the use of nadvice.el.
1288
6e8cd0ae
SM
1289 * progmodes/which-func.el (which-function): Silence imenu errors
1290 (bug#13433).
1291
4586ce8a
MM
12922013-01-15 Michael R. Mauger <mmaug@yahoo.com>
1293
6e8cd0ae 1294 * progmodes/sql.el: (sql-imenu-generic-expression):
4586ce8a
MM
1295 (sql-mode-font-lock-object-name): Match schema qualified names.
1296 (sql-connect): Use string keys.
1297 (sql-product-interactive): Wait for interpreter prompt.
1298 (sql-comint-oracle): Set process coding based on NLS_LANG.
1299
9d55215c
MM
13002013-01-15 Michael R. Mauger <mmaug@yahoo.com>
1301
1302 * progmodes/sql.el (sql-output-to-send): Remove, unused.
6e8cd0ae
SM
1303 (sql-interactive-remove-continuation-prompt):
1304 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
9d55215c 1305
57dd9e68
LL
13062013-01-14 Leo Liu <sdl.web@gmail.com>
1307
1308 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
1309 (Bug#13420)
1310
51e73492
GM
13112013-01-14 Glenn Morris <rgm@gnu.org>
1312
1313 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1314 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
1315
c0511b57 13162013-01-13 Fabián Ezequiel Gallina <fgallina@cuca>
50620051 1317
6e8cd0ae
SM
1318 * progmodes/python.el (python-nav-end-of-statement):
1319 Fix cornercase when handling multiline strings.
50620051 1320
4c0a6d4a
RS
13212013-01-13 Richard Stallman <rms@gnu.org>
1322
9f7e86ef
RS
1323 * mail/sendmail.el (mail-position-on-field): Add doc string.
1324
6e8cd0ae
SM
1325 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
1326 Get current message boundaries and pass them to
4c0a6d4a
RS
1327 message-forward-make-body-mime. Minor style changes.
1328
ad33a799
EZ
13292013-01-13 Eli Zaretskii <eliz@gnu.org>
1330
1331 * cus-start.el (all): Avoid warnings about
6e8cd0ae 1332 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
ad33a799 1333
616763d5
JD
13342013-01-11 Jan Djärv <jan.h.d@swipnet.se>
1335
1336 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
1337
e5b5a34d
SM
13382013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1339
1340 * jit-lock.el (jit-lock-debug-mode): New minor mode.
1341 (jit-lock--debug-fontifying): New var.
1342 (jit-lock--debug-fontify): New function.
1343 * subr.el (condition-case-unless-debug): Don't prevent catching the
1344 error, just let the debbugger run.
1345 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
1346 timer code and don't drop errors silently.
1347
2daddd9e
MA
13482013-01-12 Michael Albinus <michael.albinus@gmx.de>
1349
1350 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
1351 `permanent-local' property.
71c661e4 1352 (auto-revert-notify-handler): Use `file-equal-p'.
2daddd9e 1353
86fbb162
EZ
13542013-01-12 Eli Zaretskii <eliz@gnu.org>
1355
1356 * autorevert.el (auto-revert-notify-handler): Fix filtering of
1357 file notification by ACTION. For filtering by file name, compare
1358 only the non-directory part of the file name.
1359
a0784609
SM
13602013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
1361
96c421bb
SM
1362 * autorevert.el: Use cl-lib instead of cl.
1363
a0784609
SM
1364 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
1365 (vc-bzr-checkin): Use it.
1366 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
1367 will preserve match-data.
1368
f90ff906 13692013-01-11 Felix H. Dahlke <fhd@ubercode.de>
9fc9a531 1370
f90ff906
FD
1371 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
1372 (js--declaration-keyword-re): New var.
1373 (js--multi-line-declaration-indentation): New function.
1374 (js--proper-indentation): Use it.
9fc9a531 1375
f90ff906 13762013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
9fc9a531 1377
f90ff906
FD
1378 * calc/calc.el (calc-highlight-selections-with-faces)
1379 (calc-dispatch):
1380 * comint.el (comint-history-isearch-message):
1381 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
9fc9a531
AH
1382 * ffap.el (ffap-string-at-point-region, ffap-next)
1383 (ffap-string-at-point, ffap-string-around)
1384 (ffap-copy-string-as-kill, ffap-highlight-overlay)
f90ff906 1385 (ffap-literally):
9fc9a531 1386 * font-lock.el (font-lock-keywords-alist)
f90ff906
FD
1387 (font-lock-removed-keywords-alist):
1388 * help-mode.el (help-xref-symbol-regexp):
1389 * info.el (Info-find-emacs-command-nodes):
1390 * international/mule.el (add-to-coding-system-list):
1391 * isearch.el (isearch-message-function, isearch-fail-pos):
1392 * misearch.el (multi-isearch-next-buffer-function):
1393 * newcomment.el (comment-box):
9fc9a531 1394 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
f90ff906 1395 (pr-setting-database):
9fc9a531
AH
1396 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
1397 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
1398 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
f90ff906
FD
1399 (pike-font-lock-keywords-3):
1400 * progmodes/compile.el (compile):
9fc9a531 1401 * progmodes/etags.el (tags-table-files)
f90ff906 1402 (tags-table-files-function, tags-included-tables-function):
9fc9a531 1403 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
f90ff906 1404 (gdb-restore-windows):
9fc9a531 1405 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
f90ff906
FD
1406 (ps-n-up-filling-database):
1407 * server.el (server-buffer, server-log):
9fc9a531
AH
1408 * simple.el (newline, delete-backward-char, delete-forward-char)
1409 (minibuffer-history-isearch-message, kill-line, track-eol)
f90ff906 1410 (temporary-goal-column):
9fc9a531 1411 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
f90ff906
FD
1412 (flyspell-default-deplacement-commands):
1413 * textmodes/ispell.el (ispell-accept-output):
1414 * textmodes/sgml-mode.el (html-tag-help):
9fc9a531 1415 * vc/compare-w.el (compare-ignore-whitespace)
f90ff906
FD
1416 (compare-ignore-case, compare-windows-dehighlight):
1417 * vc/diff.el (diff):
9fc9a531
AH
1418 * whitespace.el (whitespace-point)
1419 (whitespace-font-lock-refontify, whitespace-bob-marker)
f90ff906 1420 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
9fc9a531 1421
65adfa20
MA
14222013-01-11 Michael Albinus <michael.albinus@gmx.de>
1423
1424 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
1425 (auto-revert-notify-rm-watch): Ignore errors.
1426 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
f90ff906
FD
1427 inotify, and '(size last-write-time) for w32notify.
1428 Set buffer-local `auto-revert-use-notify' to nil when adding a file
65adfa20
MA
1429 watch fails - this is a fallback to the file modification check.
1430 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
1431 (auto-revert-notify-event-action)
1432 (auto-revert-notify-event-file-name): New defuns.
1433 (auto-revert-notify-handler): Use them. Implement first
1434 plausibility checks.
1435 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
1436
43b2e2e7
JD
14372013-01-11 Julien Danjou <julien@danjou.info>
1438
1439 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
1440 max are almost equal. Also return the correct value for V which is
1441 already between 0 and 1.
1442
30818a23
DA
14432013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
1444
1445 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
1446
10e714d5
EZ
14472013-01-11 Eli Zaretskii <eliz@gnu.org>
1448
1449 * autorevert.el (auto-revert-notify-rm-watch)
1450 (auto-revert-notify-add-watch): Fix typos in w32notify function
1451 names.
1452
a778dd57
MA
14532013-01-10 Michael Albinus <michael.albinus@gmx.de>
1454
1455 * autorevert.el (auto-revert-notify-enabled): Move up.
1456 (auto-revert-use-notify): New defcustom.
1457 (auto-revert-mode, global-auto-revert-mode)
1458 (auto-revert-notify-add-watch, auto-revert-handler)
1459 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
1460 `auto-revert-notify-enabled'.
1461
72781fef
EP
14622013-01-10 Elias Pipping <pipping@exherbo.org>
1463
1464 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
1465 * doc-view.el (doc-view-document->bitmap):
1466 Use doc-view-single-page-converter-function instead of
1467 single-page-converter arg; adjust callers.
1468
e6ed8f08
FL
14692013-01-10 Feng Li <fengli@gmail.com> (tiny change)
1470
1471 * progmodes/which-func.el (which-function): Understand Semantic's use
1472 of overlays in imenu--index-alist.
1473
327a6cca
WJ
14742013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
1475
1476 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
1477 (Man-man-k-use-anchor): New var.
1478 (Man-parse-man-k): New function.
1479 (Man-completion-table): Use it.
1480 (man): Flush the completion cache between uses.
1481
ed911257
MA
14822013-01-10 Michael Albinus <michael.albinus@gmx.de>
1483
1484 * autorevert.el: Add file watch support.
1485 (auto-revert-notify-enabled): New defconst.
1486 (auto-revert-notify-watch-descriptor-hash-list)
1487 (auto-revert-notify-watch-descriptor)
1488 (auto-revert-notify-modified-p): New defvars.
1489 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
1490 (auto-revert-notify-handler): New defuns.
1491 (auto-revert-mode, global-auto-revert-mode): Remove file watches
1492 when mode is disabled.
1493 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
1494 (auto-revert-buffers): Add file watches for active buffers.
1495
58cc0a01
DA
14962013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
1497
1498 * cus-start.el (toplevel): Only allow float values for
1499 scroll-up-aggressively and scroll-down-aggressively.
1500 Allow any number for line-spacing.
1501
bbc7ff25
SM
15022013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
1503
1504 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
1505 (doc-view-pdf->png-converter-function): Use mupdf if available.
1506 (doc-view-djvu->png-converter-function)
1507 (doc-view-ps->png-converter-function): Remove.
1508 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
1509 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
1510 (doc-view-already-converted-p): Adjust accordingly.
1511 (doc-view-mode-p): Simplify.
1512 (doc-view-enlarge): Use setq-local.
1513 (doc-view-pdf->png-converter-ghostscript)
1514 (doc-view-djvu->png-converter-ddjvu)
1515 (doc-view-pdf->png-converter-mupdf): Rework to call
1516 doc-view-start-process directly.
1517 (doc-view-pdf/ps->png): Simplify accordingly.
1518 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
1519 (doc-view-document->bitmap): Rename from doc-view-document->png.
1520 (doc-view-convert-current-doc): Merge pdf and djvu cases.
1521 (doc-view-set-slice-from-bounding-box): Fix completion table.
1522 (doc-view-mode): Use add-hook for after-revert-hook.
1523
3c855b96
GM
15242013-01-10 Glenn Morris <rgm@gnu.org>
1525
1526 * emacs-lisp/authors.el (authors-ignored-files)
1527 (authors-valid-file-names, authors-renamed-files-alist):
1528 Add some more entries.
1529
3f9549e8 15302013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
08ce64e6
SM
1531
1532 * image-mode.el (image-mode-winprops): Don't throw away the fallback
1533 `t' pseudo-window entry.
1534
3f9549e8 15352013-01-10 Alan Mackenzie <acm@muc.de>
8cff5feb
AM
1536
1537 Fix bugs in the c-parse-state mechanism. Reuse some markers
1538 instead of continually generating new ones.
1539
1540 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
1541 (c-state-old-cpp-end-marker): New variables.
1542 (c-append-lower-brace-pair-to-state-cache): Start a backward
1543 search for "}" definitively outside CPP constructs.
1544 (c-remove-stale-state-cache): Inform the caller of a need to
1545 search back for a brace pair in certain circumstances.
1546 (c-state-maybe-marker): New macro.
1547 (c-parse-state): Reuse markers when appropriate.
1548
3f9549e8 15492013-01-10 Glenn Morris <rgm@gnu.org>
89c0dda8
GM
1550
1551 * simple.el (execute-extended-command): Doc fix.
1552 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
1553
3f9549e8 15542013-01-10 Chong Yidong <cyd@gnu.org>
5b64ccd7
CY
1555
1556 * faces.el (read-face-name): Doc fix.
1557
b14abca9
RW
15582013-01-10 Roland Winkler <winkler@gnu.org>
1559
1560 * emacs-lisp/crm.el: Allow any regexp for separators.
1561 (crm-default-separator): All spaces around the default comma separator.
1562 (crm--completion-command): New macro.
1563 (crm-completion-help, crm-complete, crm-complete-word): Use it.
1564 (crm-complete-and-exit): Handle non-single-char separators.
1565
2b541f9a
EP
15662013-01-09 Elias Pipping <pipping@lavabit.com>
1567
1568 * doc-view.el: Add support for DjVu (bug#13164).
1569 (doc-view-djvu->png-converter-function): New config var.
1570 (doc-view-single-page-converter-function, doc-view--image-type)
1571 (doc-view--image-file-extension): New vars.
1572 (doc-view-mode): Initialize them.
1573 (doc-view-goto-page): Use them.
1574 (doc-view-mode-p): Add support for ddjvu.
1575 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
1576 (doc-view-set-up-single-converter): New funs.
1577 (doc-view-pdf/ps->png): Extend for djvu.
1578 (doc-view-document->png): Rename from doc-view-pdf->png.
1579 (doc-view-convert-current-doc): Handle djvu.
1580 (doc-view-insert-image, doc-view-display)
1581 (doc-view-already-converted-p): Don't hardcode png.
1582 (doc-view-set-doc-type): Recognize djvu docs.
1583
85f17e35
EP
15842013-01-09 Elias Pipping <pipping@lavabit.com>
1585
1586 * doc-view.el: Add support for mupdf converter (bug#13164).
1587 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
1588 (doc-view-ps->png-converter-function): New config vars.
1589 (doc-view-pdf->png-converter-ghostscript)
1590 (doc-view-ps->png-converter-ghostscript)
1591 (doc-view-pdf->png-converter-mupdf): New functions.
1592 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
1593
ccd04887
MA
15942013-01-09 Jürgen Hötzel <juergen@archlinux.org>
1595
1596 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
1597 first in session cache: When `tramp-own-remote-path' is in
1598 `tramp-remote-path', the remote path is only set in the session
1599 cache.
1600
c5ad92de
GM
16012013-01-09 Glenn Morris <rgm@gnu.org>
1602
fb9f7146
GM
1603 * emacs-lisp/trace.el (trace-function-foreground)
1604 (trace-function-background): Doc fix.
c5ad92de 1605
39a0786e
JL
16062013-01-09 Juri Linkov <juri@jurta.org>
1607
1608 * international/mule-cmds.el (read-char-by-name): Move let-binding
1609 of completion-ignore-case around completing-read to fix regression
1610 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
1611 `string-match-p' using the nil value of `case-fold-search' and
1612 `completion-ignore-case' in `completion-pcm--all-completions'.
1613 (Bug#12615).
1614
fb9f7146 16152013-01-09 Glenn Morris <rgm@gnu.org>
06364e64
GM
1616
1617 * progmodes/compile.el (compilation-parse-errors):
1618 Fix typo. (Bug#13369)
1619
fb9f7146 16202013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
236a8f0c
VS
1621
1622 * comint.el (comint-send-input): Check size of buffer before
1623 waiting for process output, in case already accepted. (Bug#13290)
1624
677d5c92
PE
16252013-01-09 Paul Eggert <eggert@cs.ucla.edu>
1626
1627 Spelling fixes.
1628 * net/tramp-adb.el (tramp-adb-get-toolbox):
1629 Fix misspelling of 'unknown'.
1630
073ca75b
JL
16312013-01-08 Juri Linkov <juri@jurta.org>
1632
1633 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
1634 * progmodes/flymake.el (flymake-errline, flymake-warnline):
1635 Use underline style wave on terminals that support it. (Bug#13000)
1636
a4648137
SM
16372013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1638
4bdc3526
SM
1639 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
1640 the predicate returns nil.
1641
a4648137
SM
1642 * simple.el: Use lexical-binding.
1643 (primitive-undo): Use pcase.
1644 (minibuffer-history-isearch-push-state): Use a closure.
1645
3bace969
AH
16462013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1647
1648 * simple.el (primitive-undo): Move from undo.c.
1649
a731fc1b
SM
16502013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1651
1c851e98
SM
1652 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
1653 (cvs-mode-remove-handled): Use it (bug#13380).
1654
a731fc1b
SM
1655 * emacs-lisp/nadvice.el (advice--tweak): New function.
1656 (advice--remove-function, advice--subst-main): Use it.
1657
1658 * emacs-lisp/advice.el: Update commentary.
1659
2a22c83b
MA
16602013-01-08 Michael Albinus <michael.albinus@gmx.de>
1661
a731fc1b
SM
1662 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
1663 Remove spurious entry.
2a22c83b 1664
83c1803a
GM
16652013-01-08 Glenn Morris <rgm@gnu.org>
1666
1667 * net/tramp.el (tramp-default-host-alist): Add :version.
1668
8a2e287c
JL
16692013-01-08 Juri Linkov <juri@jurta.org>
1670
1671 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
1672 single completion. (Bug#12456)
1673 (info--manual-names): Expand node completions into an explicit list
1674 before appending it to another list. Filter out internal buffers
1675 with the leading space in the buffer name. (Bug#10771)
1676
c6a22ce2
JL
16772013-01-08 Juri Linkov <juri@jurta.org>
1678
1679 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
1680 that defaults to the Top node.
1681 (Info-goto-node, Info-read-node-name): Doc fix to mention that
1682 the short format (FILENAME) goes to the Top node.
1683 (Info-build-node-completions): Rename arg `file' to `filename'.
1684 (Bug#13365)
1685
acfe10b7
BG
16862013-01-07 Bastien Guerry <bzg@gnu.org>
1687
a731fc1b
SM
1688 * menu-bar.el (menu-bar-search-documentation-menu):
1689 Use `apropos-user-option' and fix the help message.
acfe10b7
BG
1690
16912013-01-07 Bastien Guerry <bzg@gnu.org>
1692
1693 * apropos.el (apropos-do-all): Update docstring.
1694 (apropos-user-option-button): New face.
1695 (apropos-user-option): Rename from `apropos-variable' and update
1696 docstring.
1697 (apropos-variable): Rewrite, now show all variables by default.
1698 (apropos-print): Mention "User option" instead of "Variable" when
1699 printing doc for user options. (Bug#13276)
1700
62bcf670
JH
17012013-01-07 Jürgen Hötzel <juergen@archlinux.org>
1702
1703 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
1704 Handle filename correctly, when parsing "source -> target" symlink
1705 output.
1706 (tramp-adb-handle-set-file-times): New defun.
1707
4986fa21
SM
17082013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
1709
1710 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
1711 advice list when the interactive-spec of ad-Advice-* changes.
1712
3bee311e
KY
17132013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
1714
1715 * wid-edit.el (widget-default-get): Work for inlined elements.
1716 (Bug#12670)
1717
b49eebcc
MA
17182013-01-07 Michael Albinus <michael.albinus@gmx.de>
1719
1720 * net/tramp.el (tramp-default-host-alist): New defcustom.
1721 (tramp-find-host): Use it.
4986fa21 1722 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
b49eebcc
MA
1723 `eshell-directory-change-hook'.
1724
1725 * net/tramp-adb.el (top): Add adb specific entry in
1726 `tramp-default-host-alist'.
1727 (tramp-adb-file-name-host): Remove function.
1728 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
1729 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
1730
3bee311e 1731 * net/tramp-sh.el: Move eshell integration code to tramp.el.
b49eebcc 1732
84f6744a
JH
17332013-01-06 Jürgen Hötzel <juergen@archlinux.org>
1734
1735 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
1736
b6cfbcd0
MA
17372013-01-06 Michael Albinus <michael.albinus@gmx.de>
1738
1739 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
b49eebcc 1740 consist of more than one digit.
4986fa21
SM
1741 (tramp-adb-file-name-handler-alist):
1742 Use `tramp-handle-file-exists-p' consistently.
b6cfbcd0
MA
1743 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
1744 (tramp-adb-handle-file-exists-p): Remove function.
1745 (tramp-adb-file-name-host): New defun.
1746 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
1747 Use it.
1748 (tramp-adb-maybe-open-connection): Set "remote-path" property.
1749
58ba7b1b
CY
17502013-01-06 Chong Yidong <cyd@gnu.org>
1751
1752 * vc/vc.el (vc-next-action): Detect buffer modifications
1753 conflicting with locking VCS operation (Bug#11490).
1754
1755 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
1756
f4566fe9
MA
17572013-01-05 Michael Albinus <michael.albinus@gmx.de>
1758
1759 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
1760 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
1761
838cf298
MA
17622013-01-05 Jürgen Hötzel <juergen@archlinux.org>
1763
1764 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
1765 parsing of ls output using regular expression (handle filenames
1766 with spaces). Use virtual device number.
1767 (tramp-do-parse-file-attributes-with-ls): New defun (Code
1768 cleanup).
1769
1bd71e9f
DU
17702013-01-04 Daiki Ueno <ueno@gnu.org>
1771
1772 * epg.el: Silence byte-compiler warnings.
1773 (epg--start): Use delete-char instead of delete-backward-char.
1774 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
1775
00cd4c1c
DU
17762013-01-04 Daiki Ueno <ueno@gnu.org>
1777
1778 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
1779 Suggested by Eli Zaretskii <eliz@gnu.org>.
1780
f99ced35
MA
17812013-01-04 Michael Albinus <michael.albinus@gmx.de>
1782
1783 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
1784 non-negative integers. Otherwise, the default values are used.
1785 (tramp-convert-file-attributes): Convert uid and gid to integers.
1786
0f668a4d 17872013-01-04 Glenn Morris <rgm@gnu.org>
ad235a8b 1788
d2be4dcc
GM
1789 * term.el (term-handle-colors-array): Ensure face attributes
1790 are fully specified, not nil. (Bug#13337)
1791
5b00b749
GM
1792 * term.el (term-default-fg-color, term-default-bg-color):
1793 Fix custom type.
1794
220740a3
GM
1795 * progmodes/etags.el (tags-compression-info-list): Doc fix.
1796 (tag-find-file-of-tag-noselect): Check auto-compression-mode
1797 rather than 'jka-compr being loaded. (Bug#13338)
1798
bdd9367d
WD
17992013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
1800
1801 * icomplete.el (icomplete-completions):
1802 Honor icomplete-prospects-height once more following
1803 2012-11-29 changes. (Bug#13224)
1804
96dd18b1
SM
18052013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
1806
c0bd248c
SM
1807 * subr.el (internal--called-interactively-p--get-frame): Find aliases
1808 of called-interactively-p as well (bug#13237).
1809
4a74c818
SM
1810 * view.el (view--enable, view--disable): Rename from view-mode-enable
1811 and view-mode-disable and assume it's called from view-mode.
1812 (view-mode-enable, view-mode-disable): Redefine as obsolete
1813 compatibility layer above view-mode.
1814 (view-mode-enter): Call `view-mode'.
1815
1816 * files.el (after-find-file): Call `view-mode'.
1817
96dd18b1
SM
1818 * doc-view.el (doc-view-scale-internally): New var.
1819 (doc-view-enlarge, doc-view-insert-image): Obey it.
1820
c2cf1829
DU
18212013-01-03 Daiki Ueno <ueno@gnu.org>
1822
1823 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
1824 exist. (Bug#13344)
1825
ad235a8b
GM
18262013-01-03 Glenn Morris <rgm@gnu.org>
1827
a8aa6c2d
GM
1828 * mail/rmail.el (rmail-set-header-1): Ignore case.
1829 Handle multi-line headers. (Bug#13330)
1830
a6d6c20b
GM
1831 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
1832 Handle paragraph starting at beginning of buffer.
1833
ed5bdeb9
GM
1834 * subr.el (eval-after-load): Don't purecopy the form, so that it
1835 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
1836
ad235a8b
GM
1837 * emacs-lisp/byte-run.el (defun): Place cl declarations
1838 after any interactive spec. (Bug#13265)
1839
9539d465 18402013-01-02 Andreas Schwab <schwab@linux-m68k.org>
5cebef2d
AS
1841
1842 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
1843 defun. Don't check for DECL if DOCSTRING isn't a string.
1844 (defun): Likewise.
1845
9539d465 18462013-01-02 Glenn Morris <rgm@gnu.org>
4cddca30 1847
5ee1772e
GM
1848 * eshell/em-cmpl.el (eshell-pcomplete):
1849 More thoroughly imitate pcomplete. (Bug#13293)
1850
4cddca30
GM
1851 * files.el (parse-colon-path): Doc fix. (Bug#12351)
1852 Return nil for empty path elements. (Bug#13296)
1853
9539d465 18542013-01-02 Fabián Ezequiel Gallina <fgallina@cuca>
6861432e
FEG
1855
1856 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
1857 order to improve efficiency (Based on Daniel Colascione's
1858 <dancol@dancol.org> patch). (Bug#13182)
1859
9539d465 18602013-01-02 Glenn Morris <rgm@gnu.org>
b83a2ddd
GM
1861
1862 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
1863
9539d465 18642013-01-02 Andreas Schwab <schwab@linux-m68k.org>
bdcad781
AS
1865
1866 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
1867 neither DOCSTRING nor DECL was given. (Bug#13316)
1868
aca3d51d
MA
18692013-01-02 Michael Albinus <michael.albinus@gmx.de>
1870
1871 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
1872 `error' call.
1873 (tramp-do-copy-or-rename-file): Ignore errors when calling
1874 `set-file-extended-attributes'.
1875
4986fa21
SM
1876 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1877 Add handler for `file-acl'.
aca3d51d
MA
1878 (tramp-smb-handle-file-acl): New defun.
1879
87e65f96
JB
18802013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
1881
1882 * calc/README: Mention ISO 8601 week-numbering dates.
1883
0aac98ac
MR
18842013-01-01 Martin Rudalics <rudalics@gmx.at>
1885
1886 * view.el (view-mode-enable): New argument run-view-mode-hook.
1887 Run view-mode-hook only when it's non-nil (Bug#13315).
1888 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
1889 argument t.
1890
1a82330c
JH
18912012-12-31 Jürgen Hötzel <juergen@archlinux.org>
1892
1893 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
1894 (No device connected, invalid device name). (Bug #13299)
1895
27fcfe31
MR
18962012-12-31 Martin Rudalics <rudalics@gmx.at>
1897
1898 * window.el (window-resizable--p): Rename to window-resizable-p.
1899 (window-resize-no-error): New function.
1900
1901 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
1902 broken in fix from 2012-12-28.
1903
96c052a5
SM
19042012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
1905
1906 * subr.el (special-form-p): Don't signal errors on undef aliases.
1907
fd1f1603
JB
19082012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
1909
1910 * calc/calc-forms.el (math-parse-date): Try using
96c052a5
SM
1911 `math-parse-iso-date' when it looks like it might be needed.
1912 Allow times of 24:00.
fd1f1603
JB
1913 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
1914 of 24:00.
1915
8db39aeb
GM
19162012-12-30 Glenn Morris <rgm@gnu.org>
1917
1918 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
1919 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
1920 (rmail-summary-displayed, rmail-summary): Declare.
1921 (mairix-rmail-display): Just require rmail.
1922
d5e5e7b4 19232012-12-30 Chong Yidong <cyd@gnu.org>
3c94d7a6
CY
1924
1925 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
1926 check for the tarball contents.
1927
d5e5e7b4 19282012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
af39894a
MF
1929
1930 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
1931 tarfile content listings (Bug#13136).
1932
d5e5e7b4 19332012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
bb709253 1934
96c052a5
SM
1935 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
1936 Insert the undecoded text of the message being forwarded. (Bug#9521)
bb709253 1937
4f752957
MA
19382012-12-30 Michael Albinus <michael.albinus@gmx.de>
1939
3ee24a3b
MA
1940 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
1941 integers, if they are real numbers. (Bug#13282)
1942
4f752957
MA
1943 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
1944 Return `t' on success.
1945
96c052a5
SM
1946 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1947 Add handler for `set-file-selinux-context'.
4f752957 1948
eff2eb58
MA
19492012-12-29 Michael Albinus <michael.albinus@gmx.de>
1950
1951 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
1952 (tramp-sh-handle-set-file-acl): Return `t' on success.
1953
ccad023b
EZ
19542012-12-29 Eli Zaretskii <eliz@gnu.org>
1955
96c052a5
SM
1956 * files.el (backup-buffer-copy, basic-save-buffer-2):
1957 If set-file-extended-attributes fails, fall back on set-file-modes
ccad023b 1958 instead of signaling an error. (Bug#13298)
7e56b103 1959 (basic-save-buffer): Likewise.
ccad023b 1960
ccb1c17e
FEG
19612012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
1962
1963 * progmodes/python.el: Support other commands triggering
1964 python-indent-line so indentation cycling continues to work.
1965 (python-indent-trigger-commands): New defcustom.
1966 (python-indent-line): Use it.
1967
16768034
FEG
19682012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
1969
1970 * progmodes/python.el (python-shell-send-region): Add blank lines
1971 for non sent code so backtraces remain correct.
1972
66164d2f
FEG
19732012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
1974
1975 * progmodes/python.el: Remove cl dependency.
1976 (python-syntax-count-quotes): Replace incf call.
1977 (python-fill-string): Replace setf call.
1978
761231d1
DC
19792012-12-29 Damien Cassou <damien.cassou@gmail.com>
1980
43ebd12b 1981 * info.el (info-other-window): New arg, for consistency with info.
761231d1 1982
7c3e220a
MR
19832012-12-28 Martin Rudalics <rudalics@gmx.at>
1984
96c052a5
SM
1985 * mail/rmail.el (rmail-maybe-display-summary):
1986 Rewrite (Bug#13066).
7c3e220a 1987
361828b5
AS
19882012-12-28 Andreas Schwab <schwab@linux-m68k.org>
1989
1990 * epg.el (epg--start): Modify process-environment locally.
1991
23bd348c
DU
19922012-12-28 Daiki Ueno <ueno@gnu.org>
1993
1994 * epg.el: Support pinentry-curses.
1995 Suggested by Werner Koch in
1996 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
1997 (epg-agent-file, epg-agent-mtime): New variable.
1998 (epg--start): Record the modified time of gpg-agent socket file,
1999 to restore Emacs frame after pinentry-curses termination.
2000 (epg-wait-for-completion): Restore Emacs frame here.
2001
313f39aa
JL
20022012-12-27 Juri Linkov <juri@jurta.org>
2003
2004 * info.el (Info-file-completions): New variable.
2005 (Info-read-node-name-1): Complete node names in the Info file
2006 when a file name is given. Call `Info-build-node-completions'
2007 with a file name.
2008 (Info-build-node-completions): Add new arg `file'. When it is
2009 non-nil, visit it in a temporary buffer and cache its completions in
2010 `Info-current-file-completions'. Move most of the function body to
2011 `Info-build-node-completions-1'.
2012 (Info-build-node-completions-1): New function with the body from
2013 `Info-build-node-completions'. (Bug#12456)
2014
a45b7647
JL
20152012-12-27 Juri Linkov <juri@jurta.org>
2016
2017 * frame.el (frame-maximization-style): Remove user option.
2018 (cycle-frame-maximized): Remove function.
2019 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
2020 (toggle-frame-fullscreen): New command bound to <f11> instead of
2021 `toggle-frame-maximized'.
2022 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
2023
10ffd0be
MA
20242012-12-27 Michael Albinus <michael.albinus@gmx.de>
2025
2026 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
2027
2028 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
2029 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2030 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
2031 for `file-accessible-directory-p'. (Bug#13275)
2032
fd146719
SS
20332012-12-27 Sam Steingold <sds@gnu.org>
2034
2035 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
2036 continuations, see <http://stackoverflow.com/questions/3582436>.
2037
82e2a1f0 20382012-12-27 Dmitry Gutov <dgutov@yandex.ru>
db590ef6
DG
2039
2040 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
96c052a5
SM
2041 "module" and "def" to have indentation before them.
2042 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
db590ef6 2043
ea0857a1
DG
2044 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
2045
82e2a1f0 20462012-12-27 Alan Mackenzie <acm@muc.de>
3f6b93cd
AM
2047
2048 Speed up fontification where there's large brace blocks.
2049 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
2050 to a call of c-beginning-of-decl-1.
2051
c34339f3
VS
20522012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
2053
2054 * comint.el (comint-adjust-window-point): New function.
96c052a5
SM
2055 (comint-postoutput-scroll-to-bottom):
2056 Call comint-adjust-window-point (Bug#13248).
c34339f3 2057
78269b95
DG
20582012-12-26 Dmitry Gutov <dgutov@yandex.ru>
2059
2060 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
2061 Rakefile regexp.
2062 (auto-mode-alist): Associate .gemspec files with ruby-mode
2063 (https://bugs.ruby-lang.org/issues/5453).
2064
bd8c13f9
JH
20652012-12-26 Jürgen Hötzel <juergen@archlinux.org>
2066
96c052a5
SM
2067 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
2068 Suppress coloring, if possible (required for BusyBox based systems like
677d5c92 2069 CyanogenMod).
bd8c13f9
JH
2070 (tramp-adb-handle-file-attributes)
2071 (tramp-adb-handle-insert-directory)
2072 (tramp-adb-handle-file-name-all-completions): Use it.
2073 (tramp-adb-get-toolbox): New defun. Check for remote shell
2074 implementation (BusyBox or Toolbox).
2075
dc646358
CK
20762012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
2077
2078 * startup.el (initial-buffer-choice): Allow function as value
2079 (Bug#13251).
2080 (command-line-1): Handle case where initial-buffer-choice
2081 specifies a function.
2082 * server.el (server-execute): Handle case where
2083 initial-buffer-choice specifies a function.
2084
e7d52a4d
LI
20852012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
2086
2087 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
2088 its own function.
2089 (smtpmail-try-auth-methods): Forget the user name/password if the
2090 login is unsuccessful (bug#12424).
2091
cdb07539
MA
20922012-12-22 Michael Albinus <michael.albinus@gmx.de>
2093
1ef5f225
MA
2094 * notifications.el (notifications-notify): Protect body with
2095 `with-demoted-errors'.
2096
96c052a5
SM
2097 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2098 Check properties of remote device. Restart connection, if there is a
cdb07539
MA
2099 change.
2100
594f37aa
CY
21012012-12-21 Chong Yidong <cyd@gnu.org>
2102
2103 * sort.el (sort-subr): Doc fix (Bug#13056).
2104
a4b0cca1 21052012-12-21 Bastien Guerry <bzg@gnu.org>
acc650b8 2106
acc650b8
BG
2107 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
2108
0e9c7693
MA
21092012-12-21 Michael Albinus <michael.albinus@gmx.de>
2110
2111 * simple.el (process-file): Overwrite stderr file, if exists.
2112
c6609164
DU
21132012-12-21 Daiki Ueno <ueno@gnu.org>
2114
2115 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
3eb05092 2116 (epg-error): Set `error-message' property.
c6609164 2117
aa26f345
CY
21182012-12-21 Chong Yidong <cyd@gnu.org>
2119
34b4b7eb
CY
2120 * international/mule-cmds.el (read-char-by-name): Signal an error
2121 if the user does not supply a valid character (Bug#13177).
2122
aa26f345
CY
2123 * simple.el (transpose-subr-1): Preserve marker positions by
2124 changing the insertion sequence (Bug#13122).
2125
05c22d87
KD
21262012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
2127
2128 * simple.el (kill-region): Deactivate mark even for empty regions
2129 (Bug#13169).
2130
f5733f87
CY
21312012-12-21 Chong Yidong <cyd@gnu.org>
2132
2133 * help-fns.el (describe-variable): Make sure we get the right
2134 buffer name (Bug#13105). Suggested by Kelly Dean.
2135
fab6916d
MM
21362012-12-20 Michael R. Mauger <mmaug@yahoo.com>
2137
2138 * comint.el (comint-redirect-previous-input-string): New variable.
2139 (comint-redirect-setup, comint-redirect-cleanup)
2140 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
2141 (comint-redirect-preoutput-filter): Fix verbose message.
2142
91b982a0
MA
21432012-12-20 Michael Albinus <michael.albinus@gmx.de>
2144
2145 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
2146 is too long for Tramp. See discussion in
2147 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
2148
2149 * progmodes/compile.el (compilation-start): Remove line escape
2150 template.
2151
87523aed
DA
21522012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
2153
2154 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
2155 Adjust comment.
2156
ee3c0aec
JB
21572012-12-19 Jonas Bernoulli <jonas@bernoul.li>
2158
2159 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
2160 following non-comment text (bug#13207).
2161 (lm-header-multiline): Continuation lines need to be indented more than
2162 the first line.
2163 (lm-homepage): New function.
2164 (lm-with-file): Don't be confused if narrowing is in effect.
f4d79bd0 2165
4a74c818
SM
21662012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
2167
f4d79bd0
SM
2168 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
2169 very beginning of a hunk (e.g. killing the first line).
2170
3c532af6
MA
21712012-12-19 Michael Albinus <michael.albinus@gmx.de>
2172
2173 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
2174 and text properties from returned ACL string.
2175 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
2176 for "setfacl" command.
2177
e0d01ef3
MA
21782012-12-18 Michael Albinus <michael.albinus@gmx.de>
2179
2180 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
2181 `tramp-cleanup-this-connection', when the process has died.
2182 (Bug#13151)
2183
2387610d
SM
21842012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
2185
2186 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
2187
19156242
KR
21882012-12-17 Kevin Ryde <user42@zip.com.au>
2189
2190 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
2191
53b6a8b1
MA
21922012-12-17 Michael Albinus <michael.albinus@gmx.de>
2193
2194 Add support for preserving ACL entries of files.
2195
2196 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
2197 `set-file-acl' handlers.
2198
19156242
KR
2199 * net/tramp-adb.el (tramp-adb-handle-copy-file):
2200 Handle PRESERVE-EXTENDED-ATTRIBUTES.
53b6a8b1 2201
19156242
KR
2202 * net/tramp-compat.el (tramp-compat-copy-file):
2203 Handle PRESERVE-EXTENDED-ATTRIBUTES.
53b6a8b1 2204
19156242
KR
2205 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2206 Add `file-acl' and `set-file-acl' handlers.
2207 (tramp-gvfs-handle-copy-file):
2208 Handle PRESERVE-EXTENDED-ATTRIBUTES.
2209 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
2210 New defuns.
53b6a8b1 2211
19156242
KR
2212 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2213 Add `file-acl' and `set-file-acl' handlers.
53b6a8b1
MA
2214 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
2215 (tramp-sh-handle-set-file-acl): New defuns.
19156242
KR
2216 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
2217 Handle PRESERVE-EXTENDED-ATTRIBUTES.
53b6a8b1 2218
19156242
KR
2219 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2220 Add `file-acl' and `set-file-acl' handlers.
53b6a8b1
MA
2221 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
2222
6ae57a67
KD
22232012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
2224
2225 * help-macro.el (make-help-screen): Instead of switch-to-buffer
19156242 2226 use pop-to-buffer with NORECORD argument t. As buffer name, use
6ae57a67
KD
2227 *Metahelp* with a leading space (Bug#13190).
2228
7c3d167f
RF
22292012-12-16 Romain Francoise <romain@orebokech.com>
2230
2231 * files.el (file-extended-attributes)
2232 (set-file-extended-attributes): New functions.
2233 (backup-buffer): Use them to handle both SELinux context and ACL
2234 entries.
2235 (backup-buffer-copy): Work with an alist of extended attributes,
2236 rather than an SELinux context.
2237 (basic-save-buffer-2): Ditto.
2238
19b748ad
TM
22392012-12-16 Timo Myyrä <timo.myyra@gmail.com>
2240
2241 * battery.el (battery-bsd-apm): New function.
2242
70042c64
JB
22432012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
2244
2245 * calc/calc.el (calc-standard-date-formats): Adjust one of the
2246 standard date formats.
2247
279f9b06
JL
22482012-12-15 Juri Linkov <juri@jurta.org>
2249
2250 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
2251 `isearch-insert-char-by-name'.
2252 (with-isearch-suspended): New defmacro with body mostly from
2253 `isearch-edit-string' except the part that sets
2254 `isearch-new-string' and `isearch-new-message'.
2255 (isearch-edit-string): Use new macro `with-isearch-suspended' with
2256 body that sets `isearch-new-string' and `isearch-new-message'.
2257 (isearch-insert-char-by-name): New command.
2258 * international/mule-cmds.el (read-char-by-name): Let-bind
2259 `enable-recursive-minibuffers' to t.
2260 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
2261
8370def5
JL
22622012-12-15 Juri Linkov <juri@jurta.org>
2263
2264 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
2265 (Bug#13175)
2266
178fb95d
CS
22672012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
2268
2269 * dired-x.el (dired-guess-shell-command): Put colon at the end of
2270 the prompt. (Bug#13045)
2271
a5f74442
GM
22722012-12-14 Glenn Morris <rgm@gnu.org>
2273
2274 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
2275 Try to include filename in non-bytecomp warning. (Bug#13132)
2276
97976f9f
PE
22772012-12-14 Paul Eggert <eggert@cs.ucla.edu>
2278
2279 Fix permissions bugs with setgid directories etc. (Bug#13125)
2280 * files.el (backup-buffer): Don't rely on 9th output of
2281 file-attributes, as it's now a placeholder. Instead, use the new
2282 optional arg of file-ownership-preserved-p.
2283 (file-ownership-preserved-p): New optional arg GROUP.
2284 Fix mishandling of setuid directories that would cause this
2285 function to return t when it should have returned nil.
2286 Document what happens if the file does not exist, and when
2287 it's not known whether the ownership will be preserved.
2288 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
2289 Likewise.
2290 (tramp-get-local-gid): Use group-gid for integer, as that's
2291 faster and more reliable.
2292
016b2a42
JD
22932012-12-14 Julien Danjou <julien@danjou.info>
2294
19156242
KR
2295 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
2296 Update keywords list, data type and PL/pgSQL.
016b2a42 2297
665e5e07
DA
22982012-12-14 Dave Abrahams <dave@boostpro.com>
2299
2300 * vc/ediff-util.el (ediff-buffer-type): New function.
2301 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
2302 rather than taking it as as argument.
2303 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
2304
d72e9e92
RC
23052012-12-14 Ryan Crum <ryan.crum@eleostech.com>
2306
2307 * json.el: Add pretty-print option (bug#12634).
2308 (json-encoding-separator, json-encoding-default-indentation)
2309 (json--encoding-current-indentation, json-encoding-pretty-print)
2310 (json-encoding-lisp-style-closings): New vars.
2311 (json--with-indentation): New macro.
2312 (json-encode-hash-table, json-encode-alist, json-encode-plist)
2313 (json-encode-array): Use it to obey json-encoding-pretty-print.
2314 (json-pretty-print-buffer, json-pretty-print): New commands.
2315
dbb530d9
DG
23162012-12-14 Dmitry Gutov <dgutov@yandex.ru>
2317
2318 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2319 Extract `ruby-syntax-propertize-expansions'.
2320 (ruby-syntax-propertize-expansions): Only change syntax on
2321 certain string delimiters, to punctuation. This way the common
2322 functions like forward-word and thing-at-point still work.
2323 (ruby-match-expression-expansion): Improve readability.
bb808526
DG
2324 (ruby-block-contains-point): New function.
2325 (ruby-add-log-current-method): Handle several edge cases.
dbb530d9 2326
ce0440ff
JB
23272012-12-13 Juanma Barranquero <lekktu@gmail.com>
2328
2329 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
2330 unload-feature finishes even when aborting an ongoing edebug session.
2331 Also, do not worry about edebug-mode, unload-feature takes care of it.
2332
f10331bf
AS
23332012-12-13 Andreas Schwab <schwab@suse.de>
2334
2335 * net/tls.el (tls-program): Update customize type.
2336
5f3a3bb1
JB
23372012-12-13 Juanma Barranquero <lekktu@gmail.com>
2338
2339 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
2340 (edebug-setup-hook, cl-read-load-hooks): Use it.
2341 (edebug-unload-function): New function. (Bug#13163)
2342
6ce21463
MA
23432012-12-13 Michael Albinus <michael.albinus@gmx.de>
2344
2345 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
2346 Otherwise, there could be errors in autoloading. (Bug#13151)
2347
d754b364
JH
23482012-12-13 Jürgen Hötzel <juergen@archlinux.org>
2349
2350 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
2351 sequences.
2352
727f9739 23532012-12-13 Alan Mackenzie <acm@muc.de>
14b8c3d9
AM
2354
2355 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
2356 * progmodes/cc-engine.el (c-backward-comments): Add code to work
2357 around `forward-comment' not recognizing ^M as whitespace.
2358
727f9739 23592012-12-13 Fabián Ezequiel Gallina <fgallina@cuca>
2c43a9ad
FEG
2360
2361 * progmodes/python.el (python-skeleton-class)
2362 (python-skeleton-def): Do not add space after defun name.
2363
eb8006c6
SM
23642012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
2365
2366 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
2367 (cl--symbol-function): Remove (now that funbound is like nil).
2368
4c74b1e4
GM
23692012-12-12 Glenn Morris <rgm@gnu.org>
2370
2371 * button.el (button--area-button-p): Fix typo.
2372
37f38bca
SS
23732012-12-12 Sam Steingold <sds@gnu.org>
2374
2375 * frame.el (frame-maximization-style): New user option.
2376 (toggle-frame-maximized): Toggle frame maximization according to
2377 `frame-maximization-style', bound to <f11>.
2378 (cycle-frame-maximized): Cycle between all maximization styles and
2379 non-maximized frame, bound to shift-<f11>.
2380
fd49a218
DC
23812012-12-12 David Cadé <codename68@gmail.com>
2382
2383 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
2384
69e1c203
JB
23852012-12-12 Jonas Bernoulli <jonas@bernoul.li>
2386
2387 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
2388 (eieio-override-prin1): Don't quote kewords and booleans.
2389 (object-write) <eieio-default-superclass>: Don't put closing parens
2390 on new line, avoid needless empty lines, align values that are objects
2391 with the slot keyword (instead of beginning on the same line).
2392 (eieio-list-prin1): Align value with slot keyword; increase
2393 eieio-print-depth before printing members of the list.
2394
4b0df848
SM
23952012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
2396
030f4af5
SM
2397 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
2398 a display text-property.
2399 (report-emacs-bug-hook): Don't bother deleting it any more.
2400
6ac1f8ca
SM
2401 * hilit-chg.el (highlight-save-buffer-state): Delete.
2402 Use with-silent-modifications instead.
2403 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
2404
4b0df848
SM
2405 * button.el: Handle buttons in display text-properties.
2406 (button--area-button-p, button--area-button-string):
2407 Use (STRING . STRING-POS) representation instead of just STRING.
2408
d46d2d3a
EZ
24092012-12-11 Eli Zaretskii <eliz@gnu.org>
2410
2411 * makefile.w32-in (compile4-SH): Fix a typo that caused term
2412 subdirectory be skipped.
2413
a0099d31
GM
24142012-12-11 Glenn Morris <rgm@gnu.org>
2415
36327e4f
GM
2416 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
2417
a0099d31
GM
2418 * progmodes/f90.el (f90-line-continued, f90-indent-region):
2419 Treat preprocessor lines embedded in continuations like comments.
2420 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
2421
ff3f6c26
JB
24222012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
2423
2424 * calc/calc.el (calc-standard-date-formats): Add more date
2425 formats.
2426 * calc/calc-forms.el (math-parse-iso-date): New function.
2427 (math-parse-date): Use `math-parse-iso-date' when appropriate.
2428 (math-parse-iso-date-validate): Add extra error checking.
2429 (calc-date-notation): Add ability to access new date formats.
2430
ed6f2cd4
SM
24312012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2432
2433 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
2434 font-lock as well as when there's no text-property.
2435
c868b919
J
24362012-12-10 Jambunathan K <kjambunathan@gmail.com>
2437
2438 * hi-lock.el: Refine the choice of default face.
2439 (hi-lock-keyword->face): New function. Use it wherever we used
2440 cadadadr instead.
2441 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
2442 (hi-lock--last-face): Remove var.
2443 (hi-lock--unused-faces): New var to replace it.
2444 (hi-lock-read-face-name): Use/maintain it.
2445 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
2446 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
2447 if it has another face.
2448
2b8c9064
EZ
24492012-12-10 Eli Zaretskii <eliz@gnu.org>
2450
2451 * subr.el (w32notify-handle-event): New function.
2452 (inotify-handle-event): Doc fix.
2453
81606b10
RS
24542012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2455
2456 * subr.el (inotify-event-p, inotify-handle-event): New functions.
2457
265c2fbf 24582012-12-10 Dani Moncayo <dmoncayo@gmail.com>
6ce49f24
DM
2459
2460 * simple.el (just-one-space): Doc fix.
2461
265c2fbf 24622012-12-10 Eli Zaretskii <eliz@gnu.org>
8d43bd30 2463
c868b919 2464 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
8d43bd30 2465
265c2fbf 24662012-12-10 Le Wang <l26wang@gmail.com>
3a21537c
LW
2467
2468 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
2469 narrowed buffer (bug#12361).
2470
265c2fbf 24712012-12-10 Juanma Barranquero <lekktu@gmail.com>
bf741d33
JB
2472
2473 * vc/vc-hooks.el (vc-state): Doc fix.
2474
265c2fbf 24752012-12-10 Glenn Morris <rgm@gnu.org>
07026166
GM
2476
2477 * mail/rmail.el (rmail-maybe-display-summary):
2478 Preserve buffer, in case select-window changes it. (Bug#13066)
2479
265c2fbf 24802012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
82e1f390
SM
2481
2482 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
2483 cl-load-hook where they belong.
2484
bad162fd
SM
24852012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2486
2487 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
2488
ca065258
EZ
24892012-12-09 Eli Zaretskii <eliz@gnu.org>
2490
2491 Parallelize byte compilation on MS-Windows.
2492 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
bad162fd 2493 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
ca065258
EZ
2494 (WINS_BASIC): Define as concatenation of the above.
2495 (compile): Subdivide into 4 separate and independent jobs that can
2496 be run in parallel.
2497 (compile0-CMD, compile0-SH): New targets for compiling
2498 COMPILE_FIRST files, which are prerequisites for the rest of the
2499 byte-compilation.
bad162fd
SM
2500 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
2501 New targets for parallel compilation with cmd.exe.
ca065258
EZ
2502 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
2503 compiling under a Unixy shell.
2504
5dea55d2
CY
25052012-12-09 Chong Yidong <cyd@gnu.org>
2506
2507 * simple.el (set-mark-default-inactive): Delete this
2508 accidentally-introduced option.
2509 (set-mark-command, exchange-point-and-mark): Remove calls.
2510
c6c08d3f
GM
25112012-12-09 Glenn Morris <rgm@gnu.org>
2512
2513 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
2514 Respect a defcustom's :set function, if appropriate. (Bug#109)
2515 (eval-defun): Doc fix.
2516
858aab4c
JL
25172012-12-08 Juri Linkov <juri@jurta.org>
2518
2519 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
2520 (Info-fontify-node, Info-bookmark-make-record): Remove the
2521 file extension from Info-current-file (Bug#13016).
2522
2e4ad7e5
SM
25232012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
2524
2525 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
2526 point, still provide some default.
2527 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
2528 names, since we don't use it right now. Actually return the list.
2529 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
2530
75498db0
CY
25312012-12-07 Chong Yidong <cyd@gnu.org>
2532
ffe7ba8f
CY
2533 * novice.el (disabled-command-function): Remove a spurious help
2534 xref (Bug#13043). Suggested by Kelly Dean.
2535
454eb095
CY
2536 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
2537 syntax is specified (Bug#13025).
2538
75498db0
CY
2539 * info.el (Info-set-mode-line): Remove the file extension from
2540 Info-current-file if there is one (Bug#13016).
2541
13a40633
GM
25422012-12-07 Glenn Morris <rgm@gnu.org>
2543
54c8b5ba
GM
2544 * mail/rmail.el (rmail-mime-decoded): New permanent local.
2545 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
2546 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
2547 and rmail-mime-decoded. (Bug#9841)
2548
13a40633
GM
2549 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
2550 (batch-unrmail, unrmail): Doc fixes.
2551 (unrmail): Respect unrmail-mbox-format.
2552 * mail/rmail.el (rmail-mbox-format): New option.
2553 (rmail-show-message-1): Respect rmail-mbox-format.
2554
4611a3cc
SM
25552012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
2556
2557 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
2558
1812c724
SM
25592012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2560
338bfefa
SM
2561 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
2562 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
2563 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
2564 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
2565 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
2566 (cl-progv): Don't rely on dynamic scoping to find the body.
2567 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
2568 (cl--proclaims-deferred): Rename from the "cl-" prefix.
2569 (cl-declaim): Use backquotes.
2570 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
2571 Use "cl--" prefix for the object's tag.
2572
1812c724
SM
2573 * ses.el: Use advice-add/remove.
2574 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
2575 (copy-region-as-kill, yank): Use advice-add.
2576 (ses-unload-function): Use advice-remove.
2577
24fc9480
JB
25782012-12-06 Jonas Bernoulli <jonas@bernoul.li>
2579
2580 * button.el: Make them work in header-lines (bug#12817).
2581 (button-map): Add bindings for header-line and mode-line use.
2582 (button-get, button-put, button-label): `button' may now be a string.
2583 (button-activate): Don't make it a defsubst.
2584 (button--area-button-p, button--area-button-string): New functions.
2585 (make-text-button): Fix the return value when `beg' was a string.
2586 (push-button): Handle the mode-line case.
2587
853c1ffc
SM
25882012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2589
93852cb0
SM
2590 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
2591 (sql-signum): Remove. Use `cl-signum' instead.
2592 (sql-read-passwd): Remove; use read-passwd instread.
2593 (sql-get-login-ext): Use read-string.
2594 (sql-get-login): Use dolist and pcase.
2595 (sql--completion-table): Rename from sql-try-completion.
2596 Use complete-with-action.
2597 (sql-mode): Don't change abbrev-all-caps globally.
2598 (sql-connect): Don't rely on dynamic scoping for `new-name'.
2599 (sql-postgres-completion-object): Initialize vars in their `let'.
2600 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
2601 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
2602 (sql-comint-interbase): Use a single append, without setq.
2603 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
2604
853c1ffc
SM
2605 * hi-lock.el: Rework the default face and the serialize regexp code.
2606 (hi-lock--auto-select-face-defaults): Remove.
2607 (hi-lock-string-serialize-serial): Remove.
2608 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
2609 make weak.
2610 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
2611 equal string.
2612 (hi-lock-set-pattern): Adjust accordingly.
2613 (hi-lock--regexps-at-point): Simplify accordingly.
2614 (hi-lock--auto-select-face-defaults): Remove.
2615 (hi-lock--last-face): New var to replace it.
2616 (hi-lock-read-face-name): Rewrite (bug#11095).
2617 (hi-lock-unface-buffer): Arrange for the face to be the next default.
2618
5504e2c7
MA
26192012-12-06 Michael Albinus <michael.albinus@gmx.de>
2620
853c1ffc
SM
2621 * net/tramp.el (tramp-replace-environment-variables):
2622 Hide compiler warning.
5504e2c7
MA
2623 (tramp-file-name-for-operation): Remove `executable-find',
2624 `start-process', `call-process' and `call-process-region'.
2625
853c1ffc 2626 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
5504e2c7
MA
2627
2628 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
2629 compatibility.
2630
2631 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
2632
e1d51545
CY
26332012-12-06 Chong Yidong <cyd@gnu.org>
2634
2635 * ffap.el (ffap-replace-file-component): Fix typo.
2636
d8ad4d3f 26372012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
ef54d315
SM
2638
2639 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
2640 fix open-paren-like token test (bug#12785).
2641
d8ad4d3f 26422012-12-06 Glenn Morris <rgm@gnu.org>
52d129cd
GM
2643
2644 * mail/rmailsum.el (rmail-new-summary): Tweak for
2645 rmail-maybe-display-summary changing buffer. (Bug#13066)
2646
d8ad4d3f 26472012-12-06 Juri Linkov <juri@jurta.org>
68bf4e09
JL
2648
2649 * info.el (Info-fontify-node): Don't hide the last newline.
2650 (Bug#12272)
2651
9ad948e2
KY
26522012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
2653
2654 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
2655 so as to enable message-read-from-minibuffer to expand mail aliases.
2656
4b5c89ee
SM
26572012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2658
2659 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
2660 the `intangible' property.
2661 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
2662
5602a53a
DD
26632012-12-05 Deniz Dogan <deniz@dogan.se>
2664
2665 * net/rcirc.el (rcirc-urls): Update documentation.
2666 (rcirc-condition-filter): New function.
2667 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
2668 and exclude consecutive duplicate URLs (Bug#6082).
2669
51b890ac
MA
26702012-12-05 Michael Albinus <michael.albinus@gmx.de>
2671
d5f97f62
MA
2672 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2673 Check return code of copy command.
2674
853c1ffc
SM
2675 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
2676 Use group `tramp'. Add version.
51b890ac 2677
04b14f2b
CY
26782012-12-05 Chong Yidong <cyd@gnu.org>
2679
a3680194
CY
2680 * ffap.el (ffap-url-regexp): Don't require matching at front of
2681 string (Bug#4952).
2682 (ffap-url-p): If only a substring matches, return that.
2683 (ffap-url-at-point): Use the return value of ffap-url-p.
2684 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
2685 (find-file-at-point, dired-at-point, dired-at-point-prompter)
2686 (ffap-guess-file-name-at-point): Likewise.
2687 (ffap-replace-file-component): Fix typo.
2688
04b14f2b
CY
2689 * info.el (info-display-manual): Add existing Info buffers, whose
2690 files may not be in Info-directory-list, to the completion.
2691 (info--manual-names): New helper function.
2692
49596095
GM
26932012-12-05 Glenn Morris <rgm@gnu.org>
2694
2695 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
2696 New functions, for detecting and resolving conflicts. (Bug#10709)
2697
b85aec93
J
26982012-12-04 Jambunathan K <kjambunathan@gmail.com>
2699
2700 * hi-lock.el (hi-lock-auto-select-face): New user variable.
2701 (hi-lock-auto-select-face-defaults): New buffer local variable.
2702 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
2703 (hi-lock-unface-buffer): Prompt user with useful defaults.
2704 With prefix arg, unhighlight all hi-lock patterns in buffer.
2705
8515507f
SM
27062012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
2707
2708 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
2709
72cebfb7
MA
27102012-12-04 Michael Albinus <michael.albinus@gmx.de>
2711
2712 * Makefile.in (TRAMP_SRC):
2713 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
2714
0ec3f7ea
JH
27152012-12-04 Juergen Hoetzel <juergen@archlinux.org>
2716
2717 * net/tramp-adb.el: New package.
2718
770de7cf
CY
27192012-12-04 Chong Yidong <cyd@gnu.org>
2720
ce3e7725
CY
2721 * terminal.el: Move to obsolete/.
2722
770de7cf
CY
2723 * longlines.el: Move to obsolete/.
2724
2725 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
2726 Remove code referring to longlines mode.
2727
c38a186c
JL
27282012-12-03 Juri Linkov <juri@jurta.org>
2729
2730 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
2731
329bfd64
AM
27322012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2733
2734 * textmodes/ispell.el (ispell-init-process)
475eea6f
AM
2735 (ispell-start-process, ispell-internal-change-dictionary):
2736 Make sure personal dictionary name is expanded after initial
2737 `default-directory' value. Use expanded strings for
2738 keep/restart checks and for value (Bug#13019).
329bfd64 2739
77a74935
JB
27402012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
2741
2742 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
2743
c5bc2d1d 27442012-12-03 Leo Liu <sdl.web@gmail.com>
ff3d86d0
LL
2745
2746 * files.el (dir-locals-read-from-file): Check file non-empty
2747 before reading. (Bug#13038)
2748
c5bc2d1d 27492012-12-03 Glenn Morris <rgm@gnu.org>
6247eff5
GM
2750
2751 * jka-cmpr-hook.el (jka-compr-get-compression-info):
2752 Remove any version extension before checking filename. (Bug#13006)
2753 (jka-compr-compression-info-list): Belated :version bump.
2754
c5bc2d1d 27552012-12-03 Chong Yidong <cyd@gnu.org>
a5bf43ba 2756
8ecba97d
CY
2757 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
2758
a5bf43ba
CY
2759 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
2760 (buffer-menu): Doc fix (Bug#12294).
2761
c5bc2d1d 27622012-12-03 Roland Winkler <winkler@gnu.org>
34755291
RW
2763
2764 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
2765 of diary-show-all-entries in the diary buffer (Bug#12994).
2766
c5bc2d1d 27672012-12-03 Michael Albinus <michael.albinus@gmx.de>
c2f5b60a
MA
2768
2769 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
2770 "<STDIN>". This is binary safe.
2771
682ceaf8
JB
27722012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
2773
2774 * calc/calc-forms.el (math-absolute-from-iso-dt)
2775 (math-date-to-iso-dt, math-parse-iso-date-validate)
2776 (math-iso-dt-to-date): New functions.
2777 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
2778 (math-fd-isoweekday): New variables.
2779 (calc-date-notation, math-parse-standard-date, math-format-date)
2780 (math-format-date-part): Add support for more formatting codes.
2781
db47d5e9
DG
27822012-12-02 Dmitry Gutov <dgutov@yandex.ru>
2783
2784 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
2785 current buffer's file name when called interactively (Bug#12488).
2786
3faf4944
JL
27872012-12-02 Juri Linkov <juri@jurta.org>
2788
2789 * info.el (info-display-manual): Don't clobber an existing Info
010db6da 2790 buffer (Bug#10770). Add completion (Bug#10771).
3faf4944 2791
cb5d51dc
YN
27922012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
2793
2794 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
2795 before using it for comparison (Bug#5297).
2796
f38cd76e
JA
27972012-12-01 Jari Aalto <jari.aalto@cante.net>
2798
2799 * textmodes/css-mode.el (css-current-defun-name): New function.
2800 (css-mode): Use it.
2801
2802 * textmodes/sgml-mode.el (html-current-defun-name): New function.
2803 (html-mode): Use it.
2804
ba03d0d9
CY
28052012-12-01 Chong Yidong <cyd@gnu.org>
2806
2807 Modularize add-log-current-defun (Bug#2224).
2808 Suggested by Jari Aalto.
2809
2810 * vc/add-log.el (add-log-current-defun-function): Doc fix.
2811 (add-log-current-defun): Move mode-specific code to other files.
2812 (add-log-lisp-like-modes, add-log-c-like-modes)
2813 (add-log-tex-like-modes): Variables deleted.
2814
2815 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
2816 (lisp-mode-variables): Use it.
2817
2818 * progmodes/cc-mode.el (c-common-init):
2819 * progmodes/cperl-mode.el (cperl-mode): Set a value for
2820 add-log-current-defun-function.
2821
2822 * progmodes/m4-mode.el (m4-current-defun-name): New function.
2823 (m4-mode): Use it.
2824
2825 * progmodes/perl-mode.el (perl-current-defun-name): New.
2826 (perl-mode): Use it.
2827
853c1ffc
SM
2828 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
2829 Use lisp-current-defun-name.
ba03d0d9
CY
2830
2831 * textmodes/tex-mode.el (tex-current-defun-name): New.
2832 (tex-common-initialization): Use it.
2833
2834 * textmodes/texinfo.el (texinfo-current-defun-name): New.
2835 (texinfo-mode): Use it.
2836
92eadba5
CY
28372012-12-01 Chong Yidong <cyd@gnu.org>
2838
2839 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
2840 * progmodes/autoconf.el (autoconf-mode):
2841 * progmodes/js.el (js-mode):
2842 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
2843 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
2844 * progmodes/perl-mode.el (perl-mode):
2845 * progmodes/sh-script.el (sh-mode, sh-set-shell):
2846 * textmodes/css-mode.el (css-mode):
2847 * textmodes/sgml-mode.el (html-mode, sgml-mode)
2848 (sgml-tags-invisible, sgml-guess-indent):
2849 * textmodes/tex-mode.el (tex-common-initialization)
2850 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
2851 (doctex-mode, plain-tex-mode, latex-mode):
2852 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
2853
3ddbf803
KK
28542012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
2855
2856 * vc/vc-hg.el (vc-hg-next-revision):
2857 Ensure use of default "tip" output format. (Bug#6968)
2858
f0b6ae63
KS
28592012-12-01 Kim F. Storm <storm@cua.dk>
2860
2861 * startup.el (fancy-startup-tail): Add a clickable link
2862 (Bug#2176).
2863
c01bf73e
CY
28642012-12-01 Chong Yidong <cyd@gnu.org>
2865
2866 * startup.el (fancy-startup-tail): Improve the message about
2867 auto-save files (Bug#2176).
2868
f0b6ae63
KS
2869 * files.el (recover-session): Improve the descriptive message, and
2870 use substitute-command-keys.
2871
a9400458
GM
28722012-12-01 Glenn Morris <rgm@gnu.org>
2873
2874 * ido.el (ido-file-internal):
2875 Handle other-window, other-frame for dired. (Bug#13036)
2876
fb3bf6ce
GM
28772012-11-30 Glenn Morris <rgm@gnu.org>
2878
2879 * icomplete.el (icomplete-separator): Fix :version.
2880
a813fe3f
CY
28812012-11-30 Chong Yidong <cyd@gnu.org>
2882
2883 * shell.el (shell): For C-u M-x shell, use an inactive shell
2884 buffer as the default (Bug#1975).
276479fd
CY
2885 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
2886 (shell-mode): Use them to reapply ansi colorization if Shell mode
2887 is re-enabled.
a813fe3f 2888
a8b733a5
CY
28892012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
2890
2891 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
2892
6fccd6e8
SB
28932012-11-30 Samuel Bronson <naesten@gmail.com>
2894
2895 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
2896 flag to xargs, for compatibility with BSD xargs (Bug#11703).
2897
53c9a337
TT
28982012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
2899
2900 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
2901 by move-to-column (Bug#3234).
2902
ccf520bb
CY
29032012-11-30 Chong Yidong <cyd@gnu.org>
2904
2905 * longlines.el (longlines-wrap-line, longlines-encode-region):
2906 Preserve text properties (Bug#1425).
2907
171b0949
OT
29082012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
2909
2910 * vc/vc.el (vc-register): Allow registering a file which is
2911 already registered with a different backend (Bug#10589).
2912
cc37e70f
J
29132012-11-29 Jambunathan K <kjambunathan@gmail.com>
2914 Stefan Monnier <monnier@iro.umontreal.ca>
2915
2916 * icomplete.el: Change separator; add ido-style commands.
2917 (icomplete-show-key-bindings): Remove custom var.
2918 (icomplete-get-keys): Remove function.
2919 (icomplete-forward-completions, icomplete-backward-completions):
2920 New commands.
2921 (icomplete-minibuffer-map): New var.
2922 (icomplete-minibuffer-setup): Use it.
2923 (icomplete-exhibit): Don't delay if the list of completions is known.
2924 (icomplete-separator): New custom.
2925 (icomplete-completions): Use it.
2926 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
2927 (minibuffer-force-complete-and-exit): New command.
2928 (minibuffer--complete-and-exit): New function extracted from
2929 minibuffer-complete-and-exit.
2930 (minibuffer-complete-and-exit): Use it.
83e12fe0
SM
2931
2932 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
2933 error message when the file doesn't exist (bug#12974).
2934
31646597
KD
29352012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
2936
2937 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
2938
e9df8f87
GM
29392012-11-29 Glenn Morris <rgm@gnu.org>
2940
824eefe4
GM
2941 * files.el (hack-dir-local-variables): Warn if try to set
2942 coding via dir-locals, since it doesn't work. (Bug#7169)
2943
4ad900d9
GM
2944 Add desktop support for restoring vc-dir buffers. (Bug#10606)
2945 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
2946 Set buffer-local value of desktop-save-buffer.
2947 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
2948 New functions.
2949 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
2950 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
2951
e9df8f87
GM
2952 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
2953 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
2954 Doc fix.
2955 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
2956 Doc fixes.
2957
e7c8fcc4
JB
29582012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
2959
2960 * calc/calc-forms.el (calc-date-notation): Fix regexp
2961 used to find time codes. Fix symbol for seconds.
2962
48d6d9c0
GM
29632012-11-27 Glenn Morris <rgm@gnu.org>
2964
2965 * emacs-lisp/derived.el (derived-mode-make-docstring):
2966 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
2967
369f945d
SM
29682012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
2969
2970 * textmodes/table.el (table-insert): Don't use `symbol-name' on
2971 lexically scoped variables (bug#13005).
2972
5c9cf0a3 29732012-11-27 Glenn Morris <rgm@gnu.org>
98f99594 2974
999e745e
GM
2975 * vc/vc-hooks.el (vc-mistrust-permissions):
2976 Default to t, to avoid data-loss. (Bug#11490)
98f99594 2977
5c9cf0a3 29782012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
207cb73c 2979
999e745e
GM
2980 * progmodes/python.el (python-indent-guess-indent-offset):
2981 If indentation is guessed make python-indent-offset buffer-local.
2982
207cb73c 2983 Fix Imenu regression.
999e745e
GM
2984 * progmodes/python.el (python-nav-beginning-of-defun):
2985 Fix forward movement when statement(s) separates point from defun.
207cb73c
FEG
2986 (python-imenu-prev-index-position): New function.
2987
5c9cf0a3 29882012-11-27 Eli Zaretskii <eliz@gnu.org>
33a488e4
EZ
2989
2990 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
2991
2992 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
865f7d8f 2993 Don't set buffer-file-type. Return nil. (Bug#12989)
33a488e4 2994
5c9cf0a3 29952012-11-27 Glenn Morris <rgm@gnu.org>
50207191
GM
2996
2997 * hippie-exp.el (hippie-expand-try-functions-list):
2998 Re-autoload it. (Bug#12982)
2999
5c9cf0a3 30002012-11-27 Eli Zaretskii <eliz@gnu.org>
2147c6ab 3001
369f945d
SM
3002 * descr-text.el (describe-char-padded-string):
3003 Call internal-char-font only on GUI frames. (Bug#11964)
2147c6ab 3004
5c9cf0a3 30052012-11-27 Andreas Schwab <schwab@linux-m68k.org>
58b1ae1e
AS
3006
3007 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
3008 and obsoletion message.
3009
5c9cf0a3 30102012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
35a10516
SM
3011
3012 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
3013 the constructs to keep outside of the `cl-block' (bug#12977).
3014
5c9cf0a3 30152012-11-27 Chong Yidong <cyd@gnu.org>
0c5ef133
CY
3016
3017 * mouse.el (mouse-drag-line): Even if the line is not draggable,
3018 keep reading until we get the up-event anyway, in order to process
3019 the up-event for mouse-1-click-follows-link (Bug#12971).
3020
848a2dd1
SM
30212012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
3022
3023 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
3024 base function is not yet defined (bug#12965).
3025 (ad-activate-advised-definition): Use ad-compile-function.
3026 (ad-activate): Use cond.
3027
9ad79506
LL
30282012-11-25 Leo Liu <sdl.web@gmail.com>
3029
3030 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
3031 (Bug#12979)
3032
e2cb57f5
VB
30332012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
3034
3035 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
3036 reftex-section-info-function in order to be compatible with
3037 Texinfo integration.
3038
3039 * textmodes/reftex.el (reftex-section-pre-regexp)
848a2dd1
SM
3040 (reftex-section-post-regexp, reftex-section-info-function):
3041 New variable.
3042 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
3043 reftex-section-post-regexp, and reftex-section-info-function in order
3044 to be compatible with Texinfo integration.
3045
3046 * textmodes/reftex-toc.el (reftex-toc-promote-action):
3047 use reftex-section-pre-regexp variable in order to be compatible with
e2cb57f5
VB
3048 Texinfo integration.
3049
1c4f115d
CY
30502012-11-25 Chong Yidong <cyd@gnu.org>
3051
3052 * faces.el: Make face-spec-set more analogous to setq.
3053 (face-spec-set): Change the third arg to specify whether this
3054 function is being called via defface, customize, or a third party.
3055 Set the appropriate symbol properties. Clear the override spec if
3056 setting via Custom. Initialize face if necessary. (Bug#4988)
3057 (face-spec-recalc): Allow theme faces to completely replace the
3058 defface spec, in the same way as custom faces (Bug#8454).
3059
3060 * cus-face.el (custom-declare-face): Move face initialization to
3061 face-spec-set.
3062 (custom-theme-set-faces): Don't initialize the face name here, as
3063 that is now done in face-spec-set.
3064
3065 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
3066 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
3067 Simplify by using the new arg to face-spec-set.
3068
3069 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
3070 reset face-override-spec too, and use custom-declare-face.
3071
c2350548
JD
30722012-11-24 Jan Djärv <jan.h.d@swipnet.se>
3073
3074 * term/ns-win.el (ns-initialize-window-system): Move creation of
3075 fontsets here (Bug#11964).
3076
ecfc364c
VB
30772012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
3078
3079 * ses.el (ses-rename-cell): Correct bug on mode-line update after
3080 cell renaming.
3081
0917cc54
CY
30822012-11-24 Chong Yidong <cyd@gnu.org>
3083
433212bf
CY
3084 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
3085 obsolete.
3086
0917cc54
CY
3087 * custom.el (custom-theme-set-variables): Use a topological sort
3088 for ordering by custom dependencies (Bug#12952).
3089 (custom--sort-vars, custom--sort-vars-1): New functions.
3090
d125ca15 30912012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
002c019c
SM
3092
3093 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
3094 lexical-binding (bug#12938).
3095
d125ca15 30962012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
977f9325
WJ
3097
3098 * image-mode.el (image-transform-check-size): Use assertions only
3099 for images of type imagemagick.
3100
3101 Otherwise no error, image-transform-fit-to-{width,height} is
3102 silently ignored, as before. Doc fix.
3103
d125ca15 31042012-11-24 Chong Yidong <cyd@gnu.org>
bccffa83
CY
3105
3106 * faces.el (color-defined-p): Doc fix (Bug#12853).
3107
d125ca15 31082012-11-24 Juri Linkov <juri@jurta.org>
61a2a122
JL
3109
3110 * dired.el (dired-mark): Add optional arg `interactive'.
3111 Check for `use-region-p' if `interactive' is non-nil.
3112 (dired-unmark, dired-flag-file-deletion): Add optional arg
3113 `interactive'. Call `dired-mark' with the arg `interactive'.
3114 (Bug#10624)
3115
cc4c01bd
JL
3116 * wdired.el: Revert 2012-10-17 change partly and replace it with
3117 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
3118 (wdired-finish-edit): Add marks for new file names to
3119 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
3120 after `revert-buffer'.
3121 (wdired-do-renames): Remove calls to `dired-remove-file',
3122 `dired-add-file', `dired-add-entry'. (Bug#11795)
3123
d125ca15 31242012-11-24 Alan Mackenzie <acm@muc.de>
b03aabda 3125
dc310ed0
AM
3126 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
3127
b03aabda
AM
3128 Fix bugs in the state cache. Enhance a debugging mechanism.
3129 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
3130 "brace at column zero" strategy for C++.
3131 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
3132 (c-parse-state-point): New variable.
3133 (c-record-parse-state-state): Record old parse state with
3134 `copy-tree'. Record previous value of point.
3135 (c-debug-parse-state-double-cons): New debugging function.
3136 (c-debug-parse-state): Call the above new function.
3137 (c-toggle-parse-state-debug): Output a confirmatory message.
3138
002c019c
SM
3139 * progmodes/cc-mode.el (c-before-change, c-after-change):
3140 Call c-invalidate-state-cache from `c-before-change' instead of
b03aabda
AM
3141 `c-after-change'.
3142
930a6273
CY
31432012-11-23 Chong Yidong <cyd@gnu.org>
3144
3145 * find-cmd.el (find-constituents): Add executable, ipath,
3146 readable, samefile, writable, daystart, regextype (Bug#12856).
3147
15c9d04e
SM
31482012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
3149
3150 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
3151
2ecb2679
PE
31522012-11-22 Paul Eggert <eggert@cs.ucla.edu>
3153
3154 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
3155 definition. This fixes a bootstrap failure.
a14a5a40
PE
3156 (calc-gregorian-switch): In menu, put dates before regions.
3157 This is easier to follow, lines up better in the menu, and lets us
3158 coalesce regions that switch at the same time. Give country
15c9d04e
SM
3159 names, not "Vatican", as that's better for non-expert users.
3160 Use names that are stable between the date of switch and now, e.g.,
a14a5a40
PE
3161 Bohemia and Moravia (which existed then and now) and not
3162 Czechoslovakia (which didn't exist then and doesn't exist now).
3163 What is now the U.S. mostly did not switch at the same time as
3164 Britain, so omit the U.S. Correct spelling of "Britain".
3165 Catholic Switzerland was too much of a mess, so omit it.
2ecb2679 3166
723da6aa
JB
31672012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
3168
3169 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
3170 after the variable is changed.
3171
21fa2482
DC
31722012-11-21 Daniel Colascione <dancol@dancol.org>
3173
3174 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
b6096e85
DC
3175 in SQL declarations for font-lock.
3176 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
21fa2482 3177
3ca2f1bf
GM
31782012-11-21 Glenn Morris <rgm@gnu.org>
3179
1bf335cf
GM
3180 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
3181 (face-italic-p): Add optional argument "inherit".
3182
3ca2f1bf
GM
3183 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
3184 Remove -p suffix from names, for consistency with other set-face-*.
3185 (set-face-inverse-video): Fix interactive spec.
3186 * play/gamegrid.el (gamegrid-make-mono-tty-face):
3187 * textmodes/table.el (table--update-cell-face):
3188 Use set-face-inverse-video rather than now obsolete alias.
3189
6ef2e5ef 31902012-11-21 Eli Zaretskii <eliz@gnu.org>
7cf95797
EZ
3191
3192 * simple.el (line-move): Don't call line-move-partial if
3193 scroll-conservatively is in effect. (Bug#12927)
3194
6ef2e5ef 31952012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
63f25172 3196
93b05041
SM
3197 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
3198 Fallback on completion-at-point rather than
3199 pcomplete-expand-and-complete, and only if pcomplete actually failed.
3200 (eshell-cmpl-initialize): Setup completion-at-point.
3201
3202 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
3203
bc715d67
SM
3204 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
3205
6ef2e5ef 32062012-11-21 Michael Albinus <michael.albinus@gmx.de>
d7f2a65c
MA
3207
3208 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
3209 are remote, check out-of-band property for both.
3210
6ef2e5ef 32112012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
d1c0cddf
SM
3212
3213 * window.el (switch-to-buffer): Re-add the warning that was lost in the
3214 code rewrite.
3215
6ef2e5ef 32162012-11-21 Paul Eggert <eggert@cs.ucla.edu>
0c93aa38 3217
535efd4a
PE
3218 More minor time fixes.
3219 * calendar/time-date.el: Commentary fix.
3220 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
3221 too much other code depends on (0 0) time stamps.
3222 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
3223 Add a couple of FIXME comments.
3224
0c93aa38
PE
3225 Minor cleanup for times as lists of four integers.
3226 * files.el (dir-locals-directory-cache):
3227 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
3228 Doc fixes.
3229 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
3230 * ps-bdf.el (bdf-file-newer-than-time):
3231 Process four-integers time stamps, not two. Doc fixes.
3232
23ba2705
SM
32332012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
3234
2e31777b
SM
3235 * uniquify.el (uniquify-managed): Use defvar-local.
3236 (rename-buffer, create-file-buffer): Advise with advice-add.
3237 (uniquify-unload-function): Unadvise accordingly.
3238
8b62d742
SM
3239 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
3240 (trace-buffer): Don't purecopy.
3241 (trace-entry-message, trace-exit-message): Add `context' arg.
3242 (trace--timer): New var.
3243 (trace-make-advice): Adjust for use in nadvice.
3244 Add `context' argument. Delay `display-buffer' via a timer.
3245 (trace-function-internal): Use advice-add.
3246 (trace--read-args): New function.
3247 (trace-function-foreground, trace-function-background): Use it.
3248 (trace-function): Rename to trace-function-foreground and redefine as
3249 an alias to that new name.
3250 (untrace-function, untrace-all): Adjust to the use of nadvice.
3251
5d0ccd95
SM
3252 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
3253
3837d988
SM
3254 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
3255
23ba2705
SM
3256 * subr.el (called-interactively-p-functions): New var.
3257 (internal--called-interactively-p--get-frame): New macro.
3258 (called-interactively-p, interactive-p): Rewrite in Lisp.
3259 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
3260 (called-interactively-p-functions): Use it.
3261 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
3262 (called-interactively-p-functions): Use it.
3263 * allout.el (allout-called-interactively-p): Don't assume
3264 called-interactively-p is a subr.
3265
b0636be7
GM
32662012-11-20 Glenn Morris <rgm@gnu.org>
3267
3268 * profiler.el (profiler-report-mode-map): Add a menu.
3269 No need to bind `q' because we derive from special-mode.
3270 (profiler-report-find-entry): Handle calls from the menu-bar.
3271
855b17af
SM
32722012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
3273
14146222
SM
3274 * emacs-lisp/byte-run.el (defun-declarations-alist):
3275 Allow a compiler-macro to be a lambda expression.
3276
3277 * progmodes/python.el: Use cl-lib. Move var declarations outside of
3278 eval-when-compile.
3279 (python-syntax-context): Add compiler-macro.
3280 (python-font-lock-keywords): Simplify with De Morgan.
3281
1000d895
SM
3282 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
3283
ac5392dc
SM
3284 * files.el (load-file): Require match in minibuffer selection, as was
3285 the case in Emacs-20 before we changed the spec to allow .elc files
3286 (bug#12935).
3287
19dc7206
SM
3288 * json.el: Don't require cl since we don't use it.
3289 * color.el: Don't require cl.
3290 (color-complement): `caddr' -> `nth 2'.
3291
855b17af
SM
3292 * calendar/time-date.el (time-to-seconds): De-obsolete.
3293
e8909bdc
JB
32942012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
3295
3296 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
3297 year numbers.
3298 (math-date-to-julian-dt): Adjust the initial approximation for the
3299 year to deal with the new definition of the DATE.
3300
6e9f7997
DC
33012012-11-19 Daniel Colascione <dancol@dancol.org>
3302
855b17af
SM
3303 * term/w32-win.el (cygwin-convert-path-from-windows):
3304 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
6e9f7997 3305
6a3dd257
CY
33062012-11-18 Chong Yidong <cyd@gnu.org>
3307
3308 * filecache.el (file-cache--read-list): New function.
3309 (file-cache-add-directory-list, file-cache-add-file-list)
3310 (file-cache-delete-file-list, file-cache-delete-directory-list):
3311 Use it to read a list of files or directories (Bug#12846).
3312 (file-cache-add-file, file-cache-add-directory)
3313 (file-cache-delete-file-list, file-cache-delete-file-regexp)
3314 (file-cache-delete-directory): Print an message.
3315
eef97f35
JB
33162012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
3317
3318 * calc/calc-forms.el (math-date-to-dt): Use integer date when
3319 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
3320
913c8291
GM
33212012-11-18 Glenn Morris <rgm@gnu.org>
3322
3323 * image.el (insert-image, insert-sliced-image): Doc fix.
3324
2ac9538d 33252012-11-18 Chong Yidong <cyd@gnu.org>
ec6f8ce6
CY
3326
3327 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
3328 (Bug#12810).
3329
2ac9538d 33302012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
c2d07557
CY
3331
3332 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
3333 response when the target file is in a subdirectory (Bug#12757).
3334
2ac9538d 33352012-11-18 Chong Yidong <cyd@gnu.org>
33f8917c
CY
3336
3337 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
3338
2ac9538d 33392012-11-18 Glenn Morris <rgm@gnu.org>
65463c40 3340
9a5e2ee3
GM
3341 * emacs-lisp/cl-lib.el (face-underline-p):
3342 Use set-face-underline rather than the alias set-face-underline-p.
3343
65463c40 3344 * window.el (with-temp-buffer-window): Doc fix.
95f0501e
GM
3345 * subr.el (with-output-to-temp-buffer):
3346 Add doc xref to with-temp-buffer-window.
65463c40 3347
c9ed8e3d
JB
33482012-11-18 Juanma Barranquero <lekktu@gmail.com>
3349
3350 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
3351 * calc/calc.el (math-format-date-cache): Declare.
3352
310e60d9
PE
33532012-11-17 Paul Eggert <eggert@cs.ucla.edu>
3354
6f6b82d6
PE
3355 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
3356 It also uses January 1, 1 AD as its day number 1.
310e60d9 3357 * calc/calc-forms.el (math-julian-date-beginning)
6f6b82d6 3358 (math-julian-date-beginning-int): Implement this.
310e60d9 3359
d7fe6352
JB
33602012-11-17 Juanma Barranquero <lekktu@gmail.com>
3361
3362 * descr-text.el (quail-find-key):
3363 * dired.el (desktop-file-name):
3364 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
3365 * generic-x.el (comint-mode, comint-exec):
3366 * image-dired.el (widget-forward):
3367 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
3368 (speedbar-change-expand-button-char)
3369 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
3370 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
3371 * printing.el (easy-menu-add-item, easy-menu-remove-item)
3372 (widget-field-action, widget-value-set):
3373 * speedbar.el (imenu--make-index-alist):
3374 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
3375 (ring-length, ring-insert):
3376 * vcursor.el (compare-windows-skip-whitespace):
3377 * woman.el (dired-get-filename):
3378 Declare functions.
3379
3380 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
3381
c9f618db
JB
33822012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
3383
3384 * calc/calc.el (calc-gregorian-switch): New variable.
3385
3386 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
3387 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
3388 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
3389 (math-leap-year-p): Add option to distinguish between Julian
3390 and Gregorian calendars.
3391 (math-day-number): Use `math-day-in-year' to do the computations.
3392 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
3393 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
3394 to do the computations.
3395 (math-date-to-dt): Use `math-date-to-julian-dt' and
3396 `math-date-to-gregorian-dt' to do the computations.
3397 (calcFunc-weekday, math-format-date-part): Use the new version of
3398 the DATE to determine the weekday.
3399 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
3400 when necessary.
3401
3804f7bc
EZ
34022012-11-17 Eli Zaretskii <eliz@gnu.org>
3403
3404 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
3405 Cygwin; otherwise use 'file:'. (Bug#12914)
3406 (cygwin-convert-path-from-windows): Declare, to avoid
3407 byte-compiler warnings.
3408
de959d4d
AP
34092012-11-17 Andreas Politz <politza@fh-trier.de>
3410
3411 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
3412 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
3413 prefix and negative numeric prefix args (Bug#12795).
3414
e45deaef
SB
34152012-11-17 Stephen Berman <stephen.berman@gmx.net>
3416
3417 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
3418 Don't signal an error with a score that is too low to add to the
3419 list of top scores. (Bug#12779)
3420
ec15e0ff
CY
34212012-11-17 Chong Yidong <cyd@gnu.org>
3422
8e7696a1
CY
3423 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
3424
ec15e0ff
CY
3425 * filecache.el (file-cache-add-file): Handle relative file name in
3426 the argument (Bug#12694).
3427
60c4ee66
JH
34282012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
3429
3430 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
3431
cdc5d88c
SM
34322012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3433
dd0c5bbb
SM
3434 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
3435
cdc5d88c
SM
3436 * emacs-lisp/cl-lib.el: Set more meaningful version number.
3437
0ff7851c
MR
34382012-11-16 Martin Rudalics <rudalics@gmx.at>
3439
3440 * window.el (enlarge-window, shrink-window): Don't mention return
3441 value in doc-string (Bug#12896).
3442 (window--display-buffer): Don't resize frames - it won't work
3443 with all window managers and defeat pop-up-frame-alist.
3444 (display-buffer-alist): In doc-string explain that CONDITION can
3445 be a function and which arguments are passed to it (Bug#12854).
3446 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
3447 expressions (Bug#12854).
3448 (display-buffer): Pass ACTION argument to
3449 display-buffer-assq-regexp.
3450
dedd1884
GM
34512012-11-16 Glenn Morris <rgm@gnu.org>
3452
7c82753d
GM
3453 * window.el (fit-frame-to-buffer-bottom-margin)
3454 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
3455
dedd1884
GM
3456 * faces.el (face-underline-p): Use face-attribute-specified-or.
3457
96e05507 34582012-11-16 Juanma Barranquero <lekktu@gmail.com>
662b0ee6
JB
3459
3460 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
3461
96e05507 34622012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
eb31fa40
SM
3463
3464 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
3465
96e05507 34662012-11-16 Glenn Morris <rgm@gnu.org>
e2e13f18 3467
17c083ac
GM
3468 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
3469 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
3470
bde3c6c0
GM
3471 * faces.el (face-underline-p): Doc fix. Handle :underline being
3472 things other than `t' (a string, a list).
3473 (face-inverse-video-p): Doc fix.
3474 (set-face-underline): Rename it back from set-face-underline-p.
3475 Doc fix. Allow interactive input of values other than t.
3476 (read-face-attribute): Apply formatting to :underline,
3477 since like :box and :stipple it can take list values.
3478
e2e13f18
GM
3479 * term.el (ansi-term): Don't let C-x escape-char binding
3480 clobber the more standard C-c binding. (Bug#12842)
3481
e0ea8060
GM
3482 * subr.el (set-temporary-overlay-map): Doc fix.
3483
96e05507 34842012-11-16 Martin Rudalics <rudalics@gmx.at>
92346275
MR
3485
3486 * window.el (record-window-buffer)
3487 (display-buffer-record-window): When copying the markers to
3488 window-point preserve window-point-insertion-type. (Bug#12588)
3489
96e05507 34902012-11-16 Glenn Morris <rgm@gnu.org>
7b1bf173
GM
3491
3492 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
3493 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
3494 Use new names for hooks rather than obsolete aliases.
3495
faeafc01
DC
34962012-11-15 Daniel Colascione <dancol@dancol.org>
3497
3498 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
9533048d
DC
3499 prefix instead of "file:" so that when FILE-NAME begins with "//",
3500 as it does when the target file is on a network share, url-handler
3501 isn't confused.
3502
1232d6c2
SM
35032012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
3504
3505 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
3506 a preactivated advice from an old advice.el; they're not compatible!
3507
47f01a8a
KY
35082012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
3509
3510 * emacs-lisp/nadvice.el (advice--make-interactive-form):
3511 Fix string-spec case.
3512
3513 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
3514
a61428c4
SM
35152012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
3516
3517 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
3518 (advice--buffer-local-function-sample): New var.
3519 (advice--set-buffer-local, advice--buffer-local): New functions.
3520 (add-function, remove-function): Use them.
3521
875ce3a7
DA
35222012-11-15 Drew Adams <drew.adams@oracle.com>
3523
3524 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
3525
589fc479
SM
35262012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
3527
3528 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
3529 potential binding of print-gensym to t, and prettify (back)quotes in
3530 case they appear in args's default values (bug#12884).
3531
1668ea90
SM
35322012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3533
3534 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
3535 (advice-eval-interactive-spec): New function.
3536 (advice--make-interactive-form): Support around advice (bug#12844).
3537
8619323f
DG
35382012-11-14 Dmitry Gutov <dgutov@yandex.ru>
3539
3540 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
3541 more strict. Add docstring.
c62792e7
DG
3542 (ruby-expression-expansion-re): Extract from
3543 `ruby-match-expression-expansion'.
3544 (ruby-syntax-propertize-function): After everything else, search
3545 for expansions in string literals, mark their insides as
3546 whitespace syntax and save match data for font-lock.
3547 (ruby-font-lock-keywords): Use the 2nd group from expression
3548 expansion matches.
3549 (ruby-match-expression-expansion): Use the match data saved to the
3550 text property in ruby-syntax-propertize-function.
8619323f 3551
9c3912d3
SM
35522012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3553
3554 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
3555 (bug#12879).
3556
5e9419e8
DG
35572012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3558
3559 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
3560 start/end keyword a bit harder. Works with different values of N.
3561 Add more comments.
3562 (ruby-end-of-block): Update accordingly.
3563
3c442f8b
SM
35642012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
3565
fa470af0
SM
3566 * woman.el (woman-file-name): Don't mess with unread-command-events
3567 (bug#12861).
3568
3c442f8b
SM
3569 * emacs-lisp/advice.el: Layer on top of nadvice.el.
3570 Remove out of date self-require hack.
3571 (ad-do-advised-functions): Use simple `dolist'.
3572 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
3573 (ad-advice-definition): Redefine as functions.
3574 (ad-advice-classes): Move before first use.
3575 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
fa470af0 3576 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
3c442f8b 3577 (ad--defalias-fset): Remove functions.
fa470af0 3578 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
3c442f8b
SM
3579 (ad-get-orig-definition): Rewrite.
3580 (ad-make-advised-definition-docstring): Change base docstring.
3581 (ad-real-orig-definition): Rewrite.
3582 (ad-map-arglists): Change name of called function.
3583 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
3584 (ad-make-advised-definition): Simplify.
3585 (ad-assemble-advised-definition): Tweak for new calling context.
fa470af0 3586 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
3c442f8b
SM
3587 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
3588 function and call ad-activate if needed.
3589 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
3590 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
3591 (ad-compile-function): Compile ad-Advice-*.
3592 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
3593 (ad-start-advice, ad-stop-advice): Remove.
3594
5745cae6
DG
35952012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3596
3597 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
3598 period before class method names, not after. Remove handling of
3599 one impossible case. Add comments.
3600
413d4689
SM
36012012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
3602
7db1bda8
SM
3603 * emacs-lisp/advice.el: Remove support for freezing.
3604 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
3605 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
3606 Remove support for `freeze'.
3607
413d4689
SM
3608 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
3609 override the default.
3610 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
3611 cl--dotimes/dolist.
3612 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
3613 `cl' is loaded.
3614
3615 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
3616 from add-advice.
3617 (advice--strip-macro): New function.
3618 (advice--defalias-fset): Use them to handle macros.
3619 (advice-add): Use them.
3620 (advice-member-p): Correctly handle macros.
3621
f178c32d
DG
36222012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3623
7db1bda8
SM
3624 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3625 Never font-lock the beginning of singleton class as heredoc.
f178c32d 3626
f78ee6af 36272012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
f8705f6e
SM
3628
3629 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
3630
f78ee6af 36312012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
9db94175
WJ
3632
3633 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
f78ee6af
GM
3634 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
3635 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
9db94175 3636
f78ee6af 36372012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
2e6625b5
FEG
3638
3639 Fix end-of-defun misbehavior.
3640 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
3641 python-beginning-of-defun-function. Handle nested defuns
3642 correctly.
3643 (python-nav-end-of-defun): Rename from
3644 python-end-of-defun-function. Ensure forward movement.
f8705f6e 3645 (python-info-current-defun): Reimplement to work as intended
2e6625b5
FEG
3646 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
3647 parent defuns as soon as possible.
3648
f78ee6af 36492012-11-13 Glenn Morris <rgm@gnu.org>
24c38527
GM
3650
3651 * progmodes/flymake.el (flymake-error-bitmap)
3652 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
3653 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
3654
f78ee6af 36552012-11-13 Dmitry Gutov <dgutov@yandex.ru>
d1e1e53d
DG
3656
3657 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
3658 backward, always stop at indentation. Reverts the change from
3659 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
3660
f78ee6af 36612012-11-13 Glenn Morris <rgm@gnu.org>
68146aa5 3662
a1d3e07e
GM
3663 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
3664 Add ibuffer-filter-by-derived-mode.
3665
84acf328
GM
3666 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
3667 the same name shadowing each other.
3668
38785e75
GM
3669 * window.el (with-temp-buffer-window): Doc tweak.
3670
57fc0fee
GM
3671 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
3672
6ba6a3e5
GM
3673 * help.el (temp-buffer-max-height):
3674 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
68146aa5
GM
3675 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
3676
231d8498
SM
36772012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
3678
3679 * emacs-lisp/nadvice.el: New package.
3680 * subr.el (special-form-p): New function.
3681 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
3682 (elp-all-instrumented-list): Remove var.
3683 (elp-not-profilable): Remove elp-wrapper.
3684 (elp-profilable-p): Use autoloadp and special-form-p.
3685 (elp--advice-name): New const.
3686 (elp-instrument-function): Use advice-add.
3687 (elp--instrumented-p): New predicate.
3688 (elp-restore-function): Use advice-remove.
3689 (elp-restore-all, elp-reset-all): Use mapatoms.
3690 (elp-set-master): Use elp--instrumented-p.
3691 (elp--make-wrapper): Rename from elp-wrapper, return a function
3692 suitable for advice-add. Use cl-inf.
3693 (elp-results): Use mapatoms+elp--instrumented-p.
3694 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
3695 (debug-function-list): Remove var.
3696 (debug): Rename arg, and then let-bind it explicitly inside.
3697 (debugger-setup-buffer): Rename arg.
3698 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
3699 (debugger-frame-number): Adjust to new debug-on-entry setup.
3700 (debug--implement-debug-on-entry): Rename from
3701 implement-debug-on-entry, add argument.
3702 (debugger-special-form-p): Remove, use special-form-p instead.
3703 (debug-on-entry): Use advice-add.
3704 (debug--function-list): New function.
3705 (cancel-debug-on-entry): Use it, along with advice-remove.
3706 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
3707 (debugger-list-functions): Use debug--function-list instead of
3708 debug-function-list.
3709 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
3710 (ad-special-form-p): Remove, use special-form-p instead.
3711 (ad-set-advice-info): Use add-function and remove-function.
3712 (ad--defalias-fset): Adjust accordingly.
3713
19e09879
GM
37142012-11-10 Glenn Morris <rgm@gnu.org>
3715
714cebd1
GM
3716 * mail/emacsbug.el (report-emacs-bug-tracker-url)
3717 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
3718 (report-emacs-bug-create-existing-bugs-buffer)
3719 (report-emacs-bug-parse-query-results)
3720 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
3721
bf67dafa
GM
3722 * term.el (term-default-fg-color, term-default-bg-color):
3723 Make obsolete, rather than just saying "deprecated" in the doc.
3724
19e09879
GM
3725 * term.el (term): Rename from `term-face'.
3726 (term-current-face, ansi-term-color-vector)
3727 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
3728 Update all users.
3729
6baf66d5 37302012-11-10 Jan Djärv <jan.h.d@swipnet.se>
531bdce6
JD
3731
3732 * server.el (server-create-window-system-frame): Handle Nextstep
3733 specially (Bug#12780).
3734
6baf66d5 37352012-11-10 Glenn Morris <rgm@gnu.org>
fedb154e
GM
3736
3737 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
3738 Unautoload, and make obsolete. (Bug#7449)
3739
6baf66d5 37402012-11-10 Chong Yidong <cyd@gnu.org>
9d9e48d9
CY
3741
3742 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
3743 rename from diff-remove-trailing-whitespace (Bug#12831).
3744
6baf66d5 37452012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
32170f7f
SM
3746
3747 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
3748 miscompilation of trace.el.
3749
6baf66d5 37502012-11-10 Glenn Morris <rgm@gnu.org>
26f59676
GM
3751
3752 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
3753
6baf66d5 37542012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
41626722
SM
3755
3756 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
3757 (bug#12812).
3758
6baf66d5 37592012-11-10 Chong Yidong <cyd@gnu.org>
7d806bfe
CY
3760
3761 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
3762 a defcustom with an appropriate :set function.
3763 (minibuffer-default--in-prompt-regexps): New function.
3764
6baf66d5 37652012-11-10 Glenn Morris <rgm@gnu.org>
2ee1d59f 3766
031b2ea7
GM
3767 * emacs-lisp/cl.el (define-setf-expander, defsetf)
3768 (define-modify-macro): Doc fixes.
3769
2ee1d59f
GM
3770 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
3771 (gv-define-simple-setter): Update doc of `fix-return'.
3772
6baf66d5 37732012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
d57c286e 3774
b715ed44
SM
3775 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
3776 twice when `fix-return' is set (bug#12813).
3777
d57c286e
SM
3778 * emacs-lisp/cl.el (defsetf): Pass the third arg to
3779 gv-define-simple-setter (bug#12812).
3780
c9cac599
SM
3781 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
3782 (bug#12756).
3783
6baf66d5 37842012-11-10 Glenn Morris <rgm@gnu.org>
6b3770fb
GM
3785
3786 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
3787
5593ed90
GM
3788 * emacs-lisp/cl-extra.el (cl-prettyexpand):
3789 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
3790 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
3791 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
3792
3793 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
3794
05a859c1
LL
37952012-11-10 Leo Liu <sdl.web@gmail.com>
3796
3797 * ido.el (ido-set-matches-1): Improve flex matching performance by
3798 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
3799
32e5c58c
SM
38002012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3801
3802 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
3803 (ad--defalias-fset): New function.
3804 (ad-safe-fset): Remove.
3805 (ad-make-freeze-definition): Use cl-letf*.
3806
f5925cd9
SM
38072012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3808
da03ef8a
SM
3809 * subr.el (dolist): Don't bind VAR in RESULT.
3810
6858633a
SM
3811 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
3812 (fset, documentation): Don't save real def since we don't advise.
3813 (ad-do-advised-functions): Remove problematic `result-form'.
3814 (ad-safe-fset): `ad-real-fset' => `fset'.
3815 (ad-read-advised-function): Don't assume that ad-do-advised-functions
3816 uses CL's dolist internally.
3817 (ad-arglist): Remove unused arg `name'.
3818 (ad-docstring, ad-make-advised-docstring):
3819 `ad-real-documentation' => `documentation'.
3820 (warning-suppress-types): Declare.
3821 (ad-set-arguments): Simple CSE.
3822 (ad-recover-normality): Sanity check.
3823
f5925cd9
SM
3824 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
3825 (funcall '(lambda ..) ..) into ((lambda ..) ..).
3826
93a66b3a
VB
38272012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
3828
3829 * ses.el: symbol to coordinate mapping is made by symbol property
f5925cd9
SM
3830 `ses-cell'. This means that the same mapping is done for all SES
3831 sheets. That is good enough for cells with standard A1 names, but
3832 not for named cell. So a hash map is added for the latter.
3833 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
93a66b3a
VB
3834 (ses-sym-rowcol): Use hashmap for named cell.
3835 (ses-is-cell-sym-p): New defun.
3836 (ses-decode-cell-symbol): New defun.
f5925cd9
SM
3837 (ses-create-cell-variable): Add cell to hashmap when name is not
3838 A1-like.
93a66b3a
VB
3839 (ses-rename-cell): Check that cell new name is not already in
3840 spreadsheet with the use of ses-is-cell-sym-p
3841 (ses-rename-cell): Use hash map for named cells, but accept also
3842 renaming back to A1-like.
3843
67dd8ad1
SM
38442012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3845
57618ecf
SM
3846 * emacs-lisp/advice.el: Use new dynamic docstrings.
3847 (ad-make-advised-definition-docstring, ad-advised-definition-p):
3848 Use dynamic-docstring-function instead of ad-advice-info.
3849 (ad--make-advised-docstring): New function extracted from
3850 ad-make-advised-docstring.
3851 (ad-make-advised-docstring): Use it.
3852 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
3853 from sql-help.
3854 (sql-help): Use it with dynamic-docstring-function.
3855
67dd8ad1
SM
3856 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
3857
be883b34
SM
38582012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3859
d41706aa
SM
3860 * files.el (hack-one-local-variable--obsolete): New function.
3861 (hack-one-local-variable): Use it for obsolete settings.
3862
85e55412
SM
3863 * subr.el (locate-user-emacs-file): If both old and new name exist, use
3864 the new name.
3865
be883b34
SM
3866 * progmodes/js.el (js--filling-paragraph): New var.
3867 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
3868 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
3869 less sneaky.
3870
cabc040a
JD
38712012-11-08 Julien Danjou <julien@danjou.info>
3872
3873 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
3874 `auto-mode-alist' (Bug#12835).
3875
d14bb752
SM
38762012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3877
79b3e376
SM
3878 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
3879 (perl--prettify-symbols-alist): New const.
3880 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
3881 New functions.
3882 (perl-font-lock-keywords-2): Use them.
3883 (perl-electric-noindent-p): New function.
3884 (perl-mode): Use it to set up electric-indent-mode.
3885 (perl-electric-terminator, perl-indent-command): Mark obsolete.
3886 (perl-mode-map): Remove bindings for them.
3887 (perl-imenu-generic-expression, perl-outline-level):
3888 Match functions&packages in column>0.
3889
3b11e6ac
SM
3890 * env.el (env--substitute-vars-regexp): New const.
3891 (substitute-env-vars): Use it. Add `only-defined' arg.
3892 * net/tramp.el (tramp-replace-environment-variables): Use it.
3893
784c1a7b
SM
3894 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
3895 Byte-compile *before* eval in eval-and-compile.
3896 (byte-compile-log-warning): Remove redundant inhibit-read-only.
3897 (byte-compile-file-form-autoload): Don't hide actual definition.
3898 (byte-compile-maybe-guarded): Accept `functionp' as well.
3899
d14bb752
SM
3900 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
3901
499a0f7a
MA
39022012-11-07 Michael Albinus <michael.albinus@gmx.de>
3903
3904 * notifications.el (notifications-get-server-information-method):
3905 New defconst.
3906 (notifications-get-capabilities): Fix docstring.
3907 (notifications-get-server-information): New defun.
3908
f0704a9a
AM
39092012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3910
3911 * textmodes/ispell.el (ispell-region): Standard re-indent for better
3912 readability.
3913
b159a1fd
AM
3914 * textmodes/ispell.el: Experimental support for support debugging.
3915 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
3916 buffer for ispell.
3917 (ispell-print-if-debug): New function to print stuff to
3918 `ispell-debug-buffer' if debugging is enabled.
3919 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
3920 show some debugging info.
3921 (ispell-buffer-with-debug): New function that creates a debugging
3922 buffer and calls `ispell-buffer' with debugging enabled.
3923
056cb3a1
AM
3924 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
3925 comment in autoconf mode. (Bug#12768)
3926
8e6a67b7
DA
39272012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
3928
3929 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
3930 frame-first-window, frame-root-window, frame-selected-window,
3931 minibuffer-selected-window, minibuffer-window,
3932 window-absolute-pixel-edges, window-at, window-body-height,
3933 window-body-width, window-display-table, window-combination-limit,
3934 window-frame, window-fringes, window-inside-absolute-pixel-edges,
3935 window-inside-edges, window-inside-pixel-edges, window-left-child,
3936 window-left-column, window-margins, window-next-buffers,
3937 window-next-sibling, window-new-normal, window-new-total,
3938 window-normal-size, window-parameter, window-parameters, window-parent,
3939 window-pixel-edges, window-point, window-prev-buffers,
3940 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
3941 window-start, window-text-height, window-top-child, window-top-line,
3942 window-total-height, window-total-width and window-use-time to the list
3943 of functions without side-effects.
3944 (toplevel): Add window-valid-p to the list of error-free functions
3945 without side-effects.
3946
53fc914f
AM
39472012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3948
f5925cd9
SM
3949 * textmodes/ispell.el (ispell-program-name):
3950 Update spellchecker parameters when customized.
53fc914f 3951
9749e2b0
GM
39522012-11-04 Glenn Morris <rgm@gnu.org>
3953
3954 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
3955
2cbafa56
CY
39562012-11-04 Chong Yidong <cyd@gnu.org>
3957
3958 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
3959 same-window-* variables.
3960
85178ca1
JL
39612012-11-04 Juri Linkov <juri@jurta.org>
3962
3963 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
3964 (isearch-describe-key, isearch-describe-mode): Use a display
3965 action instead of binding same-window-* variables (Bug#10040).
3966
5c677d44
GM
39672012-11-03 Glenn Morris <rgm@gnu.org>
3968
49138400
GM
3969 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
3970 Rename handler properties back from cl-- to cl-. (Bug#12788)
3971
5c677d44
GM
3972 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
3973
1d4341f9
EZ
39742012-11-03 Eli Zaretskii <eliz@gnu.org>
3975
3976 * term/pc-win.el: Don't load term/internal from here.
3977
3978 * loadup.el: Load term/internal from here.
3979
12fd5ee1
FEG
39802012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
3981
3982 * progmodes/python.el (inferior-python-mode): Fix hang in
3983 jit-lock (Bug#12645).
3984
43bcfda6
MR
39852012-11-03 Martin Rudalics <rudalics@gmx.at>
3986
3987 * window.el (switch-to-visible-buffer)
3988 (switch-to-buffer-preserve-window-point): Fix doc-strings.
3989
376a8e83
GM
39902012-11-03 Glenn Morris <rgm@gnu.org>
3991
3992 * emacs-lisp/cl-lib.el (cl--random-time):
3993 Rename from cl-random-time. (Bug#12773)
3994 (cl--gensym-counter, cl--random-state): Update callers.
3995 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
3996
0f7b074f
CY
39972012-11-03 Chong Yidong <cyd@gnu.org>
3998
3999 * cus-start.el: Make cursor-type customizable (Bug#11633).
4000
3a6851d9
GM
40012012-11-02 Glenn Morris <rgm@gnu.org>
4002
00a3b041
GM
4003 * filecache.el: No need to load find-lisp when compiling.
4004 (find-lisp-find-files): Autoload it.
4005 (file-cache-add-directory-recursively): Don't require find-lisp.
4006
11fef14a
GM
4007 * image.el (image-type-from-file-name): Trivial simplification.
4008
3a6851d9
GM
4009 * emacs-lisp/bytecomp.el (byte-compile-eval):
4010 Decouple "noruntime" and "cl-functions" warnings.
4011
b4b096e4
SB
40122012-11-01 Stephen Berman <stephen.berman@gmx.net>
4013
4014 * play/gomoku.el (gomoku-display-statistics): Update mode line
4015 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
4016
218e997a
MR
40172012-10-31 Martin Rudalics <rudalics@gmx.at>
4018
4019 * window.el (quit-restore-window): If the window has been
4020 created on an existing frame and ended up as the sole window on
4021 that frame, do not delete it (Bug#12764).
4022
b08b6da7
SM
40232012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
4024
3618df45
SM
4025 * progmodes/sh-script.el (sh--inside-noncommand-expression):
4026 Rename from sh--inside-arithmetic-expression, handle more cases
4027 (bug#11263).
4028
b08b6da7
SM
4029 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
4030 (sh-font-lock-open-heredoc): Use it (bug#12770).
4031
4ddedf94
GM
40322012-10-30 Glenn Morris <rgm@gnu.org>
4033
f43a5263
GM
4034 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
4035
4ddedf94
GM
4036 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
4037
748b0d84
CY
40382012-10-29 Chong Yidong <cyd@gnu.org>
4039
b5dd9a77
CY
4040 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
4041 function key is stored in a keyboard macro (Bug#4894).
4042
748b0d84
CY
4043 * thingatpt.el (number-at-point): Apply a thing-at-point property.
4044
e07fcbdc
SM
40452012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
4046
d7f9cc85
SM
4047 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
4048 header comments".
4049 (diff-unified->context, diff-context->unified)
4050 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
4051
c606253c
SM
4052 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
4053
e07fcbdc
SM
4054 * files.el (find-alternate-file): Only ask one question (bug#12487).
4055
894b9dd9
CY
40562012-10-29 Chong Yidong <cyd@gnu.org>
4057
1dc2755a
CY
4058 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
4059 Suggested by Dan Nicolaescu (Bug#6326).
4060
329c48d8
CY
4061 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
4062
2230fa5b 4063 * startup.el (fancy-about-screen): Don't message (Bug#12680).
5c2f2631 4064
e84cad57
CY
4065 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
4066
1913c5f5
CY
4067 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
4068
894b9dd9
CY
4069 * face-remap.el (face-remap-add-relative): Handle the case where a
4070 face-remapping-alist entry is a cons cell (Bug#12762).
4071
329c48d8
CY
40722012-10-29 Kevin Ryde <user42@zip.com.au>
4073
4074 * woman.el (woman-parse-numeric-value): Handle picas correctly
4075 (Bug#12639).
4076
a0ccbcbd
GM
40772012-10-29 Glenn Morris <rgm@gnu.org>
4078
4079 * emacs-lisp/cl.el (defsetf): Doc fix.
4080
b3871e59
SM
40812012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
4082
4083 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
4084 syntax to the matching opener, if any (bug#12547).
4085 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
4086 matching open as a "case-(".
4087 (sh-smie-rc-grammar): Add a corresponding rule for it.
4088
cd44022c
DH
40892012-10-28 Daniel Hackney <dan@haxney.org>
4090
4091 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
4092 "PKGNAME-autoloads.el" in case we created it.
4093
70edffb1
SM
40942012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4095
86957a0c
SM
4096 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
4097 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
b9383404 4098 (completion--twq-all): Disable too-strict assertions.
86957a0c 4099
70edffb1
SM
4100 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
4101
d069271c
EZ
41022012-10-27 Eli Zaretskii <eliz@gnu.org>
4103
4104 * profiler.el (profiler-report-make-entry-part): Fix help-echo
4105 text to match the real keybindings.
4106
e2f022a3
JL
41072012-10-27 Juri Linkov <juri@jurta.org>
4108
4109 * wdired.el (wdired-keep-marker-rename): New defcustom.
4110 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
4111 (Bug#11795)
4112
4113 * dired.el (dired-keep-marker-rename): Add reference to
4114 `wdired-keep-marker-rename' in the docstring.
4115 Add default character value ?R to display initially in
4116 Customization UI instead of ?@.
4117
df171c23
MR
41182012-10-27 Martin Rudalics <rudalics@gmx.at>
4119
4120 * window.el (display-buffer): In doc-string describe
4121 window-height and window-width alist entries.
4122
4123 * time.el (display-time-world): Restore fit-window-to-buffer
4124 behavior.
4125
05b621a6
CY
41262012-10-27 Chong Yidong <cyd@gnu.org>
4127
4128 * subr.el (insert-buffer-substring-as-yank): Doc fix.
4129
55f197b2
J
41302012-10-26 Jambunathan K <kjambunathan@gmail.com>
4131
4132 * minibuffer.el (completion-category-overrides): New completion
4133 category `bookmark' (bug#11131).
4134
372212df
SM
41352012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
4136
150f809c
SM
4137 * emacs-lisp/advice.el (ad-assemble-advised-definition):
4138 Silence bogus compiler warnings for ad-do-it.
4139
372212df
SM
4140 * bookmark.el (bookmark-completing-read): Set the completion category
4141 to `bookmark' (bug#11131).
4142
c5772569
B
41432012-10-26 Bastien <bzg@altern.org>
4144 Stefan Monnier <monnier@iro.umontreal.ca>
4145
4146 * face-remap.el: Use lexical-binding.
4147 (text-scale-adjust): Improve docstring. Use itself for the temporary
4148 overlay-map bindings, so as to repeat the "Use..." message each time.
4149
a2be0357
SM
41502012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
4151
63314e57
SM
4152 * emacs-lisp/macroexp.el (macroexp--expand-all):
4153 Obey byte-compile-warning-enabled-p (bug#12486).
4154
a2be0357
SM
4155 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
4156 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
4157
8c7727c3
MR
41582012-10-26 Martin Rudalics <rudalics@gmx.at>
4159
4160 * mouse.el (mouse-drag-line): Move last form into preceding when
4161 clause (Bug#12731).
4162
4163 * help.el (resize-temp-buffer-window): Fix doc-string.
4164
3f2a848d
DE
41652012-10-25 David Engster <deng@randomsample.de>
4166
4167 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
a2be0357 4168 Remove. This feature is already integrated in imenu.
3f2a848d
DE
4169
4170 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
4171 always loaded. Require `speedbar' unconditionally.
4172
a7723be6
SM
41732012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4174
aaabfc8b
SM
4175 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
4176
414a8595
SM
4177 * minibuffer.el (minibuffer-force-complete): Fix thinko.
4178
fb5b9475
SM
4179 * net/ldap.el (ldap-search-internal): The official ldif format starts
4180 with a "version: 1" header (bug#12724).
4181
a7723be6
SM
4182 * emacs-lisp/package.el (package-installed-p): Warn if not ready
4183 (bug#12721).
4184
a05cb6e3
GM
41852012-10-25 Glenn Morris <rgm@gnu.org>
4186
4187 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
4188
3c92de70
SM
41892012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4190
4191 * minibuffer.el (minibuffer-force-complete): Use one more marker
4192 for the temporary-overlay-map command (bug#12619).
4193
a4b6d7c6
CY
41942012-10-24 Chong Yidong <cyd@gnu.org>
4195
4196 * time.el (display-time-world-mode): Derive from special-mode.
4197 (display-time-world): Use display-buffer (Bug#12708).
4198 (display-time-world-mode-map): Variable deleted.
9321d8d7
CY
4199 (display-time-world-display): Wrap the final delete-char inside
4200 inhibit-read-only.
a4b6d7c6 4201
75e8f9d2
CY
42022012-10-24 Chong Yidong <cyd@gnu.org>
4203
cd996018
CY
4204 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
4205 Doc fix.
4206
75e8f9d2
CY
4207 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
4208
d92df117
SM
42092012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4210
4211 * minibuffer.el (completion--all-sorted-completions-location): New var.
4212 (completion--cache-all-sorted-completions)
4213 (completion--flush-all-sorted-completions): Use it.
4214 (completion-in-region, completion-in-region--postch)
4215 (completion-at-point, completion-help-at-point): Use markers in
4216 completion-in-region--data (bug#12619).
4217
9c3e39f3
SM
42182012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4219
c79825bd
SM
4220 * progmodes/compile.el (compilation-start): Try to handle common
4221 quoting of `cd' argument (bug#12640).
4222
9c3e39f3
SM
4223 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
4224 (bug#12671).
4225
a6709bc7
GM
42262012-10-23 Glenn Morris <rgm@gnu.org>
4227
4228 * progmodes/gud.el (gud-menu-map):
4229 Check gdb-active-process is bound. (Bug#12358)
4230
d1069532
SM
42312012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4232
d20d69c0
SM
4233 * repeat.el (repeat): Set real-this-command (bug#12232).
4234
d1069532
SM
4235 * htmlfontify.el (hfy-post-html-hook):
4236 * filesets.el (filesets-cache-fill-content-hook):
4237 * arc-mode.el (archive-extract-hook):
4238 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
4239 * net/rcirc.el (rcirc-sentinel-functions)
4240 (rcirc-receive-message-functions, rcirc-activity-functions)
4241 (rcirc-print-functions):
4242 * net/dbus.el (dbus-event-error-functions):
4243 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
4244 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
4245 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
4246 * term/sun.el (sun-raw-prefix-hooks):
4247 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
4248
f7eac6d8
MA
42492012-10-23 Michael Albinus <michael.albinus@gmx.de>
4250
d1069532
SM
4251 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4252 Set `tramp-chunksize' to 1. This improves the performance.
f7eac6d8
MA
4253 (tramp-smb-wait-for-output): Add timeout to
4254 `tramp-accept-process-output' calls.
4255
608d9d7c
CY
42562012-10-23 Chong Yidong <cyd@gnu.org>
4257
49238e7f
CY
4258 * faces.el (font-list-limit): Define as an obsolete variable.
4259
4260 * startup.el (command-line):
4261 * cus-start.el: Don't refer to font-list-limit.
4262
608d9d7c
CY
4263 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
4264
4ff5b1b2
SM
42652012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4266
4267 * subr.el (internal-temp-output-buffer-show): Rename from
4268 temp-output-buffer-show, since previously compiled files expect this name.
4269
ea1d4aac
GM
42702012-10-23 Glenn Morris <rgm@gnu.org>
4271
4272 * image.el (image-type-from-file-name): If multiple types match,
4273 return the first one that is supported. (Bug#9045)
4274
eda82a31
GM
42752012-10-22 Glenn Morris <rgm@gnu.org>
4276
4277 * image.el (imagemagick-enabled-types): Doc fix.
4278
4f020bec
TA
42792012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
4280
4281 * progmodes/which-func.el (which-func-current): The hash-table may have
4282 an explicit nil (bug#12338).
4283
c77d37e2
SM
42842012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
4285
4286 * electric.el (electric-pair-delete-selection-self-insert-function):
4287 Rename to electric-pair-will-use-region, return a boolean.
4288 (electric-pair-mode): Adjust accordingly. Don't require delsel.
4289
4290 * delsel.el (delete-selection-helper): Use a function instead of a hook.
4291 (delete-selection-pre-hook): Use use-region-p.
4292 (delete-selection-self-insert-function): Remove.
4293 (self-insert-command): Obey self-insert-uses-region-functions.
4294 (self-insert-iso): Revert to previous setting, since we don't actually
4295 know what that command does.
4296 (delete-selection-self-insert-hooks): Remove.
4297
b1d39ccc
SL
42982012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
4299
4300 * delsel.el (delete-selection-helper): New function, extracted from
4301 delete-selection-pre-hook.
4302 (delete-selection-pre-hook): Use it.
4303 (delete-selection-self-insert-function): New function.
4304 (delete-selection-self-insert-hooks): New hook.
4305 (self-insert-command, self-insert-iso): Use it.
4306 * electric.el (electric-pair-syntax): New function, extracted from
4307 electric-pair-post-self-insert-function.
4308 (electric-pair-post-self-insert-function): Use it.
4309 (electric-pair-delete-selection-self-insert-function): New function.
4310 (electric-pair-mode): Require delsel and setup
4311 delete-selection-self-insert-hooks (bug#11520).
4312
045ef729
CY
43132012-10-20 Chong Yidong <cyd@gnu.org>
4314
4c5d08a8
CY
4315 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
4316 no changes to show (Bug#12586).
4317
045ef729
CY
4318 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
4319 list explicitly (Bug#12571).
4320
3503c798 43212012-10-20 Arne Jørgensen <arne@arnested.dk>
79e1997a 4322
b1d39ccc
SL
4323 * progmodes/flymake.el (flymake-create-temp-inplace):
4324 Use file-truename.
79e1997a 4325
2068905b
EZ
43262012-10-20 Eli Zaretskii <eliz@gnu.org>
4327
4328 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
4329
4c9e9550
JB
43302012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
4331
4332 * calc/calc-units.el (math-extract-units): Properly extract powers
4333 of units.
4334
1a6e7e38
DC
43352012-10-20 Daniel Colascione <dancol@dancol.org>
4336
4337 * frame.el (make-frame): Set x-display-name as we used to in order
4338 to unbreak creating an X11 frame from an Emacs daemon started
4339 without a display.
4340
8e808318
SM
43412012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4342
4343 * minibuffer.el (minibuffer-force-complete): Make the next completion use
f5925cd9 4344 the same completion-field (bug#12221).
8e808318 4345
fb0104da
MR
43462012-10-19 Martin Rudalics <rudalics@gmx.at>
4347
4348 * emacs-lisp/debug.el (debug): Record height of debugger window
4349 also when debugger will be back (Bug#8789).
4350
8c27235e
CY
43512012-10-18 Chong Yidong <cyd@gnu.org>
4352
4353 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
4354 Convert to defcustom.
4355 (gdb-get-source-file): Don't bind pop-up-windows.
4356
4357 * progmodes/gud.el (gud-display-line): Don't specially re-use
4358 other frames for the gdb-mi case (Bug#12648).
4359
90eacf99
SM
43602012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
4361
aaf0c300
SM
4362 * emacs-lisp/advice.el: Clean up commentary a bit.
4363 (ad-do-advised-functions, ad-with-originals): Use `declare'.
4364 (byte-code-function-p): Never redefine.
4365
90eacf99
SM
4366 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
4367
281c9d2b
GM
43682012-10-18 Glenn Morris <rgm@gnu.org>
4369
40714e3d
GM
4370 * dired.el (dired-sort-toggle): Some ls implementations only allow
4371 a single option string. (Bug#12666)
4372
281c9d2b
GM
4373 * minibuffer.el (completion-cycle-threshold): Doc fix.
4374
b278604e
KH
43752012-10-17 Kenichi Handa <handa@gnu.org>
4376
90eacf99
SM
4377 * international/mule.el (set-keyboard-coding-system):
4378 Recover input meta mode when the new coding system doesn not use 8-bit.
b278604e
KH
4379 Supply TERMINAL arg to set-input-meta-mode.
4380
df171c23 43812012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
7ebc5f5a
MH
4382
4383 * wdired.el (wdired-old-marks): New variable.
4384 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
4385 (wdired-do-renames): Move point with renamed file and don't lose
4386 mark status (Bug#11795).
4387
e5a94ec4
JL
43882012-10-16 Juri Linkov <juri@jurta.org>
4389
4390 * replace.el (query-replace-help): Mention multi-buffer replacement
4391 keys in the Help message. (Bug#12655)
4392
d18a0d24
CY
43932012-10-15 Chong Yidong <cyd@gnu.org>
4394
4395 * emacs-lisp/byte-run.el (defsubst): Doc fix.
4396
8111f5e6
EZ
43972012-10-14 Eli Zaretskii <eliz@gnu.org>
4398
7b9abf24
EZ
4399 * window.el (display-buffer): Doc fix.
4400
8111f5e6
EZ
4401 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4402 Adjust the msft regexp to the output of Studio 2010, and move msft
4403 before edg-1. See the discussion on emacs-devel,
4404 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
4405 for the details.
4406
5046ef67
SM
44072012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
4408
9760c73c
SM
4409 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
4410 (oset): Move uses of object-class-fast macro after its definition.
4411
5046ef67
SM
4412 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
4413
0d11ff1c
CY
44142012-10-13 Chong Yidong <cyd@gnu.org>
4415
4416 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
4417 enabled, re-enable it (Bug#11963).
4418
88ded8ac
MR
44192012-10-13 Martin Rudalics <rudalics@gmx.at>
4420
4421 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
4422 non-nil, restore window configuration (Bug#12623).
4423
bd0ffffd
SM
44242012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4425
06485aa8
SM
4426 * help-fns.el (describe-variable, describe-function-1):
4427 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
4428
bd0ffffd
SM
4429 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
4430
3a989246
GM
44312012-10-12 Glenn Morris <rgm@gnu.org>
4432
4433 * mail/rmailsum.el (rmail-header-summary):
4434 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
4435
55cd00c8
FEG
44362012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
4437
bd0ffffd
SM
4438 * progmodes/python.el (python-mode-map):
4439 Replace subtitute-key-definition with proper command remapping.
55cd00c8
FEG
4440 (python-nav--up-list): Fix behavior for blocks on the same level.
4441
ac9fc2c7
SM
44422012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4443
d8cc4c00 4444 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
d8cc4c00 4445
5253a5fd
SM
4446 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
4447 changes to the format of load-history.
4448
ac9fc2c7
SM
4449 * international/mule-cmds.el (read-char-by-name): Move let-binding of
4450 completion-ignore-case in case that var is buffer-local (bug#12615).
4451
cde44a77
KH
44522012-10-11 Kenichi Handa <handa@gnu.org>
4453
4454 * international/eucjp-ms.el: Re-generated.
4455
4ef4a10d
KH
44562012-10-10 Kenichi Handa <handa@gnu.org>
4457
4458 * select.el (xselect--encode-string): If a coding is specified for
4459 selection, and that is compatible with COMPOUND_TEXT, use it.
4460
9d7f027b
MR
44612012-10-10 Martin Rudalics <rudalics@gmx.at>
4462
4463 * window.el (switch-to-buffer-preserve-window-point): New option.
ac9fc2c7
SM
4464 (switch-to-buffer):
4465 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
9d7f027b 4466
238f3a58
SM
44672012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4468
4469 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
4470 Don't document nil as a useful value (bug#12583).
4471
1d51f99c
MA
44722012-10-09 Michael Albinus <michael.albinus@gmx.de>
4473
238f3a58
SM
4474 * net/tramp.el (tramp-debug-message):
4475 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
1d51f99c
MA
4476 (with-tramp-progress-reporter): Rename from
4477 `tramp-with-progress-reporter'.
238f3a58
SM
4478 (with-tramp-file-property, with-tramp-connection-property):
4479 Move from tramp-cache.el, rename from `with-file-property' and
1d51f99c
MA
4480 `with-connection-property', respectively.
4481
4482 * net/tramp-cache.el: Remove `with-file-property' and
4483 `with-connection-property'.
4484
4485 * net/tramp.el:
4486 * net/tramp-gvfs.el:
4487 * net/tramp-sh.el:
4488 * net/tramp-smb.el: Adapt callees.
4489
4490 * net/trampver.el: Update release number.
4491
26b77251
GM
44922012-10-09 Glenn Morris <rgm@gnu.org>
4493
9a5f296f
GM
4494 * w32-fns.el (set-message-beep):
4495 * term/w32-win.el (set-message-beep): Update declarations.
4496
94c66ce5
SM
44972012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4498
10766e9e
SM
4499 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
4500 (mode-line-widen, mode-line-input-method-map)
4501 (mode-line-coding-system-map, mode-line-remote)
4502 (mode-line-unbury-buffer, mode-line-bury-buffer)
4503 (mode-line-next-buffer, mode-line-previous-buffer):
4504 Replace save-selected-window+select-window => with-selected-window.
4505
f754db08
SM
4506 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
4507 * progmodes/cc-vars.el (bq-process): Remove, unused.
4508
94c66ce5
SM
4509 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
4510
a4ff7fe1
FEG
45112012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
4512
4513 Implemented `backward-up-list'-like navigation.
4514 * progmodes/python.el (python-nav-up-list)
4515 (python-nav-backward-up-list): New functions.
4516 (python-mode-map): Define substitute key for backward-up-list to
4517 python-nav-backward-up-list.
4518
24517d82
FEG
45192012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4520
4521 * progmodes/python.el (python-fill-paragraph): Rename from
4522 python-fill-paragraph-function. Fixed fill-paragraph for
4523 decorators (Bug#12605).
4524
51867ae2
FEG
45252012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4526
4527 * progmodes/python.el (python-shell-output-filter): Handle extra
4528 carriage return in OSX (Bug#12409).
4529
a5b773c4
FEG
45302012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4531
4532 Fix shell handling of unbalanced quotes and parens in output.
94c66ce5 4533 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
a5b773c4
FEG
4534 (python-syntax-propertize-function): Use it.
4535 (python-shell-output-syntax-table): New var.
4536 (inferior-python-mode): Prevent unbalanced parens/quotes from
4537 previous output mess with current input context.
4538
13373538
JB
45392012-10-08 Juanma Barranquero <lekktu@gmail.com>
4540
4541 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
4542 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
4543
775a132d
MA
45442012-10-08 Michael Albinus <michael.albinus@gmx.de>
4545
4546 * ffap.el (ffap-replace-file-component): Support Tramp file name
4547 syntax, not only ange-ftp's one.
4548
3ab44929
GM
45492012-10-08 Glenn Morris <rgm@gnu.org>
4550
57f1dee4
GM
4551 * cus-start.el (message-log-max): Set :version.
4552
3ab44929
GM
4553 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
4554
6a088630
MR
45552012-10-08 Martin Rudalics <rudalics@gmx.at>
4556
4557 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
4558 the minibuffer window (Bug#10851).
4559
8dbce54c
FEG
45602012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4561
4562 Enhancements on forward-sexp movement.
4563 * progmodes/python.el (python-nav-beginning-of-statement)
4564 (python-nav-end-of-statement): Return point-marker.
4565 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
4566 (python-info-current-symbol)
4567 (python-info-statement-starts-block-p): Rename from
4568 python-info-beginning-of-block-p.
4569 (python-info-statement-ends-block-p): Rename from
4570 python-info-end-of-block-p.
4571 (python-info-beginning-of-statement-p)
4572 (python-info-end-of-statement-p)
4573 (python-info-beginning-of-block-p, python-info-end-of-block-p):
4574 New functions.
4575
5acd2b3e
SM
45762012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4577
4578 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
4579 frame-selected-windows.
4580
e08348a0
DC
45812012-10-08 Daniel Colascione <dancol@dancol.org>
4582
4583 * battery.el (battery-status-function): Check for
4584 w32-battery-status itself, not system-time windows-nt.
4585
4586 * frame.el: Require cl-lib.
4587 (display-format-alist): New variable mapping frame types to
4588 functions that initialize them.
4589 (window-system-for-display): New function: interprets
4590 display-format-alist.
4591 (make-frame-on-display): Remove existing display-selection logic
4592 and just forward to make-frame, which will now DTRT.
4593 (make-frame): Restructure to use window-system-for-display to
4594 figure out how to create a frame on a given display.
4595 (display-mouse-p): Look for frame-type w32, not a particular
4596 system-type.
4597
4598 * loadup.el: Load w32 lisp code when we have the w32 feature.
4599
4600 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
4601 system-type windows-nt.
4602
4603 * server.el (server-create-window-system-frame): Look for window
4604 type.
4605 (server-proces-filter): Only force a window system when windows-nt
4606 _and_ w32. Explain why.
4607
4608 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
4609 of window systems we configure for the mode.
4610
4611 * startup.el (command-line): Mark window system is initialized
4612 after we've done it.
4613
4614 * common-win.el (x-select-text): Look for w32, not windows-nt.
4615
4616 * ns-win.el: Require cl-lib. Add ourselves to
4617 display-format-alist.
4618 (ns-initialize-window-system): Assert we're not initialized twice.
4619
4620 * w32-win.el: Enable lexical binding; require cl-lib; add
4621 ourselves to display-format-alist.
4622 (w32-handle-dropped-file): Convert incoming dropped files from
4623 Windows paths to Cygwin ones before passing them on to the rest of
4624 Emacs.
4625 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
4626 (w32-initialize-window-system): Assert we're not initialized twice.
4627
4628 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
4629 (x-initialize-window-system): Assert we're not initialized twice.
4630
4631 * w32-common-fns.el: New File.
4632 (w32-version, w32-using-nt, w32-get-clipboard-data)
4633 (w32-set-clipboard-data, x-set-selection, x-get-selection)
4634 (w32-charset-info-alist, x-last-selected, text)
4635 (x-get-selection-value, x-selection-value): Move here.
4636
4637 * w32-fns.el: Require w32-common-fns.
4638 (w32-version, w32-using-nt, w32-get-clipboard-data)
4639 (w32-set-clipboard-data, x-set-selection, x-get-selection)
4640 (w32-charset-info-alist, x-last-selected, text)
4641 (x-get-selection-value, x-selection-value): Move to
4642 w32-common-fns.
4643
4644 * w32-vars.el:
4645 (w32-allow-system-shell, w32-system-shells): Define only in
4646 non-cygwin case.
4647
795b1482
SM
46482012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4649
4650 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
4651 (read-passwd): Remove a few more potential sources of leaks.
4652
f27c99dc
FEG
46532012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
4654
4655 * progmodes/python.el (inferior-python-mode)
795b1482 4656 (python-shell-make-comint): Fix initialization of local
f27c99dc
FEG
4657 variables copied from parent buffer.
4658
fcacb558
JD
46592012-10-07 Jan Djärv <jan.h.d@swipnet.se>
4660
4661 * term/ns-win.el (ns-read-file-name): Update declaration to match
4662 nsfns.m.
4663 (ns-respond-to-change-font): Change fontsize separatly so we are sure
4664 it is set when font is acted upon.
4665
be0d5bae
FEG
46662012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
4667
4668 Enhancements to indentation.
4669 * progmodes/python.el (python-indent-context): Give priority to
4670 inside-string context. Make comments indentation markers.
4671 (python-indent-region): Do not mess with strings, unless it's the
4672 enclosing set of quotes.
4673
13af0d10
SM
46742012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4675
662a9d0e
SM
4676 * window.el (internal--before-save-selected-window)
4677 (internal--after-save-selected-window): New functions extracted from
4678 save-selected-window. Make sure we return the `alist' we construct.
4679 (save-selected-window): Use them.
4680
4681 * textmodes/tex-mode.el (tex-recenter-output-buffer):
4682 Use with-selected-window.
4683
13af0d10
SM
4684 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
4685 forms that define macros (bug#12593).
4686
6aa75fb6
KH
46872012-10-07 Kenichi Handa <handa@gnu.org>
4688
13af0d10
SM
4689 * international/mule-conf.el (compound-text-with-extensions):
4690 Add :mime-charset property as x-ctext.
6aa75fb6 4691
78d876b9
SM
46922012-10-07 Stefan Merten <smerten@oekonux.de>
4693
4694 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
4695 (rst-indent-literal-normal, rst-indent-literal-minimized)
4696 (rst-indent-comment): Correct :version tag.
557337e9 4697 (rst-official-cvs-rev): Correct version string.
78d876b9 4698
99a1e701
GM
46992012-10-07 Glenn Morris <rgm@gnu.org>
4700
4701 * mail/rmailmm.el (rmail-mime-process-multipart):
4702 Do not confuse a multipart message with an epilogue
4703 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
4704
08f18c3d
FEG
47052012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
4706
4707 Fix shell output retrieval and comint-prompt-regexp init.
4708 * progmodes/python.el (inferior-python-mode):
4709 (python-shell-make-comint): Fix initialization of
4710 comint-prompt-regexp from copied file local variables.
4711 (python-shell-fetched-lines): Remove var.
4712 (python-shell-output-filter-in-progress): Rename from
4713 python-shell-fetch-lines-in-progress.
4714 (python-shell-output-filter-buffer): Rename from
4715 python-shell-fetch-lines-string.
4716 (python-shell-fetch-lines-filter): Delete function.
4717 (python-shell-output-filter): New function.
4718 (python-shell-send-string-no-output): Use them.
4719
82ed3ab4
GM
47202012-10-07 Glenn Morris <rgm@gnu.org>
4721
1595ecfa
GM
4722 * hi-lock.el (hi-lock-process-phrase):
4723 Try to make it less fragile. (Bug#7161)
4724
82ed3ab4
GM
4725 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
4726
f1f4dba0
GM
47272012-10-06 Glenn Morris <rgm@gnu.org>
4728
addc11ed 4729 * ehelp.el (electric-help-mode): Use help-mode rather than
32939005
GM
4730 non-existent mode `help'.
4731 (electric-help-map): Use button-buffer-map. (Bug#10917)
addc11ed 4732
460042b8
GM
4733 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
4734 (reftex-create-bibtex-footer): Fix custom types.
4735
67667c70
GM
4736 * progmodes/sh-script.el (sh-indent-after-continuation):
4737 Add explicit :group.
4738
18dec750
GM
4739 * textmodes/rst.el (rst-preferred-decorations)
4740 (rst-shift-basic-offset): Clarify obsolescence versions.
4741
d1a1c7e6
GM
4742 * profiler.el (profiler): Add missing group :version tag.
4743 * avoid.el (mouse-avoidance-banish-position):
4744 * proced.el (proced-renice-command):
4745 * calc/calc.el (calc-ensure-consistent-units):
4746 * calendar/icalendar.el (icalendar-import-format-uid):
4747 * net/tramp.el (tramp-save-ad-hoc-proxies):
4748 * progmodes/bug-reference.el (bug-reference-bug-regexp):
4749 * progmodes/flymake.el (flymake-error-bitmap)
4750 (flymake-warning-bitmap, flymake-fringe-indicator-position):
4751 * progmodes/sh-script.el (sh-indent-after-continuation):
4752 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
4753 (verilog-before-save-font-hook, verilog-after-save-font-hook):
4754 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
4755 (vhdl-array-index-record-field-in-sensitivity-list)
4756 (vhdl-indent-comment-like-next-code-line):
4757 * textmodes/reftex-vars.el (reftex-ref-style-alist)
4758 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
4759 (reftex-cite-key-separator, reftex-create-bibtex-header)
4760 (reftex-create-bibtex-footer):
4761 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
4762 (rst-indent-literal-normal, rst-indent-literal-minimized)
4763 (rst-indent-comment): Add missing custom :version tags.
4764
ef35abb4
GM
4765 * calendar/timeclock.el (timeclock-modeline-display):
4766 Add missing obsolete alias for renamed user option.
4767
d1aae614
GM
4768 * strokes.el (strokes-modeline-string):
4769 * emulation/crisp.el (crisp-mode-modeline-string):
4770 * eshell/esh-mode.el (eshell-status-in-modeline):
4771 Aliases to defcustoms must come before the defcustom.
4772
f1f4dba0
GM
4773 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
4774 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
4775 (cal-tex-cursor-week-monday): Doc fixes.
4776 (cal-tex-cursor-week2-summary): Doc fix.
4777 Rename from cal-tex-cursor-week-at-a-glance.
4778
4779 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
4780 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
4781
4782 * calendar/calendar.el (calendar-mode-map):
4783 Add cal-tex-cursor-week2-summary.
4784
d39109c3
SM
47852012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
4786
685f87b0
SM
4787 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
4788
d39109c3
SM
4789 * subr.el (read-passwd-map): New var.
4790 (read-passwd): Use `read-string' again.
4791 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
4792
5694896d
J
47932012-10-06 Jambunathan K <kjambunathan@gmail.com>
4794
4795 * register.el (append-to-register, prepend-to-register):
4796 Deactivate mark, as does `copy-to-register' (bug#12389).
4797
9414dd8d
CY
47982012-10-06 Chong Yidong <cyd@gnu.org>
4799
4800 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
4801
2b89bca4
KH
48022012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
4803
4804 * international/characters.el: Fix simple mistake ((car chars) ->
4805 elt), delete duplicated code.
4806
d5acb99a
GM
48072012-10-06 Glenn Morris <rgm@gnu.org>
4808
4809 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
4810
123ec157
JS
48112012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
4812
4813 * color.el (color-hsl-to-rgb): Fix incorrect results for
4814 small and large hue values. (Bug#12559)
4815
7fa36ccb
FEG
48162012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
4817
4818 Enhancements to docstring formatting when filling paragraphs.
4819 * progmodes/python.el (python-fill-docstring-style): Rename from
4820 python-fill-string-style. Added new style.
4821 (python-fill-string): Use new style. Better checks for
4822 docstrings.
4823
d8788e1e
GM
48242012-10-05 Glenn Morris <rgm@gnu.org>
4825
204f3953
GM
4826 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
4827
d8788e1e
GM
4828 * color.el (color-name-to-rgb, color-rgb-to-hex)
4829 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
4830 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
4831 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
4832 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
4833
8d956cef
GM
4834 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
4835
e8757f09 48362012-10-05 Juanma Barranquero <lekktu@gmail.com>
ea9a3563
JB
4837
4838 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
4839 to get the correct size across symlinks.
4840
e8757f09
GM
4841 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
4842
0e2ae83d
JL
48432012-10-04 Juri Linkov <juri@jurta.org>
4844
4845 * replace.el (query-replace-interactive): Declare obsolete.
4846 (query-replace-read-from): Add the last incremental search string
4847 to the list of default values accessible via M-n.
4848 (map-query-replace-regexp): Use `read-regexp'.
4849 (query-replace, query-replace-regexp, query-replace-regexp-eval)
4850 (map-query-replace-regexp, replace-string, replace-regexp):
4851 Fix docstrings to replace mentions of `query-replace-interactive'
4852 with alternatives. (Bug#12526)
4853
93cacb6d
JL
48542012-10-04 Juri Linkov <juri@jurta.org>
4855
4856 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
4857 (dired-pop-to-buffer): Declare obsolete.
4858 (dired-mark-pop-up): Doc fix.
4859
fc345011
FEG
48602012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
4861
4862 Allow user to set docstring style for fill-paragraph.
4863 * progmodes/python.el
4864 (python-fill-comment-function, python-fill-string-function)
4865 (python-fill-decorator-function, python-fill-paren-function):
4866 Remove :safe for defcustoms.
4867 (python-fill-string-style): New defcustom
5694896d 4868 (python-fill-paragraph-function): Enhance context detection.
fc345011
FEG
4869 (python-fill-string): Honor python-fill-string-style settings.
4870
6bab5d8b
MR
48712012-10-04 Martin Rudalics <rudalics@gmx.at>
4872
4873 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
4874 after setting its buffer (Bug#10805).
4875
a1a9f411
FEG
48762012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
4877
4878 Fix cornercase for string syntax.
4879 * progmodes/python.el (python-syntax-propertize-function):
4880 Simplify and enhance the regexp for unescaped quotes. Now it also
4881 matches quotes in weird situations like the single quote in
4882 "something\"'".
4883 (python-syntax-stringify): Simplify num-quotes detecting code.
4884
05e153a6
GM
48852012-10-03 Glenn Morris <rgm@gnu.org>
4886
4887 * help-macro.el (three-step-help):
4888 Revert 2012-09-29 change. (Bug#12567)
4889
2e566ecb
MR
48902012-10-03 Martin Rudalics <rudalics@gmx.at>
4891
96ef9ccd
MR
4892 * menu-bar.el (kill-this-buffer): Don't do anything when
4893 `menu-frame' is not alive or visible (Bug#8184).
4894
2e566ecb
MR
4895 * emacs-lisp/debug.el (debug): When quitting the debugger window
4896 restore current buffer (Bug#12502).
4897
a96e1cb7
CY
48982012-10-02 Chong Yidong <cyd@gnu.org>
4899
5694896d
J
4900 * progmodes/hideif.el (hif-lookup, hif-defined):
4901 Handle semantic-c-takeover-hideif.
a96e1cb7 4902
b3ecad33
PE
49032012-10-02 Paul Eggert <eggert@cs.ucla.edu>
4904
4905 Change sampling interval units from ms to ns.
4906 * profiler.el (profiler-sampling-interval): Change units
4907 from ms to ns, multiplying the default by 1000000 so that
4908 it remains 1 ms.
4909 (profiler-report-cpu-line-format): Give enough room for
4910 the maximum counters on 64-bit hosts.
4911 (profiler-report-render-calltree-1): Call them "CPU samples",
4912 not "Time (ms)", since they are not milliseconds now (and
4913 never really were).
4914
8cb51b66 49152012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
c623f81a 4916
5694896d
J
4917 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
4918 Fix querying BBDB for entries without a last name (Bug#11580).
c623f81a 4919
fd795bf4
CY
49202012-10-02 Chong Yidong <cyd@gnu.org>
4921
4922 * emacs-lisp/eieio.el: Restore Version header.
4923
fe0a74f9
SM
49242012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
4925
6be9197e
SM
4926 * vc/diff-mode.el (diff--auto-refine-data): New var.
4927 (diff-hunk): Use it to delay refinement.
4928 (diff-mode): Remove overlays when we turn off font-lock.
4929
18486139
SM
4930 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
4931 (table-initialize-table-fixed-width-mode)
4932 (table-set-table-fixed-width-mode): Remove functions.
4933 (table-command-list): Move initialization into declaration.
4934 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
4935 (table-with-cache-buffer): Use `declare'.
4936 (table-span-cell): Simplify via CSE.
4937 (table-fixed-width-mode): Use define-minor-mode.
4938 (table-call-interactively, table-funcall, table-apply): Remove.
4939 (table-function): New function, to replace them.
4940
d83ef976
SM
4941 * bookmark.el (bookmark-search-pattern): Remove var.
4942 (bookmark-read-search-input): Remove function.
4943 (bookmark-bmenu-search): Reimplement using a minibuffer.
4944
cd386662
SM
4945 * faces.el (modeline): Remove obsolete face name.
4946
fe0a74f9
SM
4947 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
4948 and give a non-nil default value.
4949 (add-change-log-entry): Simplify accordingly.
4950
9f7b98f8
DG
49512012-10-01 Dmitry Gutov <dgutov@yandex.ru>
4952
4953 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
4954 (vc-git-log-edit-toggle-amend): New function.
4955 (vc-git-log-edit-toggle-signoff): New function.
4956 (vc-git-log-edit-mode): New major mode.
4957 (vc-git-log-edit-mode-map): Keymap for it.
4958 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
4959
4960 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
4961 header names.
4962 (log-edit-toggle-header): New function.
4963 (log-edit-extract-headers): Accept function values in HEADERS alist.
4964
62a81506
CY
49652012-10-01 David Engster <deng@randomsample.de>
4966
4967 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
4968 from symbol property and change message to be more consistent with
4969 Emacs proper.
4970 (eieio-describe-generic): Add filename for each implementation.
4971 Fix indices for generic and normal methods.
4972 (eieio-method-def, eieio-class-def): New buttons.
4973 (eieio-help-find-method-definition)
4974 (eieio-help-find-class-definition): New functions.
4975 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
4976 class, constructor and method definitions.
4977
4978 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
4979 information in symbol property.
4980 (scoped-class): Remove.
4981 (eieio-slot-name-index, call-next-method): Check if it is bound.
4982
49832012-10-01 Leo P. White <lpw25@cam.ac.uk>
4984
4985 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
4986 (eieio-custom-mode): New major mode.
4987 (eieio-customize-object): Use it.
4988
49892012-10-01 Eric Ludlam <zappo@gnu.org>
4990
4991 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
4992 specifying the expected class, and whether subclassing is allowed.
4993 (eieio-persistent-convert-list-to-object):
1f9f395d
JB
4994 (eieio-persistent-validate/fix-slot-value)
4995 (eieio-persistent-slot-type-is-class-p): New functions.
4996 (eieio-named::slot-missing): Doc fix.
62a81506
CY
4997
4998 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
4999 Stop using unused publd variable.
5000
5001 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
5002 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
5003 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
5004 (eieio-speedbar-handle-click): Do not specify a class for the
5005 method. Fixes method invocation order problems with EDE.
5006
375e49d4
SM
50072012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
5008
5009 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
5010 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
5011
16ce6ccd
KF
50122012-10-01 Karl Fogel <kfogel@red-bean.com>
5013
5014 * bookmark.el (bookmark-version-control): Give tags in the
5015 :type choices (Bug#12309), and improve doc string.
e4c4abdd
KF
5016 (bookmark-write-file): Bind `print-circle' to `t' to allow
5017 circular custom bookmark types. (Bug#12503)
16ce6ccd 5018
19e54a4d
PE
50192012-10-01 Paul Eggert <eggert@cs.ucla.edu>
5020
86ec63ba
PE
5021 Revert the FOLLOW-SYMLINKS change for file-attributes.
5022 * files.el (remote-file-name-inhibit-cache, after-find-file):
5023 * time.el (display-time-file-nonempty-p): Undo last change.
5024
19e54a4d
PE
5025 * profiler.el (profiler-sampling-interval): Change default back to 1.
5026 See Stefan Monnier in
5027 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
5028
0478776b
FEG
50292012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
5030
5031 Shell output catching a la gud-gdb.
5032 * progmodes/python.el (python-shell-fetch-lines-in-progress)
375e49d4
SM
5033 (python-shell-fetch-lines-string, python-shell-fetched-lines):
5034 New Vars.
0478776b
FEG
5035 (python-shell-fetch-lines-filter): New function.
5036 (python-shell-send-string-no-output): Use them.
5037
c22bac2c
TM
50382012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
5039
5040 * profiler.el (profiler-sampling-interval): Rename from
5041 profiler-sample-interval.
5042 (profiler-sampling-interval): Default to 10.
5043 (profiler-find-profile): New command (was profiler-find-log).
5044 (profiler-find-profile-other-window): New command.
5045 (profiler-find-profile-other-frame): New command.
5046 (profiler-profile): Introduce API-level data structure.
5047
e7a2937b
PE
50482012-09-30 Paul Eggert <eggert@cs.ucla.edu>
5049
5050 file-attributes has a new optional arg FOLLOW-SYMLINKS.
5051 * files.el (remote-file-name-inhibit-cache):
5052 * time.el (display-time-file-nonempty-p): Use it.
5053 * files.el (after-find-file): Don't chase links before calling
5054 file-exists-p, as file-exists-p already does the right thing.
5055
4f595e15
RA
50562012-09-30 Ralf Angeli <angeli@caeruleus.net>
5057
5058 Merge from standalone RefTeX repository.
5059
5060 The following ChangeLog entries are shortened versions of the
5061 original ones with file paths adapted. A not so strongly edited
5062 version of the original ChangeLog can be found in the commit log.
5063
5064 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
375e49d4
SM
5065 (reftex-arg-cite): Use `reftex-cite-key-separator'.
5066 Correctly handle new value type returned by `reftex-citation'.
4f595e15
RA
5067
5068 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
375e49d4
SM
5069 that entries with whitespace at various places are found.
5070 Doc fix. Include entries that are cross-referenced from cited entries.
4f595e15
RA
5071 Include @String definitions in the resulting bib file. Add header
5072 and footer defined in `reftex-create-bibtex-header' and
5073 `reftex-create-bibtex-footer'.
5074 (reftex-do-citation): Make it possible again to insert
5075 non-existent entries. Save match data when asking for optional
5076 arguments. Return all keys, not just the first one.
5077 (reftex-all-used-citation-keys): Fix regexp to correctly extract
5078 all citations in the same line.
5079 (reftex-parse-bibtex-entry): Accept additional optional argument
5080 `raw' and keep quotes or braces if it is non-nil. Match fields
5081 containing hyphens besides word constituents.
5082 (reftex-get-string-refs): New function.
5083 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
5084 and ask if it should be reread in case it did.
5085 (reftex-pop-to-bibtex-entry)
5086 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
5087 entries with spaces or tabs in front of arguments.
5088 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
375e49d4
SM
5089 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
5090 Match entries containing numbers and symbol constituents.
5091 (reftex-do-citation, reftex-figure-out-cite-format):
5092 Use `reftex-cite-key-separator'.
4f595e15
RA
5093
5094 * textmodes/reftex-dcr.el: Move provide statement to end of file.
5095 (reftex-mouse-view-crossref): Explain why point is set.
5096
5097 * textmodes/reftex-global.el: Whitespace changes.
5098
5099 * textmodes/reftex-index.el: Move provide statement to end of
5100 file.
5101 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
5102 (reftex-index-visit-phrases-buffer): Set marker when visiting
5103 buffer. This allows for returning from the phrases file to the
5104 file one was just editing instead of the file where the last
5105 phrases was added from.
5106 (reftex-index-phrases-syntax-table): New variable. Give ?\"
5107 punctuation syntax as it usually is not used as string quote in
5108 TeX-related modes and may occur unmatched. The change also
5109 prevents fontification of quoted content.
5110 (reftex-index-phrases-mode): Use it.
5111
375e49d4
SM
5112 * textmodes/reftex-parse.el (reftex-parse-from-file):
5113 Move backward one char if a `\' was matched after a section macro.
4f595e15
RA
5114 (reftex-parse-from-file): Use beginning of match instead of end as
5115 bound.
5116
5117 * textmodes/reftex-ref.el: Adapt creation of
5118 `reftex-<package>-<macro>' functions to new structure of
5119 `reftex-ref-style-alist'.
375e49d4
SM
5120 (reftex-reference): Use `reftex-ref-style-list' function.
5121 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
4f595e15
RA
5122 reference macro if `reftex-ref-macro-prompt' is non-nil.
5123 (reftex-reference): Pass refstyle to `reftex-format-special'.
5124 Determine reference macro by looking at
375e49d4
SM
5125 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
5126 Use only one special format function.
4f595e15
RA
5127 (reftex-varioref-vref, reftex-fancyref-fref)
5128 (reftex-fancyref-Fref): Remove definitions. The functions are now
5129 generated from `reftex-ref-style-alist'.
5130 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
5131 Remove.
5132 (reftex-format-special): New function.
5133
5134 * textmodes/reftex-sel.el
5135 (reftex-select-cycle-ref-style-internal): Adapt to new structure
5136 of `reftex-ref-style-alist'. Remove code for testing macro type.
5137 (reftex-select-toggle-varioref)
5138 (reftex-select-toggle-fancyref): Remove.
5139 (reftex-select-cycle-ref-style-internal)
5140 (reftex-select-cycle-ref-style-forward)
5141 (reftex-select-cycle-ref-style-backward): New functions.
5142 (reftex-select-label-map): Use `v' and `V' for general cycling
5143 through reference styles. Add `p' for switching between number
5144 and page reference types.
5145
375e49d4
SM
5146 * textmodes/reftex-toc.el (reftex-re-enlarge):
5147 Call `enlarge-window' only if there is something to do because in Emacs
4f595e15
RA
5148 the horizontal version throws an error even if the parameter is 0.
5149
5150 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
5151 (reftex-plug-into-AUCTeX): Doc fix.
5152 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
5153 string. Adapt to new name.
5154 (reftex-ref-style-alist): Change structure so that it is not
5155 possible to use multiple different package names within a style.
375e49d4
SM
5156 Remove the symbols for symbols for macro type distinction.
5157 Add characters for macro selection.
4f595e15
RA
5158 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
5159 (reftex-create-bibtex-footer): New variables.
5160 (reftex-format-ref-function): Mention third argument of special
5161 format function.
375e49d4
SM
5162 (reftex-ref-style-alist, reftex-ref-style-default-list):
5163 New variables.
4f595e15
RA
5164 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
5165 to new implementation. Mark as obsolete. Add compatibility code
5166 for honoring the variable values in case they are set.
375e49d4
SM
5167 (reftex-cite-format-builtin, reftex-bibliography-commands):
5168 Add support for ConTeXt.
5169 (reftex-format-ref-function, reftex-format-cite-function):
5170 Fix custom type.
4f595e15
RA
5171 (reftex-cite-key-separator): New variable.
5172
5173 * textmodes/reftex.el (reftex-syntax-table-for-bib)
5174 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
5175 `reftex-syntax-table' because parens have to retain their paren
5176 syntax in order for parsing of BibTeX entries like @book(...) to
5177 work.
5178 (reftex-in-comment): Do not error out if `comment-start-skip' is
5179 not set. Deal correctly with escaped comment characters.
375e49d4
SM
5180 (reftex-tie-multifile-symbols): Add doc string.
5181 Initialize `reftex-ref-style-list'.
4f595e15
RA
5182 (reftex-untie-multifile-symbols): Add doc string.
5183 (reftex-add-index-macros): Doc fix.
5184 (reftex-ref-style-activate, reftex-ref-style-toggle)
5185 (reftex-ref-style-list): New functions.
5186 (reftex-mode-menu): Use them. Adapt to new structure of
5187 `reftex-ref-style-alist'.
5188 (reftex-select-with-char): Kill the RefTeX Select buffer when
5189 done.
5190 (reftex-remove-if): New function.
5191 (reftex-erase-all-selection-and-index-buffers)
5192 (reftex-mode-menu): Reference styles are now computed from
5193 `reftex-ref-style-alist'. Fix typo.
5194 (reftex-report-bug): New function.
5195 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
5196 algorithms with O(n log n). Introduce optional argument SORT (not
5197 yet used).
5198
440ba395
FEG
51992012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
5200
5201 Enhancements for triple-quote string syntax.
375e49d4
SM
5202 * progmodes/python.el (python-syntax-propertize-function):
5203 Match both quote cases in one regexp.
440ba395
FEG
5204 (python-syntax-stringify): Handle matches properly.
5205
4c478e6b
JL
52062012-09-30 Juri Linkov <juri@jurta.org>
5207
5208 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
93cacb6d 5209 to nil around the call to `insert' to prevent
4c478e6b
JL
5210 directory time modification by lock_file. (Bug#2295)
5211 * tar-mode.el (tar-summarize-buffer): Idem.
5212
d80d54b2
JL
52132012-09-30 Juri Linkov <juri@jurta.org>
5214
5215 * facemenu.el (list-colors-sort): Add option "Luminance".
5216 (list-colors-sort-key): Implement it.
5217
5218 * vc/diff-mode.el (diff-refine-removed):
5219 * vc/ediff-init.el (ediff-fine-diff-A):
5220 * vc/smerge-mode.el (smerge-refined-removed):
5221 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
5222
d7e642cc
JD
52232012-09-30 Jan Djärv <jan.h.d@swipnet.se>
5224
5225 * term/ns-win.el (x-file-dialog): New function.
5226
ee41332b
JB
52272012-09-30 Juanma Barranquero <lekktu@gmail.com>
5228
5229 * ido.el (ido-max-directory-size): Default to nil; the current
5230 default is small for POSIX systems, and impractical on Windows 7
5231 now that lstat returns directory sizes for NTFS.
5232
5938d519
MR
52332012-09-30 Martin Rudalics <rudalics@gmx.at>
5234
5235 In buffer display functions handle window-height/window-width
5236 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
375e49d4
SM
5237 * window.el (window--display-buffer): New argument ALIST.
5238 Obey window-height and window-width alist entries.
5239 (window--try-to-split-window): New argument ALIST.
5240 Bind window-combination-limit to t when the window's size shall be
5938d519
MR
5241 changed and window-combination-limit equals `window-size'.
5242 (display-buffer-in-atom-window)
5243 (display-buffer-in-major-side-window)
5244 (display-buffer-in-side-window, display-buffer-same-window)
5245 (display-buffer-reuse-window, display-buffer-pop-up-frame)
5246 (display-buffer-pop-up-window, display-buffer-below-selected)
5247 (display-buffer-at-bottom, display-buffer-in-previous-window)
5248 (display-buffer-use-some-window): Adjust all callers of
5249 window--display-buffer and window--try-to-split-window.
5250 (fit-frame-to-buffer): New option.
5251 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
5252 is non-nil.
5253 (display-buffer-in-major-side-window): Evaluate window-height /
5254 window-width alist entries.
5255
5256 * help.el (temp-buffer-resize-frames)
5257 (temp-buffer-resize-regexps): Remove options.
5258 (temp-buffer-resize-mode): Adjust doc-string.
5259 (resize-temp-buffer-window): Don't consult
5260 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
5261 temp-buffer-resize-frames.
5262
375e49d4
SM
5263 * dired.el (dired-mark-pop-up):
5264 Call display-buffer-below-selected with a fit-window-to-buffer alist
5938d519
MR
5265 entry.
5266
c4c0c2df
CY
52672012-09-30 Chong Yidong <cyd@gnu.org>
5268
48de8b12
CY
5269 * server.el (server-host): Document the security implications.
5270 (server-auth-key): Doc fix.
5271
5272 * startup.el (initial-buffer-choice): Doc fix.
5273
5274 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
5275
a97dc380
CY
5276 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
5277 restriction change.
5278
d39d3c8e
CY
5279 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
5280
c4c0c2df
CY
5281 * help-fns.el (help-fns--obsolete): Fix last change.
5282
98a5e33b
SM
52832012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
5284
34cf6f39
SM
5285 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
5286 (minor-mode-map-alist): Remove redundant code.
5287
e01c13fe
SM
5288 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
5289 visited in a buffer.
5290 (cvs-insert-visited-file): New function.
5291 (find-file-hook): Use it.
5292
5293 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
5294
02661b3a
SM
5295 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
5296 chose face.
5297 (log-edit-empty-buffer-p): Don't require a space after a header.
5298
43711d4b
SM
5299 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
5300
38a30d64
SM
5301 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
5302
4ffb41a9
SM
5303 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
5304 a proper minor-mode.
5305
98a5e33b
SM
5306 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
5307
de82e29b
GM
53082012-09-29 Glenn Morris <rgm@gnu.org>
5309
5cc2e639
GM
5310 * winner.el (winner-mode): Remove variable (let define-minor-mode
5311 handle it).
5312 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
5313 Doc fixes.
5314 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
5315 (winner-mode): Use define-minor-mode.
5316
7bd302eb
GM
5317 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
5318 the full definition in loaddefs, rather than duplicating it.
5319
2923922f 5320 * help-macro.el (three-step-help): No need to autoload defcustom.
ced08382 5321
0e3e4156
GM
5322 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
5323 (inferior-lisp-program, inferior-lisp-load-command)
5324 (inferior-lisp-prompt, inferior-lisp-mode-hook):
2923922f 5325 No need to autoload defcustoms.
0e3e4156 5326
de82e29b
GM
5327 * hippie-exp.el (hippie-expand-try-functions-list)
5328 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
5329 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
5330 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
2923922f 5331 (hippie-expand-only-buffers): No need to autoload defcustoms.
de82e29b
GM
5332 * progmodes/vhdl-mode.el (vhdl-line-expand):
5333 Explicitly load hippie-exp, so it does not get autoloaded
5334 while hippie-expand-try-functions-list is let-bound.
5335
e60b51ab
GM
53362012-09-28 Glenn Morris <rgm@gnu.org>
5337
277f0cfa
GM
5338 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
5339
e60b51ab
GM
5340 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
5341 Only "cl.el" counts as cl these days.
5342
53baf48a
JL
53432012-09-28 Juri Linkov <juri@jurta.org>
5344
5345 Display archive errors in the echo area instead of inserting
5346 to the file buffer.
5347
5348 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
5349 to STDERR-TEST that can be a regexp matching a successful output.
5350 Create a temporary file and redirect stderr to it. Search for
5351 STDERR-TEST in the stderr output and display it in the echo area
5352 if no match is found.
5353 (archive-extract-by-file): New function like
5354 `archive-extract-by-stdout' but extracting archives to files
5355 and looking for successful matches in stdout. Function body is
5356 mostly copied from `archive-rar-extract'.
5357 (archive-rar-extract): Use `archive-extract-by-file'.
5358 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
5359
9c1228c3
LL
53602012-09-28 Leo Liu <sdl.web@gmail.com>
5361
375e49d4
SM
5362 * pcomplete.el (pcomplete-show-completions):
5363 Use minibuffer-message to make pcomplete usable in minibuffer.
147c0425 5364
9c1228c3
LL
5365 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
5366
7f457c06
SM
53672012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
5368
3df749b0
SM
5369 * type-break.el: Use lexical-binding.
5370 (type-break-mode): Use define-minor-mode.
5371
7f457c06
SM
5372 * emacs-lisp/pcase.el (pcase--mark-used): New.
5373 (pcase--u1): Use it (bug#12512).
5374
5375 * custom.el (load-theme): Set buffer-file-name so the load is recorded
5376 in load-history with the right file name.
5377
c00ebc98
TH
53782012-09-28 Tassilo Horn <tsdh@gnu.org>
5379
5380 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
5381 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
5382 (doc-view-get-bounding-box): Make bounding box slicing work for
5383 ODF and DVI documents.
5384
96fb7170
GM
53852012-09-28 Glenn Morris <rgm@gnu.org>
5386
5387 * type-break.el (type-break-mode, type-break-interval)
5388 (type-break-good-rest-interval, type-break-keystroke-threshold):
5389 No need to autoload.
5390 (type-break-good-rest-interval, type-break-keystroke-threshold):
5391 Add :set-after.
5392
5bc93c67
CY
53932012-09-28 Chong Yidong <cyd@gnu.org>
5394
5395 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
5396 Add :version tag.
5397
9cad61d6
SM
53982012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
5399
e28e67b3 5400 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
9cad61d6 5401
daee954c
GM
54022012-09-27 Glenn Morris <rgm@gnu.org>
5403
a88324d4
GM
5404 * faces.el (x-display-name): Declare (for without-x builds).
5405
8e5064e5
GM
5406 * linum.el (linum-format): Don't autoload it. Improve :type.
5407
cc1783c2
GM
5408 * progmodes/tcl.el: Don't require outline when compiling.
5409 (outline-regexp, outline-level): Declare.
1dddcf4c
GM
5410 * textmodes/sgml-mode.el: Don't require outline when compiling.
5411 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
5412
48c339f2
GM
5413 * term.el (term-ansi-reset):
5414 Try setting term-ansi-face-already-done to nil. (Bug#11785)
5415
daee954c
GM
5416 * vc/vc.el (vc-next-action): Only gripe about committing read-only
5417 files for RCS and SCCS. (Bug#9781)
5418
b7f42161
CY
54192012-09-27 Chong Yidong <cyd@gnu.org>
5420
5421 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
5422 change; value should be t.
5423
a2e770db
SM
54242012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
5425
83600dc8
SM
5426 * image-mode.el: Use lexical-binding.
5427 (image-mode-winprops): Use t to stand for the window of
5428 a buffer that's not displayed.
5429 * doc-view.el (doc-view-new-window-function): Handle the new
5430 t in winprops.
5431 (doc-view-enlarge): Make it a real nop if the size is not changed.
5432 (doc-view-display): Handle the case where the buffer is not (yet?)
5433 displayed in any window.
5434 (doc-view-saved-settings): New var.
5435 (doc-view-mode): Use it.
5436 (doc-view-fallback-mode): Set it.
5437
a2e770db
SM
5438 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
5439 Set lexical-binding.
5440 (minibuffer-eldef-shorten-default): New var.
5441 (minibuffer-default-in-prompt-regexps): Use it for new default.
5442 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
5443
e3b60857
JB
54442012-09-26 Juanma Barranquero <lekktu@gmail.com>
5445
5446 * international/uni-bidi.el:
5447 * international/uni-category.el:
5448 * international/uni-name.el:
5449 * international/uni-numeric.el: Regenerate.
5450
3a880af4
SM
54512012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
5452 Stefan Monnier <monnier@iro.umontreal.ca>
5453
5454 * profiler.el: New file.
5455
07b1a5fb
SM
54562012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
5457
5458 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
5459 (testcover-reinstrument): Simplify with CSE.
5460
42019c2e
JB
54612012-09-26 Juanma Barranquero <lekktu@gmail.com>
5462
5463 * window.el (temp-buffer-window-setup): Fix typo in docstring.
5464
179f044b
WS
54652012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
5466
5467 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
5468 (verilog-auto-input, verilog-auto-insert-lisp)
5469 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
5470 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
5471 (verilog-auto-unused, verilog-auto-wire)
5472 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
5473 newline. Reported by Andrew Jones.
5474 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
5475 Reported by Brad Dobbie.
07b1a5fb
SM
5476 (verilog-batch-delete-trailing-whitespace):
5477 Create verilog-batch-delete-trailing-whitespace.
5478 Reported by Brad Dobbie.
179f044b
WS
5479 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
5480 parameters from another module. Reported by Dan Katz.
5481 (verilog-auto, verilog-auto-assign-modport)
5482 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
5483 AUTOINOUTMODPORT for UVM interface module shell generation.
5484 Reported by Brad Dobbie.
5485 (verilog-auto-inst-interfaced-ports): Make default nil, as more
5486 standard behavior.
5487 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
5488 Reported by Matt Martin.
5489
9c52dd5a
MR
54902012-09-25 Martin Rudalics <rudalics@gmx.at>
5491
5492 * window.el (window--resize-child-windows): When resizing child
5493 windows proportionally, process them in reverse order to
5494 preserve the "when splitting a window the new one gets the odd
5495 line" behavior.
5496 (window--resize-root-window-vertically): When resizing the
5497 minibuffer window try to affect only windows at the bottom of the
5498 frame. (Bug#12419)
5499
863666eb
CY
55002012-09-25 Chong Yidong <cyd@gnu.org>
5501
5502 * subr.el (declare): Doc fix.
5503
5504 * help-fns.el (help-fns--obsolete): Handle macros properly.
5505
59f7af81
CY
55062012-09-25 Chong Yidong <cyd@gnu.org>
5507
5508 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
5509 this function obsolete.
5510
5511 * calendar/cal-x.el (calendar-two-frame-setup)
5512 (calendar-only-one-frame-setup, calendar-one-frame-setup):
5513 * calendar/calendar.el (american-calendar, european-calendar)
5514 (calendar-for-loop):
5515 * comint.el (comint-dynamic-simple-complete)
5516 (comint-dynamic-complete-as-filename, comint-unquote-filename):
5517 * desktop.el (desktop-load-default):
5518 * dired-x.el (dired-omit-here-always)
5519 (dired-hack-local-variables, dired-default-directory):
5520 * emacs-lisp/derived.el (derived-mode-class):
5521 * emacs-lisp/timer.el (timer-set-time-with-usecs):
5522 * emacs-lock.el (toggle-emacs-lock):
5523 * epa.el (epa-display-verify-result):
5524 * epg.el (epg-sign-keys, epg-start-sign-keys)
5525 (epg-passphrase-callback-function):
5526 * eshell/esh-util.el (eshell-for):
5527 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
5528 (eshell-add-to-window-buffer-names):
5529 * files.el (locate-file-completion):
5530 * imenu.el (imenu-example--create-c-index)
5531 (imenu-example--create-lisp-index)
5532 (imenu-example--lisp-extract-index-name)
5533 (imenu-example--name-and-position):
5534 * international/mule-cmds.el (princ-list):
5535 * international/mule-diag.el (decode-codepage-char):
5536 * international/mule-util.el (detect-coding-with-priority):
5537 * iswitchb.el (iswitchb-read-buffer):
5538 * mail/mailalias.el (mail-complete):
5539 * mail/sendmail.el (mail-sent-via):
5540 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
5541 (mouse-major-mode-menu):
5542 * password-cache.el (password-read-and-add):
5543 * pcomplete.el (pcomplete-parse-comint-arguments):
5544 * progmodes/sh-script.el (sh-maybe-here-document):
5545 * replace.el (query-replace-regexp-eval):
5546 * savehist.el (savehist-load):
5547 * simple.el (choose-completion-delete-max-match):
5548 * term.el (term-dynamic-simple-complete):
5549 * vc/ediff-init.el (ediff-check-version):
5550 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
5551 * vc/vc.el (vc-diff-switches-list):
5552 * view.el (view-return-to-alist-update): Likewise.
5553
5554 * subr.el (eval-next-after-load, makehash, insert-string)
5555 (assoc-ignore-representation, assoc-ignore-case): Use declare to
5556 mark obsolete.
5557 (mode-line-inverse-video): Variable deleted.
5558
5559 * international/mule-util.el (string-to-sequence): Remove.
5560
5561 * calendar/calendar.el (calendar-version):
5562 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
5563 (icalendar-convert-diary-to-ical):
5564 * cus-edit.el (custom-mode):
5565 * ansi-color.el (ansi-color-unfontify-region):
5566 * international/latin1-disp.el (latin1-char-displayable-p):
5567 * progmodes/cwarn.el (turn-on-cwarn-mode):
07b1a5fb
SM
5568 * progmodes/which-func.el (which-func-update-1):
5569 Use define-obsolete-function-alias.
59f7af81
CY
5570
5571 * net/newst-backend.el (newsticker-cache-filename):
07b1a5fb
SM
5572 * net/newst-treeview.el (newsticker-groups-filename):
5573 Fix incorrect obsolescence declaration.
59f7af81
CY
5574
5575 * allout.el (allout-passphrase-hint-string): Likewise.
5576 (allout-init): Use a declare form to mark obsolete.
5577
5578 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
5579 this applies to functions.
5580
5581 * iswitchb.el (iswitchb-read-buffer): Move code of
5582 iswitchb-define-mode-map here, and delete that obsolete function.
5583
5584 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
5585 font-lock-reference-face.
5586
cca96c97
GM
55872012-09-25 Glenn Morris <rgm@gnu.org>
5588
b06eeda8
GM
5589 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
5590 Doc fixes.
5591
cca96c97
GM
5592 * eshell/em-term.el (eshell-term-name):
5593 Default to term-term-name. (Bug#12485)
5594
dc4f818b
FEG
55952012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
5596
cca96c97
GM
5597 * progmodes/python.el (python-shell-send-buffer): Better handling
5598 of "if __name__ == '__main__':" conditionals when sending the buffer.
dc4f818b 5599
289c24bd
GM
56002012-09-24 Glenn Morris <rgm@gnu.org>
5601
5602 * eshell/esh-cmd.el (eshell-find-alias-function):
5603 Tighten up file-name regexp. (Bug#12499)
5604
8fb8b88f
FEG
56052012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
5606
5607 Enhancements for triple-quote string syntax.
5608 * progmodes/python.el (python-quote-syntax): Remove.
5609 (python-syntax-propertize-function): New value.
07b1a5fb
SM
5610 (python-syntax-count-quotes, python-syntax-stringify):
5611 New functions.
8fb8b88f 5612
6c27f0f8
CY
56132012-09-24 Chong Yidong <cyd@gnu.org>
5614
a5f2b6ec
CY
5615 * mail/supercite.el (sc-version): Remove obsolete function.
5616 (sc-describe): Don't mark as obsolete, since it is bound.
5617 (sc-submit-bug-report): Remove.
5618
5619 * vc/log-edit.el (cvs-changelog-full-paragraphs)
5620 (cvs-commit-buffer-require-final-newline): Remove.
0c765e5f
CY
5621 (log-edit-require-final-newline)
5622 (log-edit-changelog-full-paragraphs): Default to t.
a5f2b6ec
CY
5623
5624 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
5625 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
5626 * vc/vc.el (vc-checkout-carefully): Likewise.
5627
5628 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
5629 (emerge-version): Remove.
5630
5631 * progmodes/compile.el (compile-internal): Remove.
5632 (compilation-parse-errors-function): Fix typo.
5633
5634 * international/mule.el (set-char-table-default): Remove.
5635 (set-coding-priority, make-coding-system, generic-char-p)
5636 (charset-list, charset-bytes, charset-id): Use declare to mark
5637 functions as obsolete.
5638
5639 * vc/pcvs-defs.el (cvs-buffer-name-alist)
5640 (cvs-invert-ignore-marks): Remove references to obsolete vars.
5641 * vc/vc-hooks.el (vc-default-registered): Don't use
5642 vc-master-templates.
5643
07b1a5fb
SM
5644 * font-lock.el (font-lock-reference-face):
5645 Use define-obsolete-variable-alias.
6c27f0f8
CY
5646
5647 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
5648 * calendar/calendar.el (calendar-font-lock-keywords):
5649 * calendar/diary-lib.el (diary-font-lock-keywords)
5650 (diary-fancy-font-lock-keywords):
5651 * textmodes/reftex-sel.el (reftex-insert-docstruct):
5652 * textmodes/reftex-index.el (reftex-insert-index):
5653 * textmodes/reftex-cite.el (reftex-format-bib-entry):
5654 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5655 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
5656 * progmodes/prolog.el (prolog-font-lock-keywords):
5657 * progmodes/idlwave.el (idlwave-idl-keywords):
5658 * progmodes/ada-mode.el (ada-font-lock-keywords):
5659 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
5660
bcc0adbf
GM
56612012-09-24 Glenn Morris <rgm@gnu.org>
5662
5663 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
5664
095bb823
FEG
56652012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
5666
5667 * progmodes/python.el (python-indent-line): More consistent cursor
5668 movement behavior.
5669
70efc5c9
SM
56702012-09-23 Stefan Merten <smerten@oekonux.de>
5671
5672 * textmodes/rst.el: Fix compiler warning.
5673
2f438239
RW
56742012-09-23 Roland Winkler <winkler@gnu.org>
5675
07b1a5fb
SM
5676 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
5677 Transcribe also LaTeX hyphenation.
2f438239
RW
5678 (bibtex-reformat): Bug fix. Do not quote twice the elements of
5679 bibtex-reformat-previous-options.
5680
936ad041
RW
56812012-09-23 Roland Winkler <winkler@gnu.org>
5682
5683 * proced.el (proced-renice-command): New variable.
5684 (proced-marked-processes): New function.
5685 (proced-with-processes-buffer): New macro.
5686 (proced-send-signal): Use them.
5687 (proced-renice): New command bound to r.
5688
6fab0274
RW
56892012-09-23 Roland Winkler <winkler@gnu.org>
5690
5691 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
5692 ibuffer-saved-filter-groups has one element, shortcut the call of
5693 completing-read. (Bug#12331)
5694
9a930676
CY
56952012-09-23 Chong Yidong <cyd@gnu.org>
5696
5697 * bindings.el (mode-line-toggle-read-only):
5698 * bs.el (bs-toggle-readonly):
5699 * buff-menu.el (Buffer-menu-toggle-read-only):
5700 * dired.el (dired-toggle-read-only):
5701 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
5702
d07ff9db
CY
57032012-09-23 Chong Yidong <cyd@gnu.org>
5704
5705 * image.el (image-type-available-p): Adapt to init-image-library
5706 argument changes.
5707
51c4474e
JL
57082012-09-22 Juri Linkov <juri@jurta.org>
5709
5710 * dired.el (dired-mode-map): Add [remap read-only-mode] for
5711 `dired-toggle-read-only'. (Bug#12462)
5712
43bf5e8e
MR
57132012-09-22 Martin Rudalics <rudalics@gmx.at>
5714
5715 * subr.el (temp-output-buffer-show): New function.
5716 (with-output-to-temp-buffer): Call temp-output-buffer-show
5717 instead of internal-temp-output-buffer-show.
5718
c88b867f
CY
57192012-09-22 Chong Yidong <cyd@gnu.org>
5720
3df47cd5
CY
5721 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
5722 (Bug#12462).
5723
c88b867f
CY
5724 * repeat.el (repeat): Doc fix (Bug#12348).
5725
5726 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
5727 (Bug#10909).
5728
5729 * simple.el (shell-command-on-region): Doc fix.
3171e303 5730 (read-only-mode): Doc fix.
c88b867f 5731
df9685f3
EZ
57322012-09-22 Eli Zaretskii <eliz@gnu.org>
5733
5734 * emacs-lisp/timer.el (run-with-idle-timer)
5735 (timer-activate-when-idle): Warn against reinvoking an idle timer
5736 from within its own timer action. (Bug#12447)
5737
8e17c9ba
MR
57382012-09-22 Martin Rudalics <rudalics@gmx.at>
5739
5740 * cus-start.el (window-combination-limit): Add new optional
5741 values.
5742 * window.el (temp-buffer-window-show)
5743 (window--try-to-split-window): Handle new values of
5744 window-combination-limit (Bug#1806).
5745 (split-window): Test window-combination-limit for t instead of
5746 non-nil.
5747 (display-buffer-at-bottom): New buffer display action function.
5748 * help.el (temp-buffer-resize-regexps): New option.
5749 (temp-buffer-resize-mode): Rewrite doc-string.
5750 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
bd909927 5751 Don't resize reused window. Suggested by Glenn Morris.
8e17c9ba 5752
48a24920
SM
57532012-09-22 Stefan Merten <smerten@oekonux.de>
5754
70efc5c9 5755 * textmodes/rst.el: Revamp section title faces.
48a24920
SM
5756 (rst-official-version)
5757 (rst-package-emacs-version-alist): Sync with official version
5758 V1.4.0.
5759 (rst-faces-defaults, rst-set-level-default)
5760 (rst-level-face-max, rst-level-face-base-color)
5761 (rst-level-face-base-light, rst-level-face-format-light)
5762 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
5763 (rst-adornment-faces-alist): Match new setup.
5764 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
5765 (rst-level-5, rst-level-6): New faces.
5766
82f8cd94
CY
57672012-09-22 Chong Yidong <cyd@gnu.org>
5768
5769 * simple.el (undo): Handle indirect buffers (Bug#8207).
5770
acfa068f 57712012-09-21 Leo Liu <sdl.web@gmail.com>
a8c14da8
LL
5772
5773 IDO: Disable match re-ordering for buffer switching.
2bc9406c 5774 * ido.el (ido-buffer-disable-smart-matches): New variable.
a8c14da8
LL
5775 (ido-set-matches-1): Use it. (Bug#2042)
5776
acfa068f 57772012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
a316d229
JM
5778
5779 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
5780 Fix 2011-05-17 change. (Bug#12418)
5781
acfa068f 57822012-09-21 Leo Liu <sdl.web@gmail.com>
d02e58f8
LL
5783
5784 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
5785
acfa068f 57862012-09-21 Glenn Morris <rgm@gnu.org>
511fd0b2
GM
5787
5788 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
5789 Be more robust about locating simple.el.
5790
acfa068f 57912012-09-21 Glenn Morris <rgm@gnu.org>
fa05bfe0
GM
5792
5793 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
5794
acfa068f
CY
57952012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
5796
5797 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
5798
41a97e6f
JL
57992012-09-20 Juri Linkov <juri@jurta.org>
5800
eb2deaff
JL
5801 * replace.el (query-replace-read-from): Use `read-regexp' instead
5802 of `read-from-minibuffer' when `regexp-flag' is non-nil.
5803 (occur-read-primary-args): Use `read-regexp' instead of
5804 `read-string'.
5805 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
5806 `read-from-minibuffer'.
5807 * isearch.el (isearch-occur): Use `read-regexp' instead of
5808 `read-string'.
5809 * dired.el (dired-read-regexp): Use `read-regexp' instead of
5810 `read-from-minibuffer'.
5811 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
5812 of `read-string'. (Bug#7567)
5813
5825610b
JL
5814 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
5815 and allow accepting a list of strings prepended to a list of
5816 standard default values. Doc fix. (Bug#12321)
5817
eebbf404
JL
5818 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
5819
41a97e6f
JL
5820 * replace.el (read-regexp): Don't add ": " when PROMPT already
5821 ends with a colon and space. (Bug#12321)
5822
c9e452d3
TH
58232012-09-20 Tassilo Horn <tsdh@gnu.org>
5824
5825 * doc-view.el (doc-view-display): Better fix for the cl-assertion
5826 error.
5827
ee97deee
SM
58282012-09-20 Stefan Merten <smerten@oekonux.de>
5829
70efc5c9 5830 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
ee97deee
SM
5831 Fixes feature request bug#11711.
5832 (rst-mode): Create `imenu-create-index-function'.
5833 (rst-get-stripped-line): Delete after refactoring.
5834 (rst-section-tree, rst-section-tree-rec)
5835 (rst-section-tree-point): Refactor and document properly.
5836 (rst-imenu-find-adornments-for-position)
07b1a5fb
SM
5837 (rst-imenu-convert-cell, rst-imenu-create-index):
5838 New function.
ee97deee 5839
f490dab9
SM
58402012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5841
95b9712e
SM
5842 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
5843 (macroexp--expand-all): Use it.
5844 (macroexp--funcall-and-return): Remove by folding it into its sole
5845 caller (macroexp--warn-and-return).
5846 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
5847 Use macroexp--obsolete-warning.
5848
f490dab9
SM
5849 * calc/calc.el: Fix last change by removing the whole chunk, since it
5850 was only needed back when Calc was not bundled.
5851
96e8d411
MR
58522012-09-20 Martin Rudalics <rudalics@gmx.at>
5853
5854 * emacs-lisp/debug.el (debug): Restore assignment to
5855 debugger-old-buffer removed on 2012-09-08.
5856
0876a82d
JL
58572012-09-20 Juri Linkov <juri@jurta.org>
5858
5859 * dired-aux.el (dired-diff): Remove (require 'diff) since
5860 `diff-latest-backup-file' is now autoloaded.
5861
9f7c28f0
CY
58622012-09-20 Chong Yidong <cyd@gnu.org>
5863
5864 * vc/diff.el (diff-latest-backup-file): Autoload.
5865
7a04bee9
SM
58662012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5867
e6f0a80d
SM
5868 * calc/calc.el: Remove redundant autoload shape check.
5869 (sel-mode): Don't defvar.
5870 (calc-get-stack-element): Add `sel-mode' arg instead.
5871 (calc-top, calc-top-list): Pass it this additional argument.
5872 * calc/calc-store.el (calc-store-map):
5873 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
5874 (calc-map-equation, calc-outer-product, calc-inner-product):
5875 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
5876
7a04bee9
SM
5877 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
5878
12734222
JL
58792012-09-19 Juri Linkov <juri@jurta.org>
5880
5881 * dired-aux.el (dired-diff): Add (require 'diff) because
5882 `diff-latest-backup-file' is not autoloaded.
5883 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
5884 of `dired-get-filename' to t to not report error when there is
5885 no default file on the current line.
5886
46624b4f
SM
58872012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5888
ce97595b
SM
5889 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
5890 macroexp--eval-if-compile.
5891 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
5892 (macroexp--expand-all): Use them (bug#12371).
5893
46624b4f
SM
5894 * doc-view.el (doc-view-guess-paper-size)
5895 (doc-view-scale-bounding-box): Fix unbound `caddr'.
5896
db8a5a18
TH
58972012-09-19 Tassilo Horn <tsdh@gnu.org>
5898
5899 New feature: set optimal slice from BoundingBox information.
5900 * doc-view.el (doc-view-mode-map): Add keybinding.
5901 (doc-view-menu): Add menu entry.
5902 (doc-view-set-slice): Adapt docstring.
5903 (doc-view-get-bounding-box, doc-view-guess-paper-size)
5904 (doc-view-scale-bounding-box)
5905 (doc-view-set-slice-from-bounding-box): New functions.
5906 (doc-view-paper-sizes): New defvar.
5907
69f6644c
GM
59082012-09-19 Glenn Morris <rgm@gnu.org>
5909
35f5b19d
GM
5910 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
5911 (byte-compile-log-warning): Autoload. (Bug#12371)
5912
69f6644c
GM
5913 * calendar/calendar.el (calendar-american-month-header)
5914 (calendar-european-month-header, calendar-iso-month-header)
5915 (calendar-month-header): New options.
5916 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
5917 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
5918
e543ae91
JD
59192012-09-19 Jan Djärv <jan.h.d@swipnet.se>
5920
5921 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
5922
2fd5e67d
JL
59232012-09-18 Juri Linkov <juri@jurta.org>
5924
5925 * dired-aux.el (dired-diff): Restore original functionality of
5926 getting the default value, but keep new feature of using the
5927 latest existing backup file (`diff-latest-backup-file').
5928
42917e79
JL
59292012-09-18 Juri Linkov <juri@jurta.org>
5930
5931 * dired.el (dired-mark): If the region is active in Transient Mark
5932 mode, mark all files in the active region. Doc fix.
5933 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
5934 Doc fix. (Bug#10624)
5935
20f70ede
JL
59362012-09-18 Juri Linkov <juri@jurta.org>
5937
5938 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
5939 attributes for M-n are pulled from the file at point.
5940 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
5941 Suggested by Drew Adams. (Bug#10624)
5942
32fb8162
DG
59432012-09-18 Dmitry Gutov <dgutov@yandex.ru>
5944
5945 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
5946 whitespace after "end".
5947 (ruby-do-end-to-brace): Collapse block to one line if it fits
5948 within fill-column.
5949
37ab5092
MR
59502012-09-18 Martin Rudalics <rudalics@gmx.at>
5951
5952 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
5953 value.
5954 (debug): Don't remove debugger window when debugger is expected
5955 to be back.
5956
ed1f0bd3
CY
59572012-09-18 Chong Yidong <cyd@gnu.org>
5958
5959 * custom.el (defface): Doc fix.
5960
5961 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
5962
a11035b8
MB
59632012-09-18 Martin Blais <blais@furius.ca> (tiny change)
5964
5965 * progmodes/compile.el (compilation-start): Use compilation-always-kill
5966 to initialize query-on-exit; then test that instead (bug#12288).
5967
64f6a736
SM
59682012-09-17 Stefan Merten <smerten@oekonux.de>
5969
70efc5c9 5970 * textmodes/rst.el: Add support for `testcover'.
64f6a736
SM
5971 (rst-defcustom-testcover, rst-testcover-add-compose)
5972 (rst-testcover-add-1value): New functions.
5973 (rst-portable-mark-active-p): Replace by `use-region-p'.
5974 (rst-update-section, rst-classify-adornment)
5975 (rst-find-title-line): Mark `1value' forms.
5976 (rst-classify-adornment): Remove superfluous form.
5977 (rst-update-section, rst-get-adornments-around)
5978 (rst-adornment-complete-p, rst-get-next-adornment)
5979 (rst-adjust, rst-promote-region)
5980 (rst-display-adornments-hierarchy, rst-straighten-adornments)
5981 (rst-find-pfx-in-region, rst-section-tree-rec)
5982 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
5983 (rst-toc-node, rst-toc, rst-forward-section)
5984 (rst-iterate-leftmost-paragraphs)
5985 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
5986 (rst-bullet-list-region)
5987 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
5988 (rst-compile-find-conf, rst-compile)
5989 (rst-repeat-last-character): Fix style.
5990
580bd868
CY
59912012-09-17 Chong Yidong <cyd@gnu.org>
5992
5993 * comint.el (comint--complete-file-name-data): Don't add a space
5994 if the status is `sole'; that adds a gratuitous space in the
5995 completion-cycling case (Bug#12092).
5996
5997 * pcomplete.el (pcomplete-completions-at-point): Likewise.
5998
69de3ec6
RS
59992012-09-17 Richard Stallman <rms@gnu.org>
6000
0dee970c
RS
6001 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
6002 only in the mime-shown mode, not in raw mode.
6003 (rmail-mime): Toggle off mime by displaying the message without
6b250df6 6004 mime processing. (Bug#12305)
0dee970c 6005
6b250df6
GM
6006 * mail/rmail.el (rmail-retry-failure):
6007 Turn off mime processing first. (Bug#12037)
acb1c47b 6008
69de3ec6
RS
6009 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
6010
d079ee5f
CY
60112012-09-17 Chong Yidong <cyd@gnu.org>
6012
6013 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
6014 (shell-dynamic-complete-functions): Convert to defcustom.
6015 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
6016
865fe16f
CY
6017 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
6018 * comint.el (comint-prompt-read-only):
6019 * custom.el (defcustom):
6020 * hi-lock.el (hi-lock-mode):
6021 * ibuffer.el (ibuffer-formats):
6022 * ielm.el (ielm-prompt-read-only):
6023 * novice.el (disable-command):
6024 * saveplace.el (toggle-save-place):
6025 * speedbar.el (speedbar-supported-extension-expressions):
6026 * startup.el (auto-save-list-file-prefix, init-file-user)
6027 (after-init-hook, inhibit-startup-echo-area-message):
6028 * strokes.el (strokes-help):
6029 * time-stamp.el (time-stamp):
6030 * calendar/calendar.el (calendar, diary-file):
6031 * calendar/diary-lib.el (diary-mail-entries, diary)
6032 (diary-list-entries-hook):
6033 * calendar/holidays.el (holidays, calendar-holidays):
6034 * calendar/lunar.el (lunar-phases):
6035 * calendar/solar.el (sunrise-sunset):
6036 * emulation/edt.el (edt-load-keys):
6037 * emulation/viper.el (viper-mode):
6038 * eshell/em-alias.el (eshell-command-aliases-list):
6039 * eshell/esh-util.el (eshell-convert-numeric-arguments):
6040 * international/ogonek.el (ogonek-information):
6041 * net/tramp-cmds.el (tramp-bug):
6042 * net/quickurl.el (quickurl-reread-hook-postfix):
6043 * play/decipher.el (decipher-font-lock-keywords):
6044 * progmodes/cc-styles.el (c-set-style):
6045 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
6046 * progmodes/inf-lisp.el (inferior-lisp-prompt):
6047 * progmodes/octave-mod.el (octave-mode):
6048 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
6049 * progmodes/verilog-mode.el (verilog-read-defines):
6050 * textmodes/two-column.el (2C-mode): Likewise.
6051
48093eb9
KY
60522012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
6053
6054 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
6055 that holds many addresses.
6056
c584eaf9
CY
60572012-09-16 Chong Yidong <cyd@gnu.org>
6058
40d70ecb
CY
6059 * align.el (align-areas): Call the indication function with
6060 positions instead of markers for arguments (Bug#12343).
6061
1667e065
CY
6062 * files.el (parse-colon-path): Use split-string (Bug#12351).
6063
fdc2806d 6064 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
71ce58e7 6065 (display-buffer-function): Mark as obsolete.
fdc2806d 6066
f1be615c 6067 * progmodes/compile.el (compilation-parse-errors): Accept list
ce97595b
SM
6068 values similar to font-lock-keywords (Bug#12136).
6069 Suggested by Oleksandr Manzyuk.
c584eaf9
CY
6070 (compilation-error-regexp-alist): Doc fix.
6071
f40a9709
GM
60722012-09-15 Glenn Morris <rgm@gnu.org>
6073
72aa16e1
GM
6074 * version.el (emacs-bzr-version-bzr): New function.
6075 (emacs-bzr-get-version): Add optional EXTERNAL argument.
6076
82375160
GM
6077 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
6078 checkouts, check the parent dirstate matches the branch.
6079 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
6080 empty string.
6081
f40a9709
GM
6082 * version.el (emacs-bzr-version): Doc fix.
6083 (emacs-bzr-version-dirstate): New function.
6084 (emacs-bzr-get-version): For lightweight checkouts, if the parent
6085 is local try and check that it matches the branch. If not, just
6086 use dirstate information. (Bug#12441)
6087
cb26b7f5
JL
60882012-09-14 Juri Linkov <juri@jurta.org>
6089
6090 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
6091 (Bug#12399)
6092
2de39f08
SM
60932012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6094
0fb3cb7c
SM
6095 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
6096
2de39f08
SM
6097 * emacs-lisp/edebug.el: Miscellaneous cleanup.
6098 Remove obsolete byte-compiler hack that tried to silence some warnings.
6099 (edebug-submit-bug-report): Remove.
6100 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
6101 Remove aliases, use the un-prefixed name instead.
6102 (edebug-pop-to-buffer): Consider other frames.
6103 (edebug-original-read):: Make it more obvious that it's always defined.
6104 (edebug--make-form-data-entry, edebug--form-data-name)
6105 (edebug--form-data-begin, edebug--form-data-end): Rename from the
6106 single-dashed name, and implement with cl-defstruct.
6107 (edebug-set-form-data-entry): Use the standard accessors.
6108 (edebug-make-top-form-data-entry): Use push.
6109 (edebug-no-match): Drop useless `funcall'.
6110 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
6111 to functions.
6112 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
6113 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
6114 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
6115 (easy-menu-define, with-custom-print): Remove redundant specs.
6116 (edebug-outside-overriding-local-map)
6117 (edebug-outside-overriding-terminal-local-map): Remove, unused.
6118 (edebug--display): Bind unread-command-events directly to nil rather
6119 than binding it to unread-command-events and later setting it to nil.
6120 (edebug--display): Kill edebug-eval-buffer here...
6121 (edebug--recursive-edit): ...rather than here.
6122 Bind standard-output and standard-input.
6123 (edebug-eval): Check cl-macroexpand-all is fboundp.
6124 (edebug-temp-display-freq-count): Fix last change.
6125
6126 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
6127 * subr.el (noreturn, 1value): Add `debug' spec.
6128 * emacs-lisp/advice.el: Require cl-lib.
6129 (ad-copy-tree): Remove, use copy-tree instead.
6130 (ad-dolist): Remove use dolist or cl-dolist instead.
6131 (ad-do-return): Remove, use cl-return instead.
6132 (defadvice): Add `debug' spec.
6133
5b68b333
JL
61342012-09-13 Juri Linkov <juri@jurta.org>
6135
6136 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
6137 (Bug#12399)
6138
b9800ec4
GM
61392012-09-13 Glenn Morris <rgm@gnu.org>
6140
6a2e6868
GM
6141 * calc/calc.el (math-compose-expr):
6142 * calc/calc-ext.el (math-compose-expr):
6143 * progmodes/cc-defs.el (cl-macroexpand-all):
6144 * progmodes/cc-langs.el (delete-duplicates, mapcan)
6145 (cl-macroexpand-all): Update declarations.
6146
b9800ec4
GM
6147 * vc/vc.el: No need to require ediff.
6148 (ediff-load-version-control): Declare.
6149 (ediff-vc-internal): Fix declaration.
6150 (vc-version-ediff): Require ediff.
6151
c18e885b
PE
61522012-09-13 Paul Eggert <eggert@cs.ucla.edu>
6153
6154 Use a more backwards-compatible timer format (Bug#12430).
6155 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
6156 being right after USECS, as that better supports old code that
6157 inadvisedly looked directly at the timer vector.
6158
d607d303
KH
61592012-09-13 Kenichi Handa <handa@gnu.org>
6160
6161 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
6162 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
6163 `coding-priority' property of these language environment.
6164
72eac303
PE
61652012-09-13 Paul Eggert <eggert@cs.ucla.edu>
6166
6167 Fix glitches caused by addition of psec to timers (Bug#12430).
6168 * image.el (image-animate-timer):
6169 * time.el (display-time-world-timer):
6170 Use timer--function and timer--args rather than raw access to
6171 timer vector.
6172
2168fe4f
GM
61732012-09-13 Glenn Morris <rgm@gnu.org>
6174
6175 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
6176 If not compiling a file, try using load-file-name.
6177
bd8d6108
SM
61782012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
6179
c0c54fbd
SM
6180 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
6181 Fix last change.
6182 (edebug-update-eval-list): Use `push'.
6183
bd8d6108
SM
6184 * emacs-lisp/edebug.el: Use lexical-binding.
6185 Remove the "edebug-" prefix from non-dynamically-scoped variables.
6186 Mark unused args with underscore.
6187 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
6188 (edebug-form-data): Use defvar-local.
6189 (edebug-make-before-and-after-form, edebug-make-after-form):
6190 Use backquote.
6191 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
6192 Not dynamically scoped any more.
6193 (edebug--enter-trace): Add arguments `function' and `args'.
6194 Rename from edebug-enter-trace.
6195 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
6196 (edebug--update-coverage): Add `after-index' and `value' args.
6197 Rename from edebug-update-coverage.
6198 (edebug-slow-after): Call it accordingly.
6199 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
6200 edebug-recursive-edit.
6201 (edebug--display): Call it accordingly. Add args `value',
6202 `offset-index', and `arg-mode'. Rename from edebug-display.
6203 (edebug-debugger, edebug): Call it accordingly.
6204 (edebug-eval-display-list): Use dolist.
6205
a9f9d9de
JL
62062012-09-12 Juri Linkov <juri@jurta.org>
6207
6208 * info.el (Info-search): Don't check for isearch-mode and
6209 isearch-regexp before let-binding search-spaces-regexp to
6210 Info-search-whitespace-regexp.
6211 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
6212 search-whitespace-regexp if isearch-lax-whitespace or
6213 isearch-regexp-lax-whitespace is non-nil.
6214 (Info-mode): Don't set local variable search-whitespace-regexp.
6215 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
6216
bfeae2cf
SM
62172012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6218
6219 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
6220 (debugger-env-macro): Remove support for unread-command-char.
6221
6222 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
6223 the temporary map re-appearing on emulation-mode-map-alists.
6224
6225 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
6226 since 22.1.
6227
6228 * ehelp.el (with-electric-help): Accept functions in
6229 electric-help-form-to-execute.
6230 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
6231 And replace unread-command-char -> unread-command-events.
6232
fbbcaf1b
MA
62332012-09-12 Michael Albinus <michael.albinus@gmx.de>
6234
6235 Sync with Tramp 2.2.6.
6236
6237 * net/tramp.el (tramp-accept-process-output): Don't use
6238 JUST-THIS-ONE in the XEmacs case.
6239
6240 * net/trampver.el: Update release number.
6241
4dece104
MR
62422012-09-12 Martin Rudalics <rudalics@gmx.at>
6243
bfeae2cf
SM
6244 * emacs-lisp/debug.el (debugger-previous-window-height):
6245 New variable.
4dece104
MR
6246 (debug): When debugger-jumping-flag is non-nil try to restore
6247 height of debugger window. (Bug#8789)
6248
45b82ad0
SM
62492012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6250
60c49c0f
SM
6251 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
6252 overriding-local-map and pre/post-command-hook here.
6253 (edebug-recursive-edit): Do it here instead (bug#12345).
6254 (edebug-outside-unread-command-char): Remove all uses of
6255 unread-command-char.
6256
45b82ad0
SM
6257 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
6258 inhibit-debugger is bound instead.
6259
baa26ea0
BG
62602012-09-11 Bastien Guerry <bzg@gnu.org>
6261
6262 * subr.el (set-temporary-overlay-map): Add a docstring.
fc0c31f8 6263 (Bug#12346)
baa26ea0 6264
04e8abfa
BG
62652012-09-11 Bastien Guerry <bzg@gnu.org>
6266
96d03571 6267 * minibuffer.el (completion-table-subvert): Fix docstring.
fc0c31f8 6268 (Bug#12347)
96d03571
BG
6269
62702012-09-11 Bastien Guerry <bzg@gnu.org>
6271
fc0c31f8 6272 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
04e8abfa 6273
04e082b0
MM
62742012-09-10 Michael R. Mauger <mmaug@yahoo.com>
6275
6276 * progmodes/sql.el: Version 3.1
6277 (sql-db2-escape-newlines): New variable.
6278 (sql-escape-newlines-filter): Use it.
6279
399a361b
JB
62802012-09-10 Juanma Barranquero <lekktu@gmail.com>
6281
6282 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
6283
0780c517
DN
62842012-09-10 Dan Nicolaescu <dann@gnu.org>
6285
45b82ad0
SM
6286 * vc/diff-mode.el (diff-mode-menu):
6287 Bind diff-remove-trailing-whitespace.
0780c517 6288
9b851e25
SM
62892012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
6290
6291 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
fc0c31f8
JB
6292 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
6293 (emacs-lisp-byte-code-mode): New functions.
9b851e25
SM
6294 (eval-sexp-add-defvars): Don't skip defvars in column >0.
6295 (eval-defun-2): Remove bogus interactive spec.
6296 (lisp-indent-line): Remove redundant whole-exp code, now done in
6297 indent-according-to-mode.
6298 (save-match-data): Remove redundant indent data.
6299
6300 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
6301 Use `declare'.
6302
3231d532
JL
63032012-09-09 Juri Linkov <juri@jurta.org>
6304
6305 * replace.el (replace-regexp-lax-whitespace): New defcustom.
6306 (replace-lax-whitespace, query-replace-regexp)
6307 (query-replace-regexp-eval, replace-regexp): Doc fix.
6308 (perform-replace, replace-highlight): Let-bind
6309 isearch-lax-whitespace to replace-lax-whitespace and
6310 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
6311
6312 * isearch.el (isearch-query-replace): Let-bind
6313 replace-lax-whitespace to isearch-lax-whitespace and
6314 replace-regexp-lax-whitespace to
6315 isearch-regexp-lax-whitespace. (Bug#10885)
6316
70fe8236
SM
63172012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
6318
6319 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
6320
8ed43f15
AM
63212012-09-09 Alan Mackenzie <acm@muc.de>
6322
70fe8236
SM
6323 * progmodes/cc-engine.el (c-state-cache-init):
6324 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
6325 (c-record-parse-state-state):
6326 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
8ed43f15 6327
bfabf70a
AS
63282012-09-09 Andreas Schwab <schwab@linux-m68k.org>
6329
6330 * register.el (register-separator): Rename from
6331 separator-register. All uses changed. Doc fix.
6332 (register): Fix version.
6333
011474aa
CY
63342012-09-09 Chong Yidong <cyd@gnu.org>
6335
6336 * replace.el (query-replace-map): Bind four new symbols for
6337 requesting window scrolling.
6338
6339 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
6340 query-replace-map (Bug#8948).
6341
6342 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
6343
6344 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
6345 since they are now in query-replace-map.
6346
6347 * window.el (scroll-other-window-down): Make the arg optional.
6348
a8b7cd8d
CY
63492012-09-09 Chong Yidong <cyd@gnu.org>
6350
6351 * files.el (hack-local-variables-confirm): Use quit-window to kill
6352 the *Local Variables* buffer.
6353
c3268831
DG
63542012-09-08 Dmitry Gutov <dgutov@yandex.ru>
6355
6356 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
6357 not just expect to be at its beginning. Adjust callees.
6358 Succeed when do-end block has no space before the pipe character.
6359 (ruby-brace-to-do-end): When the original block is one-liner,
6360 convert to multiline. Reindent the result.
6361
0979429b
J
63622012-09-08 Jambunathan K <kjambunathan@gmail.com>
6363
6364 * register.el (register): New group.
27359e99 6365 (separator-register): New user option.
0979429b
J
6366 (increment-register): Route it to `append-to-register', if
6367 register contains text. Implication is that `C-x r +' can now be
6368 used for appending to a text register (bug#12217).
6369 (append-to-register, prepend-to-register): Add separator based on
5b9c45a6 6370 `separator-register'.
0979429b 6371
ace2989a
AM
63722012-09-08 Alan Mackenzie <acm@muc.de>
6373
6374 AWK Mode: make auto-newline work when there's "==" in the pattern.
6375 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
6376 correctly.
0979429b
J
6377 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
6378 Test more rigorously for "=" token.
ace2989a 6379
616c6c36
DG
63802012-09-08 Dmitry Gutov <dgutov@yandex.ru>
6381
0979429b
J
6382 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
6383 Only fail when reached LIMIT.
616c6c36 6384
35d98877
CY
63852012-09-08 Chong Yidong <cyd@gnu.org>
6386
6387 * dired.el (dired-mode-map): Don't bind M-=.
6388
6389 * dired-aux.el (dired-diff): Use backup file as default.
6390
1715f2db
DA
63912012-09-08 Drew Adams <drew.adams@oracle.com>
6392
6393 * subr.el (add-to-history): Fix delete usage (Bug#12314).
6394
6dcef6ec
CY
63952012-09-08 Chong Yidong <cyd@gnu.org>
6396
6397 * subr.el (syntax-after, syntax-class): Doc fix.
6398
fa2bcf43
MR
63992012-09-08 Martin Rudalics <rudalics@gmx.at>
6400
6401 * window.el (display-buffer-in-previous-window): New buffer
6402 display action function.
6403
6404 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
6405 (debugger-previous-window): New variable.
6406 (debug): Rewrite using display-buffer-in-previous-window,
6407 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
6408
daac280a
SM
64092012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
6410
6411 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
6412
9dd40b00
MM
64132012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
6414
daac280a
SM
6415 * progmodes/python.el (python-shell-send-string):
6416 When default-directory is remote, create temp file on remote
9dd40b00
MM
6417 filesystem.
6418 (python-shell-send-file): When file is remote, pass local view of
6419 file paths to remote Python interpreter. (Bug#12340)
6420
145823ec
CY
64212012-09-07 Chong Yidong <cyd@gnu.org>
6422
cee2e90d
CY
6423 * window.el (switch-to-buffer): Doc fix (Bug#12181).
6424
0d7eb2ea
CY
6425 * files.el (after-find-file): Don't fail on a read-only buffer if
6426 require-final-newline is `visit' or `visit-save' (Bug#11156).
6427
145823ec
CY
6428 * subr.el (read-char-choice): Allow quitting via ESC ESC.
6429
daac280a
SM
6430 * userlock.el (ask-user-about-supersession-threat):
6431 Use read-char-choice (Bug#12093).
145823ec 6432
74c582e6
CY
64332012-09-07 Chong Yidong <cyd@gnu.org>
6434
e5c2edf7
CY
6435 * subr.el (buffer-narrowed-p): New function.
6436
6437 * ses.el (ses-widen):
6438 * simple.el (count-words--buffer-message):
1f9f395d 6439 * net/browse-url.el (browse-url-of-buffer): Use it.
e5c2edf7
CY
6440
6441 * simple.el (count-words-region): Don't signal an error if there
6442 is a non-nil prefix arg and the mark is not set.
c640e87d 6443
74c582e6
CY
6444 * help.el (describe-key-briefly): Allow the message to be seen
6445 when invoked from the minibuffer (Bug#7014).
6446
d81ceaaf
DG
64472012-09-07 Dmitry Gutov <dgutov@yandex.ru>
6448
6449 * progmodes/ruby-mode.el (ruby-end-of-defun)
6450 (ruby-beginning-of-defun): Simplify, allow indentation before
6451 block beginning and end keywords.
8f06acce
DG
6452 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
6453 (ruby-end-of-defun): Expect that the point is at the beginning of
6454 the defun.
d81ceaaf 6455
d458ef98
SM
64562012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6457
6458 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
6459 (bug#12367).
6460 (cl--make-usage-args): Strip _ from argument names.
6461
20367d28
RS
64622012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6463
6464 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
6465 obsolete alias speedbar-key-map.
6466 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
6467 (vhdl-index-menu-init): Don't use obsolete variable
6468 font-lock-maximum-size.
6469
3424a4f6
CY
64702012-09-06 Chong Yidong <cyd@gnu.org>
6471
6472 * frame.el (window-system-version): Mark as obsolete.
6473
fcbfbdea
CY
6474 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
6475 of obsolete variable speedbar-key-map.
6476
826b3235
JL
64772012-09-06 Juri Linkov <juri@jurta.org>
6478
6479 * replace.el (replace-lax-whitespace): New defcustom.
6480 (query-replace, query-replace-regexp, query-replace-regexp-eval)
6481 (replace-string, replace-regexp): Mention it in docstrings.
6482 (perform-replace, replace-highlight): Let-bind
6483 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
6484 to the values of replace-lax-whitespace and regexp-flag.
6485 Don't let-bind search-whitespace-regexp. (Bug#10885)
6486
6487 * isearch.el (isearch-query-replace): Let-bind
6488 replace-lax-whitespace instead of let-binding
6489 replace-search-function and replace-re-search-function.
6490 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
6491 and isearch-regexp-lax-whitespace to lazy-highlight variables.
6492 (isearch-toggle-symbol): Set isearch-regexp to nil
6493 in isearch-word mode (like in isearch-toggle-word).
6494
1ec5e41d
JL
64952012-09-06 Juri Linkov <juri@jurta.org>
6496
6497 * replace.el (replace-search-function)
6498 (replace-re-search-function): Set default values to nil.
6499 (perform-replace): Let-bind isearch-related variables based on
6500 replace-related values, call `isearch-search-fun' and let-bind
6501 the result to `search-function'. Remove code that sets
6502 `search-function' and `search-string' separately for
6503 `delimited-flag'.
6504 (replace-highlight): Add new argument `delimited-flag' and
6505 rename other arguments to the names used in `perform-replace'.
6506 Let-bind `isearch-word' to the argument `delimited-flag'.
6507 (Bug#10885, bug#10887)
6508
0ba2d4b6
DG
65092012-09-07 Dmitry Gutov <dgutov@yandex.ru>
6510
6511 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
6512 ruby-beginning-of-indent, simplify, allow all keywords to have
6513 indentation before them.
6514 (ruby-beginning-of-indent): Adjust for above. Search until the
6515 found point is not inside a string or comment.
6516 (ruby-font-lock-keywords): Allow symbols to start with "@"
6517 character, give them higher priority than variables.
6518 (ruby-syntax-propertize-function)
6519 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
6520 matchers. Expression expansions are not comments when inside a
6521 string, and there comment syntax status is irrelevant.
6522 (ruby-match-expression-expansion): New function. Check that
6523 expression expansion is inside a string, and it's not escaped.
6524 (ruby-font-lock-keywords): Use it.
6525
ef654460
MR
65262012-09-05 Martin Rudalics <rudalics@gmx.at>
6527
6528 * help.el (temp-buffer-max-height): New default value.
6529 (temp-buffer-resize-frames): New option.
6530 (resize-temp-buffer-window): Optionally resize frame.
6531
6532 * window.el (fit-frame-to-buffer-bottom-margin): New option.
6533 (fit-frame-to-buffer): New function.
6534
7e570fbf 65352012-09-05 Glenn Morris <rgm@gnu.org>
72308848
GM
6536
6537 * emulation/cua-rect.el (cua--init-rectangles):
6538 * textmodes/picture.el (picture-mode-map):
6539 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
6540 like forward-char and backward-char. (Bug#12317)
6541
7e570fbf 65422012-09-05 Leo Liu <sdl.web@gmail.com>
3aca1291
LL
6543
6544 * progmodes/flymake.el (flymake-warning-re): New variable.
6545 (flymake-parse-line): Use it.
6546
7e570fbf 65472012-09-05 Glenn Morris <rgm@gnu.org>
b6683353
GM
6548
6549 * calendar/holidays.el (holiday-christian-holidays):
6550 Rename an entry. (Bug#12289)
6551
7e570fbf 65522012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
64f8c4bd
SM
6553
6554 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
6555 (bug#12222).
6556
972debf2
SM
65572012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
6558
6559 * loadup.el: Load macroexp. Remove hack.
6560 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
6561 (macroexp--expand-all): Use it to get better warnings.
6562 (macroexp--backtrace, macroexp--trim-backtrace-frame)
6563 (internal-macroexpand-for-load): New functions.
6564 (macroexp--pending-eager-loads): New var.
6565 (emacs-startup-hook): New hack to replace one in loadup.el.
6566 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
6567 (cl--compiler-macro-cXXr): Move to top, before they can be used.
6568 (cl-psetf): Simplify.
6569 (cl-defstruct): Add indent rule.
6570
8ce192e3
LI
65712012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
6572
6573 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
6574 over `user-mail-address' for the SMTP MAIL FROM envelope.
6575 (smtpmail-via-smtp): Ditto.
6576
6578b4d8
DG
65772012-09-04 Dmitry Gutov <dgutov@yandex.ru>
6578
6579 * progmodes/ruby-mode.el: Clean up keybindings.
6580 (ruby-mode-map): Don't bind ruby-electric-brace,
6581 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
6582 backward-kill-word, reindent-then-newline-and-indent.
6583 (ruby-mark-defun): Remove.
6584 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
6585 (ruby-mode): Set local beginning-of-defun-function and
6586 end-of-defun-function values.
6587
c5e28e39
MR
65882012-09-03 Martin Rudalics <rudalics@gmx.at>
6589
6590 * window.el (temp-buffer-window-setup-hook)
6591 (temp-buffer-window-show-hook): New hooks.
6592 (temp-buffer-window-setup, temp-buffer-window-show)
6593 (with-temp-buffer-window): New functions.
972debf2
SM
6594 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
6595 (special-display-popup-frame): Make sure the window used shows BUFFER.
c5e28e39
MR
6596
6597 * help.el (temp-buffer-resize-mode): Fix doc-string.
6598 (resize-temp-buffer-window): New optional argument WINDOW.
6599
6600 * files.el (recover-file, save-buffers-kill-emacs):
6601 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
6602
73406194
MA
66032012-09-02 Michael Albinus <michael.albinus@gmx.de>
6604
6605 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
6606 remote definition of `default-directory', ensure we can connect.
6607
63dd1c6f
JL
66082012-09-02 Juri Linkov <juri@jurta.org>
6609
6610 Toggle whitespace matching mode with M-s SPC.
6611 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
6612
6613 * isearch.el (search-whitespace-regexp): Doc fix.
6614 Remove cons cell customization.
6615 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
6616 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
6617 New variables.
6618 (isearch-forward, isearch-forward-regexp): Doc fix.
6619 (isearch-toggle-lax-whitespace): New command.
6620 (search-forward-lax-whitespace, search-backward-lax-whitespace)
6621 (re-search-forward-lax-whitespace)
6622 (re-search-backward-lax-whitespace): New functions.
6623 (isearch-whitespace-regexp): Remove function.
6624 (isearch-query-replace): Let-bind replace-search-function and
6625 replace-re-search-function.
6626 (isearch-occur): Let-bind search-spaces-regexp according to the
6627 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
6628 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
6629 condition for C-q SPC.
6630 (isearch-search-fun-default): Use new functions mentioned above.
6631 (isearch-search-forward, isearch-search-backward): Remove functions.
6632 (isearch-search): Don't let-bind search-spaces-regexp.
6633 (isearch-lazy-highlight-space-regexp): Remove variable.
6634 (isearch-lazy-highlight-lax-whitespace)
6635 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
6636 (isearch-lazy-highlight-new-loop): Use them.
6637 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
6638
af7dda05
CY
66392012-09-02 Chong Yidong <cyd@gnu.org>
6640
6641 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
6642
d67d3afd
GM
66432012-09-02 Glenn Morris <rgm@gnu.org>
6644
6645 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
6646
69678719
GM
66472012-09-01 Glenn Morris <rgm@gnu.org>
6648
6649 * term.el: Tidy up menu definitions.
6650 (term-mode-map): Use easymenu for In/Out, Complete menus.
6651 (term-pager-break-map): Initialize in the defvar.
6652 (term-terminal-menu, term-signals-menu): Define with easymenu.
6653 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
6654 (term-pager-menu): New, extracted from term-process-pager.
6655 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
6656 (term-update-mode-line): Propertize line/char and page items.
6657 (term-process-pager): Move keymap initialization elsewhere.
6658
78dd6ab1
MR
66592012-09-01 Martin Rudalics <rudalics@gmx.at>
6660
6661 * window.el (switch-to-prev-buffer): Handle additional values of
6662 BURY-OR-KILL argument. Don't switch in minibuffer window.
6663 (switch-to-next-buffer): Don't switch in minibuffer window.
6664 (quit-restore-window): New function based on quit-window.
6665 Handle additional values of former KILL argument.
6666 (quit-window): Call quit-restore-window with appropriate
6667 interpretation of KILL argument.
6668 (display-buffer-below-selected): New buffer display action
6669 function.
6670
3d10e134
SM
66712012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
6672
6673 * minibuffer.el (completion-at-point-functions): Complete docstring
6674 (bug#12254).
6675
0e23ef9d
PE
66762012-09-01 Paul Eggert <eggert@cs.ucla.edu>
6677
6678 Better seed support for (random).
6679 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
6680 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
6681 * play/mpuz.el, play/tetris.el, play/zone.el:
6682 * calc/calc-comb.el (math-init-random-base):
6683 * play/blackbox.el (bb-init-board):
6684 * play/life.el (life):
6685 * server.el (server-use-tcp):
6686 * type-break.el (type-break):
6687 Remove unnecessary call to (random t).
6688 * net/sasl.el (sasl-unique-id-function):
6689 Change (random t) to (random), now that the latter is more random.
6690 * play/life.el (life-initialized): Remove no-longer-needed var.
6691
862382df
MR
66922012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
6693
6694 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
6695 Consider frame's buffer predicate when choosing the buffer.
6696 (Bug#12081)
6697
262a66e1
RS
66982012-08-30 Richard Stallman <rms@gnu.org>
6699
6700 * simple.el (special-mode-map): Delete binding for `z'.
6701
f17e1d00
AS
67022012-08-30 Andreas Schwab <schwab@linux-m68k.org>
6703
6704 * progmodes/compile.el (compilation-always-kill): Doc fix.
6705
24777832
CY
67062012-08-30 Chong Yidong <cyd@gnu.org>
6707
6708 * window.el (display-buffer-reuse-frames): Make the obsolescence
6709 message more informative.
6710
69ba1f04
GM
67112012-08-30 Glenn Morris <rgm@gnu.org>
6712
6713 * paren.el (show-paren-delay):
6714 Add a :set function. Doc fix. (Bug#12297)
6715
f0019ede
MB
67162012-08-29 Martin Blais <blais@furius.ca> (tiny change)
6717
6718 * progmodes/compile.el (compilation-always-kill): New var.
6719 (compilation-start): Use it.
6720
35e62fc9
SM
67212012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6722
af070a1c
SM
6723 * simple.el (read-only-mode): Move from files.el for bootstrapping.
6724 * files.el (read-only-mode): Move to simple.el.
6725
35e62fc9
SM
6726 * files.el (read-only-mode): New minor mode.
6727 (toggle-read-only): Use it and mark obsolete.
6728 (find-file--read-only):
6729 * vc/vc.el (vc-next-action, vc-checkout):
6730 * vc/vc-cvs.el (vc-cvs-checkout):
6731 * obsolete/vc-mcvs.el (vc-mcvs-update):
6732 * ffap.el (ffap--toggle-read-only): Update callers.
6733
c2c43c23
MA
67342012-08-29 Michael Albinus <michael.albinus@gmx.de>
6735
6736 * eshell/esh-ext.el (eshell-external-command): Do not examine
972debf2
SM
6737 remote shell scripts.
6738 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
c2c43c23
MA
6739
6740 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
6741 "/usr/local/sbin".
6742
9fba804b
SM
67432012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6744
6745 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
6746
eada0861 67472012-08-28 Leo Liu <sdl.web@gmail.com>
22ab32ef 6748
806f0cc7
LL
6749 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
6750 completion-at-point. (Bug#12220)
6751
3bb213b9
LL
6752 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
6753
22ab32ef
LL
6754 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
6755
eada0861 67562012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
db148c21 6757
19c17fc1
CY
6758 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
6759 be buffer-local; add delete-trailing-whitespace (bug#12259).
db148c21 6760
eada0861 67612012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
ffe6eaf1
JM
6762
6763 * progmodes/hideif.el (hif-compress-define-list):
6764 Fix typo. (Bug#11951)
6765
eada0861 67662012-08-28 Dan Nicolaescu <dann@gnu.org>
d30aca1b
DN
6767
6768 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
6769 buffer local setting.
6770
27d6c5a8
LL
6771 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
6772 rcirc-encode-coding-system.
6773
eada0861 67742012-08-28 Leo Liu <sdl.web@gmail.com>
4432d2e2
LL
6775
6776 * net/rcirc.el (rcirc-split-message): New function.
6777 (rcirc-send-message): Use it. (Bug#12051)
6778
d44688e4
JL
67792012-08-28 Juri Linkov <juri@jurta.org>
6780
6781 * info.el (Info-fontify-node): Hide empty lines at the end of
6782 the node. (Bug#12272)
6783
34f10d41
MR
67842012-08-27 Drew Adams <drew.adams@oracle.com>
6785
6786 * dired.el (dired-pop-to-buffer): Make window start at beginning
6787 of buffer (Bug#12281).
6788
77f1f99c
CY
67892012-08-26 Chong Yidong <cyd@gnu.org>
6790
6791 * window.el (special-display-regexps, special-display-frame-alist)
6792 (special-display-buffer-names, special-display-function)
6793 (display-buffer-reuse-frames): Mark as obsolete.
6794
6795 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
6796
6797 * help.el (help-print-return-message): Don't treat
6798 display-buffer-reuse-frames specially.
6799
d97af5a0
CY
68002012-08-26 Chong Yidong <cyd@gnu.org>
6801
9fba804b
SM
6802 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
6803 New variable, replacing gdb-frame-parameters.
d97af5a0
CY
6804 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
6805 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
6806 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
6807 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
6808 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
6809 the functions directly with gdb-display-buffer-other-frame-action.
6810 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
6811 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
6812 (gdb-display-stack-buffer, gdb-display-locals-buffer)
6813 (gdb-display-registers-buffer): Define directly.
6814 (def-gdb-display-buffer): Macro deleted.
6815 (gdb-display-buffer): Remove second and third args, callers don't
6816 use them. Defer to the default display-buffer behavior, apart
6817 from making windows dedicated.
6818 (gdb-setup-windows): Don't call display-buffer unnecessarily.
6819
6820 * progmodes/gud.el (gud-display-line): Just use display-buffer.
6821
6822 * window.el (display-buffer-pop-up-frame): Handle a
6823 pop-up-frame-parameters alist entry.
6824 (display-buffer): Document it.
6825
dd7ffad6
CY
68262012-08-26 Chong Yidong <cyd@gnu.org>
6827
6828 * isearch.el (search-whitespace-regexp): Make string and nil
6829 values apply to both ordinary and regexp search. Allow a cons
6830 cell value to distinguish between the two.
6831 (isearch-whitespace-regexp, isearch-search-forward)
6832 (isearch-search-backward): New functions.
6833 (isearch-occur, isearch-search-fun-default, isearch-search)
6834 (isearch-lazy-highlight-new-loop): Use them.
6835 (isearch-forward, isearch-forward-regexp): Doc fix.
6836
4c47bd1e
CY
68372012-08-26 Chong Yidong <cyd@gnu.org>
6838
6839 * faces.el (help-argument-name): Always inherit from italic
6840 (Bug#12213).
6841
9aba119d
MR
68422012-08-25 Martin Rudalics <rudalics@gmx.at>
6843
6844 * window.el (window--even-window-heights): Even heights when
6845 WINDOW and the selected window form a vertical combination.
6846 (display-buffer-use-some-window): Provide that window used gets
6847 sized back by quit-window. (Bug#11880) and (Bug#12091)
6848
ca5256ad
PE
68492012-08-24 Paul Eggert <eggert@cs.ucla.edu>
6850
6851 Fix file time stamp problem with bzr and CVS (Bug#12001).
6852 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
6853 in the file's time stamp, since the version control system loses
6854 that information.
6855
d1c0d176
JL
68562012-08-22 Juri Linkov <juri@jurta.org>
6857
6858 * info.el (Info-fontify-node): Hide the suffix of the
6859 Info file name in the header line. (Bug#12187)
6860
141562ff
GM
68612012-08-22 Glenn Morris <rgm@gnu.org>
6862
6863 * calendar/cal-tex.el (cal-tex-weekly-common):
6864 Restore leading blank page.
6865
3a21537c 68662012-08-22 Le Wang <l26wang@gmail.com>
add9ca2d
BG
6867
6868 * misc.el (forward-to-word, backward-to-word): Activate or extend
61a48e19
GM
6869 the region under `shift-select-mode'. (Bug#12231)
6870
68712012-08-22 Bastien Guerry <bzg@gnu.org>
0fcd3d9f
BG
6872
6873 * progmodes/executable.el (executable-prefix): Set to "#!" instead
6874 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
6875 gives details on why the space is never needed.
6876
ea95074e
MR
68772012-08-22 Martin Rudalics <rudalics@gmx.at>
6878
9fba804b
SM
6879 * window.el (walk-window-tree, window-with-parameter):
6880 New optional argument MINIBUF to control whether these functions
ea95074e
MR
6881 should run on the minibuffer window.
6882 (window-at-side-list): Don't operate on minibuffer window.
6883 (window-in-direction): Simplify and rewrite doc-string.
9fba804b
SM
6884 (window--size-ignore): Rename to window--size-ignore-p.
6885 Update callers.
caceae25
MR
6886 (display-buffer-in-atom-window, window--major-non-side-window)
6887 (window--major-side-window, display-buffer-in-major-side-window)
9fba804b
SM
6888 (delete-side-window, display-buffer-in-side-window):
6889 New functions.
caceae25
MR
6890 (window--side-check, window-deletable-p, delete-window)
6891 (delete-other-windows, split-window): Handle side windows and
6892 atomic windows appropriately.
6893 (window--display-buffer): Call display-buffer-record-window also
6894 when the window buffer did not change.
ea95074e 6895
80a51fa0
CS
68962012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
6897
6898 * help-fns.el (help-fns--key-bindings):
6899 Abbreviate non-symbol remap targets. (Bug#12174)
6900
fbb6300b
MR
69012012-08-22 Martin Rudalics <rudalics@gmx.at>
6902
6903 * dired.el (dired-mark-remembered): Don't clobber point.
6904 (Bug#11795)
6905
2b2c0794
GM
69062012-08-22 Glenn Morris <rgm@gnu.org>
6907
6908 * progmodes/bug-reference.el (bug-reference): New custom group.
6909 (bug-reference-bug-regexp): Make it a defcustom.
6910
37219830
DU
69112012-08-22 Daiki Ueno <ueno@unixuser.org>
6912
6913 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
6914 (js-paren-indent-offset, js-square-indent-offset)
6915 (js-curly-indent-offset): Add :safe (Bug#12257).
6916
94e0e559
EC
69172012-08-22 Edward O'Connor <hober0@gmail.com>
6918
6919 * json.el (json-key-format): Add error properties.
6920 (json-encode-key): New function.
6921 (json-encode-hash-table, json-encode-alist, json-encode-plist):
6922 Use json-encode-key.
6923
da485f5e
GM
69242012-08-22 Glenn Morris <rgm@gnu.org>
6925
6926 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
6927 (cal-tex-leftday, cal-tex-rightday): Remove functions.
6928 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
6929 Update for above change.
6930
c6cc78b8
AS
69312012-08-21 Andreas Schwab <schwab@linux-m68k.org>
6932
6933 * cus-face.el (custom-face-attributes): Fix customize type for the
6934 :underline attribute. (Bug#11805)
6935
5481664a
MR
69362012-08-21 Martin Rudalics <rudalics@gmx.at>
6937
6938 * window.el (window-point-1, set-window-point-1): Remove.
6939 (window-in-direction, record-window-buffer)
6940 (set-window-buffer-start-and-point, split-window-below)
9fba804b
SM
6941 (window--state-get-1, display-buffer-record-window):
6942 Replace calls to window-point-1 and set-window-point-1 by calls to
5481664a
MR
6943 window-point and set-window-point respectively.
6944
6d74698e
GM
69452012-08-21 Glenn Morris <rgm@gnu.org>
6946
b7fa2691
GM
6947 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
6948 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
6949 Use it.
6950
52f56d5a
GM
6951 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
6952 (cal-tex-shortday): New function.
6953 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
6954 (cal-tex-cursor-filofax-daily): Use the above.
6955
9f1ee09e
GM
6956 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
6957 New functions.
6958 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
6959 (cal-tex-cursor-filofax-week): Use them.
6960
79858159
GM
6961 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
6962 New constants.
6963 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
6964 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
6965
d346b2b4
GM
6966 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
6967 (cal-tex-end-document): Don't rely on buffer name.
6968
b2403709
GM
6969 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
6970 Use cal-tex-vspace.
6971 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
6972 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2d225a3a
GM
6973 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
6974 Use cal-tex-arg.
b2403709 6975
1cebb5c0
GM
6976 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
6977 (cal-tex-cursor-week, cal-tex-cursor-week2)
6978 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
6979 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
6980 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
6981 (cal-tex-insert-preamble, cal-tex-b-document)
6982 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
6983 Improve cal-tex-cmd usage.
6984
c68cd5d4
GM
6985 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
6986 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
6987 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
6988 (cal-tex-weekly-paper): New function.
6989 (cal-tex-cursor-week, cal-tex-cursor-week2)
6990 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
6991 (cal-tex-cursor-day): Use it.
6992
9dca4801
GM
6993 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
6994 (cal-tex-cursor-filofax-week): Remove leading blank page.
6995
1941e134
GM
6996 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
6997 Add autoload cookie. For now at least, don't use color, since
6998 no other cal-tex function does.
6999
6d74698e
GM
7000 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
7001 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
7002 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
7003
64cde199
JL
70042012-08-21 Juri Linkov <juri@jurta.org>
7005
7006 * info.el (Info-file-attributes): New variable.
7007 (info-insert-file-contents): Add file attributes to
7008 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
7009 `Info-toc-nodes' when previous modtime of the Info file is less
7010 than new modtime.
7011 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
7012 of info.el. (Bug#12230)
7013
32757648
GM
70142012-08-20 Glenn Morris <rgm@gnu.org>
7015
7016 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
7017 * calendar/holidays.el (calendar-holiday-list):
7018 Report errors with display-warning rather than beep'n'sleep.
7019
a32fbbcf
MA
70202012-08-20 Michael Albinus <michael.albinus@gmx.de>
7021
7022 * net/tramp.el (tramp-accept-process-output): Accept only output
7023 from PROC. Otherwise, process filters and sentinels might be
7024 confused. (Bug#12145)
7025
a05731a0
CY
70262012-08-20 Chong Yidong <cyd@gnu.org>
7027
7028 * descr-text.el (describe-text-properties-1): Use overlays-in to
7029 report on empty overlays (Bug#3322).
7030
36e8d1eb
GM
70312012-08-20 Glenn Morris <rgm@gnu.org>
7032
3d300447
GM
7033 * mail/rmailout.el (rmail-output-read-file-name):
7034 Trap and report errors in rmail-output-file-alist elements.
7035
36e8d1eb
GM
7036 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
7037 since most non-font-lock faces are not also variables).
7038
b96e5814
ER
70392012-08-20 Edward Reingold <reingold@iit.edu>
7040
7041 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
7042 New function. (Bug12160)
7043
7cef3569
GM
70442012-08-19 Glenn Morris <rgm@gnu.org>
7045
7046 * mail/rmailout.el (rmail-output-read-file-name):
7047 Fix previous change (when the alist is nil or does not match).
7048
17975d7f
CY
70492012-08-19 Chong Yidong <cyd@gnu.org>
7050
7051 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
7052 (Bug#12228).
7053
2170b1bd
CY
70542012-08-18 Chong Yidong <cyd@gnu.org>
7055
7056 * simple.el (yank-handled-properties): New defcustom.
7057 (yank-excluded-properties): Add font-lock-face and category.
7058 (yank): Doc fix.
7059
9fba804b
SM
7060 * subr.el (remove-yank-excluded-properties):
7061 Obey yank-handled-properties. The special handling of font-lock-face
2170b1bd
CY
7062 and category is now done this way, instead of being hard-coded.
7063 (insert-for-yank-1): Remove font-lock-face handling.
7064 (yank-handle-font-lock-face-property)
7065 (yank-handle-category-property): New function.
7066
ee218151
GM
70672012-08-17 Glenn Morris <rgm@gnu.org>
7068
7069 * mail/rmailout.el (rmail-output-read-file-name):
7070 Check rmail-output-file-alist against the full message body
7071 in the correct rmail buffer. (Bug#12214)
7072
4a6bc3fd
MA
70732012-08-17 Michael Albinus <michael.albinus@gmx.de>
7074
9fba804b
SM
7075 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
7076 Eliminate superfluous prompt. (Bug#12203)
4a6bc3fd 7077
383dcbf9
CY
70782012-08-17 Chong Yidong <cyd@gnu.org>
7079
7080 * mouse.el (mouse-appearance-menu): If x-select-font returns a
7081 font spec, set the font directly (Bug#3228).
7082
998c4a6a
MR
70832012-08-17 Martin Rudalics <rudalics@gmx.at>
7084
7085 * window.el (delete-window): Fix last fix.
7086
52162052
MR
70872012-08-16 Martin Rudalics <rudalics@gmx.at>
7088
7089 * window.el (window-valid-p): Move to window.c.
85c2386b
MR
7090 (window-child, window-child-count, window-last-child)
7091 (window-normalize-window, window-combined-p)
7092 (window-combinations, window-atom-root, window-min-size)
7093 (window-sizable, window-sizable-p, window-size-fixed-p)
7094 (window-min-delta, window-max-delta, window--resizable)
7095 (window--resizable-p, window-resizable, window-total-size)
7096 (window-full-height-p, window-full-width-p, window-body-size)
7097 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
7098 (minimize-window, window-deletable-p, delete-window)
7099 (delete-other-windows, set-window-buffer-start-and-point)
7100 (next-buffer, previous-buffer, split-window, balance-windows-2)
7101 (set-window-text-height, window-buffer-height)
7102 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9fba804b
SM
7103 (truncated-partial-width-window-p): Minor code adjustments.
7104 In doc-strings state whether the argument window has to denote a
85c2386b 7105 live, valid or any window.
52162052 7106
1c308380
PS
71072012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
7108
7109 * progmodes/subword.el (subword-forward-function)
7110 (subword-backward-function, subword-forward-regexp)
7111 (subword-backward-regexp): New variables.
7112 (subword-forward, subword-forward-internal, subword-backward-internal):
7113 Use new variables, eg so that different "word" definitions
7114 can be easily used. (Bug#11411)
7115
94c9ece1
SM
71162012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7117
7118 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
7119 for composite selectors.
7120 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
7121 operation just because we can't find a previous revision.
7122
f2045622
CY
71232012-08-15 Chong Yidong <cyd@gnu.org>
7124
7125 * frame.el (set-frame-font): Accept font objects.
7126
582db660
SM
71272012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7128
7129 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
7130
2f29c200
WJ
71312012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
7132
456e62c2
WJ
7133 * man.el (Man-overstrike-face, Man-underline-face)
7134 (Man-reverse-face): Remove variables.
7135 (Man-overstrike, Man-underline, Man-reverse): New faces.
7136 (Man-fontify-manpage): Use them instead of the variables.
7137 (Man-cleanup-manpage): Comment change.
7138 (Man-ansi-color-map): New variable.
7139 (Man-fontify-manpage): Use it.
7140 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
7141
2f29c200
WJ
7142 Implement ANSI SGR parameters 22-27 (bug#12146).
7143 * ansi-color.el (ansi-colors): Doc fix.
7144 (ansi-color-context, ansi-color-context-region): Doc fix.
7145 (ansi-color--find-face): New function.
7146 (ansi-color-apply, ansi-color-apply-on-region): Use it.
7147 Rename the local variable `face' to `codes' since it is now a list of
7148 ansi codes. Doc fix.
7149 (ansi-color-get-face): Remove.
7150 (ansi-color-parse-sequence): New function, derived from
7151 ansi-color-get-face.
7152 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
7153 codes 22-27.
7154
b4f5e9df
SM
71552012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
7156
7157 * subr.el (read-passwd): Allow use from a minibuffer.
7158
ba025fbd
EZ
71592012-08-14 Eli Zaretskii <eliz@gnu.org>
7160
7161 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
7162 inside comments and strings as identifiers.
7163
7164 * progmodes/gud.el (gud-tooltip-print-command): Quote the
7165 expression to evaluate. This allows to evaluate expressions with
7166 embedded whitespace.
7167 (gud-tooltip-tips): Add a blank before the newline in the
7168 message-box text, for the benefit of message-box emulation on
7169 MS-Windows.
7170
7171 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
7172 messages from GDB, pop them up in a tooltip to give feedback to
7173 user.
b4f5e9df
SM
7174 (gdb-tooltip-print-1): Quote the expression to evaluate.
7175 This allows to evaluate expressions with embedded whitespace.
ba025fbd
EZ
7176 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
7177 if the TTY name is nil or empty (which happens when communicating
7178 with the inferior via pipes, e.g. on MS-Windows).
7179 (gdb-internals): If GDB sends a "&\n" empty debugging message,
7180 don't send that to the GUD buffer.
7181
c548f821
GM
71822012-08-14 Glenn Morris <rgm@gnu.org>
7183
7184 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
7185 Optimize away setq-default with no args, as for setq. (Bug#12195)
7186
55802e4a
CY
71872012-08-14 Chong Yidong <cyd@gnu.org>
7188
4abcdac8
CY
7189 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
7190
55802e4a
CY
7191 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
7192 (Bug#12085).
7193
3c3cda1a
GM
71942012-08-14 Glenn Morris <rgm@gnu.org>
7195
7196 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
7197
e1873bd0
MA
71982012-08-14 Michael Albinus <michael.albinus@gmx.de>
7199
7200 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
7201 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
7202 Use cached shell name.
7203
925411b4
FEG
72042012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
7205
7206 * progmodes/python.el (python-shell-send-string):
3c3cda1a 7207 (python-shell-send-setup-code): Do not use `format' with `message'.
925411b4 7208
e636fafe
DG
72092012-08-14 Dmitry Gutov <dgutov@yandex.ru>
7210
7211 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
7212 (ruby-percent-literal-beg-re): New constant.
7213 (ruby-syntax-general-delimiters-goto-beg): Rename to
7214 `ruby-syntax-enclosing-percent-literal', improve literal type check.
7215 (ruby-syntax-propertize-general-delimiters): Rename to
7216 `ruby-syntax-propertize-percent-literal', it's a shorter and more
7217 popular term. Adjust comments everywhere.
7218 (ruby-syntax-propertize-percent-literal): Only propertize when not
7219 inside a simple string or comment. When the literal is unclosed,
7220 leave the text after it unpropertized.
f063063a
DG
7221 (ruby-syntax-methods-before-regexp): New constant.
7222 (ruby-syntax-propertize-function): Use it to recognize regexps.
7223 Don't look at the text after regexp, just use the whitelist.
e636fafe 7224
e5b19827
AS
72252012-08-14 Andreas Schwab <schwab@linux-m68k.org>
7226
7227 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
7228 non-nil always load the compiled file if it exists. (Bug#12197)
7229
a9f6f311
CY
72302012-08-14 Chong Yidong <cyd@gnu.org>
7231
7232 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
7233 (hi-lock-set-pattern): When deciding whether to use font lock or
7234 overlays, look at font-lock-mode instead of font-lock-fontified
7235 (Bug#12168).
7236 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
7237 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
7238
7d806b1e
DU
72392012-08-14 Daiki Ueno <ueno@unixuser.org>
7240
7241 * subr.el (internal--after-with-selected-window): Fix typo
7242 (Bug#12193).
7243
5beed586
FEG
72442012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
7245
7246 Use `completion-table-dynamic' for completion functions.
7247 * progmodes/python.el
7248 (python-shell-completion--do-completion-at-point)
e636fafe
DG
7249 (python-shell-completion--get-completions):
7250 Remove functions.
5beed586
FEG
7251 (python-shell-completion-complete-at-point): New function.
7252 (python-completion-complete-at-point): Use it.
7253
92cb3b04
J
72542012-08-13 Jambunathan K <kjambunathan@gmail.com>
7255
7256 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
7257 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
7258
89660017
SM
72592012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7260
3c98c962
SM
7261 * subr.el (function-get): Refine `autoload' arg so it can also
7262 autoload functions for gv.el (bug#12191).
7263 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
7264 autoloads macros.
7265
aa7c6dbe
SM
7266 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
7267 Prefer pcase-let over destructuring-bind.
7268 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
7269 Also, remove whitespace as we go, rather than after accumulating the
7270 various places.
7271
89660017
SM
7272 * subr.el (internal--before-with-selected-window)
7273 (internal--after-with-selected-window): Fix typo seleted->selected.
7274 (with-selected-window): Adjust callers.
7275 Reported by Dmitry Gutov <dgutov@yandex.ru>.
7276
31cd32c9
BG
72772012-08-13 Bastien Guerry <bzg@gnu.org>
7278
0fcd3d9f 7279 * window.el (special-display-popup-frame): Minor docstring
31cd32c9
BG
7280 enhancement. (Bug#12172)
7281
1b15d8ad
AS
72822012-08-13 Andreas Schwab <schwab@linux-m68k.org>
7283
31e54db0
AS
7284 * tar-mode.el (tar-header-data-end): Only ignore size for files of
7285 type 1-6.
7286 (tar-header-block-summarize, tar-get-descriptor): Handle pax
7287 extended headers.
7288
1b15d8ad
AS
7289 * files.el (hack-local-variables-filter): Remove useless eval.
7290
35cb9c06
MR
72912012-08-13 Martin Rudalics <rudalics@gmx.at>
7292
7293 * subr.el (with-selected-window): Fix last change.
7294
1439443b
SM
72952012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7296
7297 * subr.el (internal--before-with-seleted-window)
7298 (internal--after-with-seleted-window): New functions.
1b15d8ad
AS
7299 (with-selected-window): Use them, to replace dependency on
7300 tty-top-frame.
1439443b 7301
0d9e2599
NN
73022012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
7303
7304 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
7305 binding for `newline'.
7306 (ruby-move-to-block): When moving backward, stop at block opening,
7307 not indentation.
7308 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
7309 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
7310 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
7311 `ruby-toggle-block'.
7312
ba10c48c
SM
73132012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7314
7315 * ibuffer.el (ibuffer-do-toggle-read-only):
7316 * dired.el (dired-toggle-read-only):
7317 * buff-menu.el (Buffer-menu-toggle-read-only):
7318 * bindings.el (mode-line-toggle-read-only):
7319 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
7320
9229c658
AS
73212012-08-12 Andreas Schwab <schwab@linux-m68k.org>
7322
7323 * descr-text.el (describe-char): Put the overlays over the
7324 "displayed as" character.
7325
0fd09128
JB
73262012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
7327
7328 * calc/calc-units.el (math-default-units-table): Give an
7329 initial value.
7330 (math-put-default-units): Add options to put composite units and
7331 unit systems in the default units table.
7332 (calc-convert-units): Send composite units to
7333 `math-put-default-units' when appropriate.
7334
9ff9402d 73352012-08-11 Glenn Morris <rgm@gnu.org>
7aacaf15 7336
fbb5e336
GM
7337 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
7338
7aacaf15
GM
7339 * tutorial.el (help-with-tutorial):
7340 * emacs-lisp/copyright.el (copyright-update-directory):
7341 * emacs-lisp/autoload.el (autoload-find-generated-file)
7342 (autoload-find-file): Disable local eval: (for insurance).
7343
f40b9f10
GM
7344 * files.el (hack-local-variables-filter): If an eval: form is not
7345 known to be safe, and enable-local-variables is :safe, then ignore
7346 the form totally, as is done for non-eval forms. (Bug#12155)
6f97980a 7347 This is CVE-2012-3479.
f40b9f10 7348
daa9f1a6
SM
73492012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
7350
7351 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
7352 (rx-form): Simplify.
7353
9cd80478
DG
73542012-08-09 Dmitry Gutov <dgutov@yandex.ru>
7355
0d9e2599
NN
7356 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
7357 ?, _, and : are symbol constituents, ! is not (but kinda should be).
7358 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
7359 (ruby-syntax-propertize-function): Adjust for changes in
7360 `ruby-syntax-propertize-heredoc'.
7361
73622012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
7363
9cd80478
DG
7364 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
7365 binding (use `M-;' instead).
9cd80478 7366 (ruby-singleton-class-p): New function.
0d9e2599 7367 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9cd80478 7368
d301b413
SM
73692012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
7370
7371 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
7372
1530c98e
CY
73732012-08-10 Chong Yidong <cyd@gnu.org>
7374
7375 * progmodes/python.el (python-shell-get-process-name): Don't mess
7376 with same-window-buffer-names.
7377
7378 * eshell/eshell.el (eshell-add-to-window-buffer-names)
7379 (eshell-remove-from-window-buffer-names): Make obsolete.
7380 (eshell-buffer-name, eshell-unload-hook): Don't use them.
7381 (eshell): Just use pop-to-buffer-same-window instead.
7382
e1293765
CY
73832012-08-10 Chong Yidong <cyd@gnu.org>
7384
7385 * bindings.el: Bind M-= back to count-words-region.
7386
7387 * simple.el (count-words-region): Accept a prefix arg for acting
7388 on the entire buffer.
7389 (count-words--buffer-message): New helper function.
7390
e1894109
SM
73912012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
7392
7393 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
7394 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
7395 (event-start, event-end): Use posn-at-point to return a more
7396 informative posn.
7397 (posnp): New function.
7398 * mouse.el (popup-menu-normalize-position): Use it.
7399
c69f56a2
MY
74002012-08-10 Masatake YAMATO <yamato@redhat.com>
7401
7402 * mouse.el (popup-menu-normalize-position): New function.
7403 (popup-menu): Use `popup-menu-normalize-position' to normalize
7404 the form for POSITION argument.
7405
7406 * term/x-win.el (x-menu-bar-open):
7407 Use the value returend from (posn-at-point) as position
7408 passed to `popup-menu'.
7409
31673780
JB
74102012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
7411
7412 * calc/calccomp.el (math-compose-expr): Add extra argument
7413 indicating that parentheses should be put around products in
7414 denominators. Give multiplication precedence over division during
7415 composition.
7416
dab7711b
CY
74172012-08-09 Chong Yidong <cyd@gnu.org>
7418
dee4ef93
CY
7419 * man.el (Man-switches, Man-sed-command, Man-awk-command)
7420 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
7421 (Man-untabify-command, manual-program): Convert to defcustom
7422 (Bug#10429).
7423
73e2bbc5
CY
7424 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
7425
3e861c8a
CY
7426 * descr-text.el (describe-char): Don't insert extra newlines
7427 (Bug#10127).
7428
a9f5a649
CY
7429 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
7430 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
7431
dab7711b
CY
7432 * align.el (align-region): Delete temporary markers (Bug#10047).
7433 Plus some code cleanups.
7434
e0cc4efa
FEG
74352012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
7436
7437 * progmodes/python.el (python-pdbtrack-tracked-buffer)
7438 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
7439 (python-shell-internal-last-output): Use make-local-variable
7440 instead of make-variable-buffer-local.
7441
489af14f
FEG
74422012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
7443
7444 * progmodes/python.el: Enhancements to forward-sexp.
7445 (python-nav-forward-sexp): Rename from
7446 python-nav-forward-sexp-function.
c69f56a2
MY
7447 (python-nav--forward-sexp, python-nav--backward-sexp):
7448 New functions.
489af14f 7449
0fc50303
JB
74502012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
7451
7452 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
7453 modes and simplification modes.
7454
5d65606a
SM
74552012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
7456
7457 * delsel.el (delete-selection-pre-hook): Don't propagate the
7458 file-supersession signals (bug#12161).
7459
4250fdf5
SM
74602012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7461
7462 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
7463 (cl-map-extents): Add compatibility aliases (bug#12135).
7464
d9f9b465
MA
74652012-08-08 Michael Albinus <michael.albinus@gmx.de>
7466
7467 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
7468 tests by `ignore-error'.
7469 (tramp-find-shell): Open also a new shell, when cache is already
7470 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
7471
ce0fcefa
JL
74722012-08-08 Juri Linkov <juri@jurta.org>
7473
7474 * bookmark.el: Add `defaults' property to the bookmark record.
7475 (bookmark-current-buffer): Doc fix.
7476 (bookmark-make-record): Add `defaults' property with default values
7477 to the bookmark record.
7478 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
7479 with `bookmark-insert-current-bookmark'.
7480 (bookmark-set): Get `defaults' property from the bookmark record
7481 and use it in `read-from-minibuffer'.
7482 (bookmark-insert-current-bookmark): Remove function.
7483
7484 * info.el (Info-bookmark-make-record): Add `defaults' property
7485 with values of canonical Info node name, the current Info file
7486 name and the current Info node name. (Bug#12107)
7487
53fa8652
JL
74882012-08-08 Juri Linkov <juri@jurta.org>
7489
7490 * files.el (basic-save-buffer): Use `buffer-name' as the default
7491 of `read-file-name' when buffer is not visiting a file (bug#12128).
7492
242c0a95
JL
74932012-08-08 Juri Linkov <juri@jurta.org>
7494
7495 * info.el (Info-isearch-search): Doc fix.
7496 (Info-search): Change search-failed message from "initial node" to
7497 "end of node" (bug#12078).
7498 (Info-isearch-search): Change `isearch-string-state' to
7499 `isearch--state-string'.
7500
32ac3a6b
GM
75012012-08-08 Glenn Morris <rgm@gnu.org>
7502
7503 * language/persian.el: Remove file.
f8c1afd5 7504 * language/misc-lang.el: Move unique part of persian.el here.
32ac3a6b
GM
7505 * loadup.el: Remove language/persian.
7506
2c2d9c9c
OF
75072012-08-08 Óscar Fuentes <ofv@wanadoo.es>
7508
7509 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
7510
2d79ec42
FEG
75112012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
7512
3c855b96 7513 * progmodes/python.el: Fix defsubst warning.
2d79ec42
FEG
7514 (python-syntax-context) Rename from python-info-ppss-context.
7515 (python-syntax-context-type): Rename from
7516 python-info-ppss-context-type.
7517 (python-syntax-comment-or-string-p): Rename from
7518 python-info-ppss-comment-or-string-p.
7519
2bd255dd
JB
75202012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
7521
7522 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
7523
c395097f
AS
75242012-08-07 Andreas Schwab <schwab@linux-m68k.org>
7525
6125983e
AS
7526 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
7527 a defcustom that is quoted with backquote.
7528
4250fdf5
SM
7529 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
7530 Fix handling of interactive spec when the body uses return.
651eaf36
AS
7531 (math-do-arg-check, math-define-function-body): Use backquote forms.
7532 * calc/calc-ext.el (math-defcache): Likewise.
7533 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
7534 * allout.el (allout-new-exposure): Likewise.
7535 * calc/calcalg2.el (math-tracing-integral): Likewise.
7536 * info.el (Info-last-menu-item): Likewise.
7537 * emulation/vip.el (vip-loop): Likewise.
7538 * textmodes/artist.el (artist-funcall): Likewise.
7539 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
7540 Construct menu-item directly.
7541
4250fdf5
SM
7542 * progmodes/autoconf.el (font-lock-syntactic-keywords):
7543 Don't declare.
c395097f 7544
5fb50dd3
CY
75452012-08-07 Chong Yidong <cyd@gnu.org>
7546
7547 * simple.el (deactivate-mark): Preserve text properties when
7548 saving the primary selection (Bug#8384).
7549
54eea618
KR
75502012-08-07 Kevin Ryde <user42@zip.com.au>
7551
7552 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
7553 (woman-parse-numeric-value): On a bad .IP line, issue a warning
7554 and continue processing (Bug#12110).
7555
638eaeb9
SM
75562012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
7557
7558 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
7559 syntax-propertize-function (bug#10095).
7560
ea376861
SM
75612012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
7562
f91b35be
SM
7563 * help-fns.el (help-fns--key-bindings, help-fns--signature)
7564 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
7565 describe-function-1.
7566 (describe-function-1): Use them. Move compiler macro after sig.
7567 (help-fns--compiler-macro): Use function-get. Assume we're already in
7568 standard-output. Adjust layout to new call order.
7569
ea376861
SM
7570 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
7571 re-binding a symbol that has a symbol-macro (bug#12119).
7572
d5be7bd0
MB
75732012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
7574
7575 * language/persian.el: New file. (Bug#11812)
7576 * loadup.el: Add language/persian.el.
7577
90749b53
CY
75782012-08-06 Chong Yidong <cyd@gnu.org>
7579
7580 * window.el (window--maybe-raise-frame): New function.
7581 (window--display-buffer): Split off from here.
7582 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7583 (display-buffer-pop-up-window, display-buffer-use-some-window):
7584 Obey an inhibit-switch-frame action alist entry.
7585 (display-buffer): Update doc.
7586
7587 * replace.el (occur-after-change-function): Avoid losing focus by
7588 using the inhibit-switch-frame display parameter (Bug#12139).
7589
ba7b0154
FEG
75902012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
7591
7592 Make internal shell process buffer names start with space.
7593 * progmodes/python.el (python-shell-make-comint): Add optional
7594 argument INTERNAL.
7595 (run-python-internal): Use it.
7596 (python-shell-internal-get-or-create-process): Check for new
7597 internal buffer names.
7598
5eaeacb5
GM
75992012-08-06 Glenn Morris <rgm@gnu.org>
7600
e296d94b 7601 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
7602 Do less getting and setting of environment variables.
7603
b7ccbdc2
CY
76042012-08-05 Chong Yidong <cyd@gnu.org>
7605
777fe95e
CY
7606 * proced.el (proced): Add substitution string to docstring to
7607 trigger autoloading of the proced library on C-h f (Bug#1768).
7608
4250fdf5
SM
7609 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
7610 Don't show defvars which have no second argument (Bug#8638).
b7ccbdc2
CY
7611
7612 * imenu.el (imenu-generic-expression): Move documentation here
7613 from imenu--generic-function.
7614 (imenu--generic-function): Refer to imenu-generic-expression.
7615
9e3b7800 76162012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
7617
7618 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
7619 indentation declaration.
7620 (viper-loop): Add indentation declaration (Bug#7025).
7621
e5d9c0d1
CY
76222012-08-05 Chong Yidong <cyd@gnu.org>
7623
f0422feb
CY
7624 * help-fns.el (describe-variable): Add hyperlink for
7625 directory-local variables files. Improve buffer-local and
7626 permanent-local reporting; suggested by MON KEY (Bug#6644).
7627
7628 * help-mode.el (help-dir-local-var-def): New button type.
7629
e5d9c0d1
CY
7630 * files.el (kill-buffer-hook): Provide a defvar.
7631
a4f2deaa
GM
76322012-08-05 Glenn Morris <rgm@gnu.org>
7633
7634 * eshell/esh-ext.el (eshell/addpath):
7635 Also update eshell-path-env. (Bug#12013)
7636
a9dd5754
CY
76372012-08-05 Chong Yidong <cyd@gnu.org>
7638
a4f2deaa 7639 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 7640
d014c740
CY
7641 * fringe.el (fringe-styles): Add docstring.
7642 (fringe--check-mode): New function.
7643 (set-fringe-mode, set-fringe-style): Use it.
7644 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
7645
a9dd5754
CY
7646 * files.el (set-auto-mode): Fix invalid setq call.
7647
7c2dc8bd
SM
76482012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7649
7650 * isearch.el: Misc simplification; use defstruct.
7651 (isearch-mode-map): Dense maps now work like sparse ones.
7652 (isearch--state): New defstruct.
7653 (isearch-string-state, isearch-message-state, isearch-point-state)
7654 (isearch-success-state, isearch-forward-state)
7655 (isearch-other-end-state, isearch-word-state, isearch-error-state)
7656 (isearch-wrapped-state, isearch-barrier-state)
7657 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
7658 replaced by defstruct's accessors.
7659 (isearch--set-state): Rename from isearch-top-state and change
7660 calling convention.
7661 (isearch-push-state): Use new isearch--get-state.
7662 (isearch-toggle-word): Disable regexp when enabling word.
7663 (isearch-message-prefix): Remove unused arg _c-q-hack.
7664 (isearch-message-suffix): Remove unused arg _ellipsis.
7665
7fcc0070
AS
76662012-08-04 Andreas Schwab <schwab@linux-m68k.org>
7667
7668 * simple.el (list-processes--refresh): For a server use :host or
7669 :local as the address.
97ad0769 7670 (list-processes): Doc fix.
7fcc0070 7671
a11035b8 76722012-08-04 Michal Nazarewicz <mina86@mina86.com>
00340faf
MN
7673
7674 * lisp/mpc.el: Support password in host argument.
7675 (mpc--proc-connect): Parse and use new password element.
7676 Set mpc-proc variable instead of returning process.
7677 (mpc-proc): Adjust accordingly.
7678
6dad7178
EZ
76792012-08-03 Eli Zaretskii <eliz@gnu.org>
7680
18949c2f
EZ
7681 * whitespace.el (whitespace-display-mappings): Use Unicode
7682 codepoints, instead of emacs-mule codepoints. See
7683 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
7684 for the details.
7685
6dad7178
EZ
7686 * files.el (file-truename): Don't skip symlink-chasing part on
7687 windows-nt. Incorporate the resolution of 8+3 short aliases on
4250fdf5
SM
7688 Windows into the loop that recursively chases symlinks.
7689 Compare directory and its parent case-insensitively on MS-Windows and
6dad7178
EZ
7690 MS-DOS.
7691
385b0198
CY
76922012-08-03 Chong Yidong <cyd@gnu.org>
7693
6200f3c4
CY
7694 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
7695
385b0198
CY
7696 * sort.el (sort-regexp-fields): Doc fix.
7697
b9e74744
TH
76982012-08-03 Tassilo Horn <tsdh@gnu.org>
7699
7700 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
7701 labels regex position point at the expected place.
7702
41013cb4
MK
77032012-08-03 MON KEY <monkey@sandpframing.com>
7704
7705 * net/imap.el (imap-interactive-login, imap-authenticate)
7706 (imap-mailbox-lsub, imap-mailbox-list)
7707 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
7708 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
7709 (imap-parse-response): Doc fix.
7710
0ffee616
JT
77112012-08-03 João Távora <joaotavora@gmail.com>
7712
7713 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
7714 if sexp scanning does not move point (Bug#5734).
7715
cfcc9cc8
TH
77162012-08-02 Tassilo Horn <tsdh@gnu.org>
7717
7718 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
7719 Add listings, minted, and ctable packages.
7720 (reftex-label-alist-builtin): Move listings, minted, and ctable
7721 entries before LaTeX.
a01bbb84 7722 (reftex-label-alist): Docfix.
cfcc9cc8 7723
66ec2442
BG
77242012-08-02 Bastien Guerry <bzg@gnu.org>
7725
7726 * replace.el (occur): Fix docstring (bug#12122).
7727
837b365b
GM
77282012-08-02 Glenn Morris <rgm@gnu.org>
7729
7730 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
7731
e098de97
PE
77322012-08-02 Paul Eggert <eggert@cs.ucla.edu>
7733
7734 Obsolete alias inactivate-current-input-method-function (Bug#10150).
7735 * international/mule-cmds.el: Create
7736 inactivate-current-input-method-function as an obsolete alias for
7737 deactivate-current-input-method-function. See Katsumi Yamaoka in
7738 <http://bugs.gnu.org/10150#46>.
7739
a0f95636
JB
77402012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
7741
7742 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
7743 of nested `if's.
7744
0d26d7c4
GM
77452012-08-01 Glenn Morris <rgm@gnu.org>
7746
7747 * progmodes/autoconf.el (autoconf-definition-regexp):
7748 Add AH_TEMPLATE, adjust submatch numbering.
7749 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
7750 (autoconf-current-defun-function): Update for above change.
7751 (autoconf-current-defun-function): First skip to end of current word.
7752
b686ba06
RS
77532012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
7754
7755 * calendar/cal-html.el (cal-html-insert-agenda-days):
7756 Fix typo. (Bug#12018)
7757
0d49da68
FEG
77582012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
7759
7760 Shell processes: enhancements to startup and CEDET compatibility.
7761 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
7762 (python-shell-make-comint): accept-process-output at startup.
7763 (run-python-internal): Set inferior-python-mode-hook to nil.
7764 (python-shell-internal-get-or-create-process): call sit-for.
7765 (python-preoutput-result): Add obsolete alias.
7766 (python-shell-internal-send-string): Use it.
7767 (python-shell-send-setup-code): Remove call to
7768 accept-process-output.
7769
f1a71c6e
AS
77702012-07-31 Andreas Schwab <schwab@linux-m68k.org>
7771
7772 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
7773 (Bug#12108)
7774
d2605269
JB
77752012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
7776
7777 * calc-mode.el (calc-basic-simplification-mode): Rename from
7778 `calc-limited-simplification-mode'.
7779 (calc-alg-simplification-mode): New function.
fc0c31f8 7780 (calc-set-simplify-mode): Adjust message.
f1a71c6e 7781
d2605269
JB
7782 * calc.el (calc-set-mode-line): Adjust mode line display for
7783 basic simplification mode.
7784
7785 * calc-help.el (calc-m-prefix-help): Update help message.
7786
7787 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
7788 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
7789
a3827a43
BG
77902012-07-31 Bastien Guerry <bzg@gnu.org>
7791
7792 * man.el (man): Fix comment. (bug#12101)
7793
502e3f89
MR
77942012-07-31 Martin Rudalics <rudalics@gmx.at>
7795
7796 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
7797 Don't return a non-nil value when no suitable buffer was found.
7798
d7714961
FEG
77992012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
7800
7801 * progmodes/python.el (run-python-internal): Disable font lock for
7802 internal shells.
7803
1f45e27e
SM
78042012-07-30 Stefan Merten <smerten@oekonux.de>
7805
70efc5c9 7806 * textmodes/rst.el: Silence `checkdoc-ispell'.
1f45e27e
SM
7807 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
7808 (rst-official-version, rst-official-cvs-rev)
7809 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
7810 (rst-mode-map): New key binding.
7811
0aee6912
PE
78122012-07-30 Paul Eggert <eggert@cs.ucla.edu>
7813
7814 Update .PHONY listings in makefiles.
7815 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
7816 autoloads, update-subdirs, updates, bzr-update, update-authors,
7817 compile-onefile, compile-calc, backup-compiled-files,
7818 compile-after-backup, compile-one-process, mh-autoloads,
7819 bootstrap-clean, distclean, maintainer-clean.
7820
9052f9f0
JB
78212012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
7822
1823ac5a
JB
7823 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
7824 (calc-set-mode-line): Don't display "AlgSimp ".
7825
7826 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
7827 (calc-lim-simplify-mode): New function.
7828 (calc-set-simplify-mode): Default to 'alg.
7829 (calc-default-simplify-mode): Make algebraic simplifications
7830 the default.
7831
7832 * calc/calc-ext.el (calc-init-extensions): Remove binding for
7833 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
7834
8d7c7eed 7835 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
7836 indicate new simplification modes.
7837
1823ac5a
JB
7838 * calc/README: Mention new default simplification mode.
7839
9052f9f0
JB
7840 * calc/calc.el (math-normalize-error): New variable.
7841 (math-normalize): Set `math-normalize-error' to t
7842 when there's an error.
7843
7844 * calc/calc-alg.el (math-simplify): Don't simplify when
7845 `math-normalize' returns an error.
7846
20ba0cb4
EZ
78472012-07-29 Eli Zaretskii <eliz@gnu.org>
7848
7849 * international/mule-cmds.el (set-locale-environment): Revert last
7850 change, since display-graphic-p returns nil when this function is
7851 called during startup. Instead...
7852
7853 * term/w32console.el (terminal-init-w32console): ...setup the
7854 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
7855
a5dcc929
JL
78562012-07-29 Juri Linkov <juri@jurta.org>
7857
7858 * simple.el (goto-line): Don't display default line number in the
7859 prompt because it should be displayed by `read-number' (bug#9952).
7860 Add the current line number to the defaults of `goto-line' to
7861 allow its easier modification by users with `M-n' (bug#9201).
7862
7863 * subr.el (read-number): Support multiple default values like in
7864 other minibuffer reading functions. Replace `read' with
7865 `string-to-number' for consistency with `number-to-string'.
7866
72b255c7
PE
78672012-07-29 Paul Eggert <eggert@cs.ucla.edu>
7868
7869 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
7870 * emulation/viper-init.el (viper-deactivate-input-method-action):
7871 Rename from viper-inactivate-input-method-action.
7872 (viper-deactivate-input-method):
7873 Rename from viper-inactivate-input-method.
7874 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
7875 * international/mule-cmds.el (deactivate-input-method):
7876 Rename from inactivate-input-method.
7877 Also run input-method-deactivate-hook.
7878 (deactivate-current-input-method-function):
7879 Rename from inactivate-current-input-method-function.
7880 (input-method-deactivate-hook): New hook.
7881 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
7882 (inactivate-input-method): Mark obsolete.
7883
72b255c7
PE
7884 * international/quail.el (quail-activate):
7885 Also run quail-deactivate-hook.
7886 (quail-deactivate): Rename from quail-inactivate.
7887 * international/robin.el (robin-activate):
7888 Also run robin-deactivate-hook.
7889 (robin-deactivate): Rename from robin-inactivate.
7890
2549c068
CY
78912012-07-29 Chong Yidong <cyd@gnu.org>
7892
7893 * simple.el (indicate-copied-region): New function.
7894 (kill-ring-save): Split off from here.
7895
7896 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
7897 (kill-rectangle): Set deactivate-mark to t on read-only error.
7898
7899 * register.el (copy-to-register, copy-rectangle-to-register):
7900 Deactivate the mark, and use indicate-copied-region (Bug#10056).
4c478e6b
JL
7901 (append-to-register, prepend-to-register): Call indicate-copied-region.
7902
79032012-07-29 Juri Linkov <juri@jurta.org>
17711ed9
JL
7904
7905 * simple.el (async-shell-command-buffer): New defcustom.
7906 (shell-command): Use it. (Bug#4719)
7907
01bd1b0d
EZ
79082012-07-28 Eli Zaretskii <eliz@gnu.org>
7909
7910 * international/mule-cmds.el (set-locale-environment): In a
7911 console session on MS-Windows, set up keyboard and terminal
7912 encoding from the OEM codepage, not the ANSI codepage.
7913 (Bug#12055)
7914
a55739d3
CY
79152012-07-28 Chong Yidong <cyd@gnu.org>
7916
7917 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
7918 gdb-get-location.
7919
0e1a094f 79202012-07-28 Leo Liu <sdl.web@gmail.com>
9a0f8f2e
LL
7921
7922 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
7923 the alist (bug#12029).
7924
20329d73
EZ
79252012-07-28 Eli Zaretskii <eliz@gnu.org>
7926
7927 * makefile.w32-in (custom-deps, finder-data, updates, compile)
7928 (compile-always, compile-first)
7929 ($(lisp)/calendar/cal-loaddefs.el)
7930 ($(lisp)/calendar/diary-loaddefs.el)
7931 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
7932 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
7933 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
7934 instead of on update-subdirs.
7935 (bootstrap-clean): Delete $(lisp)/subdirs.el.
7936
345a2258
CY
79372012-07-28 Chong Yidong <cyd@gnu.org>
7938
1eee6341
CY
7939 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
7940 directory if vc-deduce-backend returns nil (Bug#7350).
7941
345a2258
CY
7942 * simple.el (delete-trailing-lines): New option.
7943 (delete-trailing-whitespace): Obey it (Bug#11879).
7944
049a0936
DE
79452012-07-28 David Engster <deng@randomsample.de>
7946
7947 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
7948 Explanation of new 'symbol-qnames feature in doc-strings.
7949 (xml-maybe-do-ns): Return expanded names as plain symbols if
7950 'symbol-qnames was provided in XML-NS argument (Bug#11916).
7951 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
7952
aa81af71
FEG
79532012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
7954
7955 Consistent completion in inferior python with emacs -nw.
7956 * progmodes/python.el (inferior-python-mode): replace "<tab>"
7957 binding in inferior-python-mode-map with "\t".
7958 (python-shell-completion-complete-at-point)
7959 (python-completion-complete-at-point): Remove interactive spec.
7960
e827b1eb
JB
79612012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
7962
7963 * calc/calccomp.el (math-compose-expr): Undo previous change.
7964
a90dfb95
FEG
79652012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
7966
4250fdf5 7967 * progmodes/python.el (python-mode-map): Add keybinding for
a90dfb95
FEG
7968 run-python.
7969 (python-shell-make-comint): Fix pop-to-buffer call.
7970 (run-python): Autoload. New arg SHOW.
7971 (python-shell-get-or-create-process): Do not pop python process
7972 buffer.
7973
32770973 79742012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
7975
7976 * notifications.el (notifications-on-action-signal)
7977 (notifications-on-closed-signal): Use also the bus address for the map.
7978 (notifications-notify, notifications-close-notification)
fc0c31f8 7979 (notifications-get-capabilities): Add optional argument BUS.
1c6ef030 7980
86332df2
TH
79812012-07-27 Tassilo Horn <tsdh@gnu.org>
7982
4250fdf5
SM
7983 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
7984 Add support for the lstlisting and minted environments, and for the
86332df2
TH
7985 ctable macro.
7986 * textmodes/reftex.el (reftex-compile-variables): Also recognize
7987 labels written in keyvals syntax.
7988
ca1302a4
JB
79892012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
7990
7991 * calc/calccomp.el (math-compose-expr): Use parentheses when
7992 there is a product in the denominator of a fraction.
7993
f8b91036
EZ
79942012-07-26 Eli Zaretskii <eliz@gnu.org>
7995
7996 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
7997 ($(lisp)/calendar/diary-loaddefs.el)
7998 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4250fdf5
SM
7999 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
8000 Fixes failures in parallel bootstrap because subdirs.el is being
f8b91036
EZ
8001 rewritten while the autoload files are built at the same time,
8002 which needs to load subdirs.el.
8003
c8e5a42c
MR
80042012-07-26 Martin Rudalics <rudalics@gmx.at>
8005
8006 * mouse.el (popup-menu): Fix doc-string and re-indent code.
8007 (mouse-drag-line): Don't exit tracking when a switch-frame or
8008 switch-window event occurs (Bug#12006).
8009
670d85ea
SM
80102012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8011
8012 * mouse.el (popup-menu): Fix last change.
8013
7abaf5cc
SM
80142012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8015
8016 Autoload from Lisp with more care. Follow aliases when looking for
8017 function properties.
8018 * subr.el (autoloadp): New function.
8019 (symbol-file): Use it.
8020 (function-get): New function.
8021 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
8022 autoload-do-load.
8023 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
8024 (lisp-indent-function):
8025 * emacs-lisp/gv.el (gv-get):
8026 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
8027 * emacs-lisp/byte-opt.el (byte-optimize-form):
8028 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
8029 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
8030 Use function-get.
8031 * emacs-lisp/cl.el: Don't propagate function properties any more.
8032
8033 * speedbar.el (speedbar-add-localized-speedbar-support):
8034 * emacs-lisp/disass.el (disassemble-internal):
8035 * desktop.el (desktop-load-file):
8036 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
8037 (describe-function-1):
8038 * emacs-lisp/find-func.el (find-function-noselect):
8039 * emacs-lisp/elp.el (elp-instrument-function):
8040 * emacs-lisp/advice.el (ad-has-proper-definition):
8041 * apropos.el (apropos-safe-documentation, apropos-macrop):
8042 * emacs-lisp/debug.el (debug-on-entry):
8043 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
8044 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
8045 * calc/calc.el (name): Use autoloadp & autoload-do-load.
8046
b1364986
AA
80472012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
8048
8049 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
8050 function, not an obsolete variable (Bug#12046).
8051
67ada220
AS
80522012-07-25 Andreas Schwab <schwab@linux-m68k.org>
8053
8054 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
8055
f08088e3
CS
80562012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
8057
8058 * emacs-lisp/pp.el (pp-display-expression): Select old selected
8059 window only if it is still live (Bug#12034).
8060
8137e7b3
MR
80612012-07-25 Martin Rudalics <rudalics@gmx.at>
8062
8063 * subr.el (redirect-frame-focus): Add advertised calling
8064 convention (Bug#12030).
8065
09ae5da1
PE
80662012-07-25 Paul Eggert <eggert@cs.ucla.edu>
8067
8068 Prefer typical American spelling for "acknowledgment".
8069 * vc/add-log.el (change-log-acknowledgment): Rename from
8070 change-log-acknowledgement, with an alias for the old name.
8071
3cc5a3a8
JB
80722012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
8073
8074 * calc-alg.el (math-simplify-divide): Don't cross multiply
8075 in an equation when the lhs is a variable.
8076
b7af7f62
JD
80772012-07-24 Julien Danjou <julien@danjou.info>
8078
8079 * net/netrc.el (netrc-find-service-number, netrc-store-data):
8080 Remove, unused.
8081
ec1b09b1
EZ
80822012-07-23 Eli Zaretskii <eliz@gnu.org>
8083
8084 * startup.el (command-line): Don't display an empty user name in
8085 the error message about non-existent home directory, when
8086 init-file-user was set to an empty string. See
8087 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
8088 for the details and context.
8089
b525fd8a
VB
80902012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
8091
8092 * ses.el (ses-cell-formula-aset): New macro.
8093 (ses-cell-references-aset): New macro.
8094 (ses-cell-p): New function.
8095 (ses-rename-cell): Do no longer rely on complex operations like
8096 ses-cell-set-formula or ses-set-cell to change the cell and handle
8097 the undo at the same time, but rather use lower level new macros
8098 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
fc0c31f8 8099 the undo directly. Refresh the mode line.
b525fd8a 8100
2c73e345
LL
81012012-07-21 Leo Liu <sdl.web@gmail.com>
8102
670d85ea
SM
8103 * progmodes/cc-cmds.el (c-defun-name):
8104 Use match-string-no-properties instead for consistency.
2c73e345 8105
542dfbde
LL
81062012-07-20 Leo Liu <sdl.web@gmail.com>
8107
3646bcd6
LL
8108 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
8109 (Bug#7879)
8110
542dfbde
LL
8111 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
8112
25721031
CY
81132012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
8114
8115 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
8116 * progmodes/bug-reference.el, misearch.el: Provide themselves
8117 (bug#11915).
8118
8119 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
8120 of narrowed buffer (bug#11966).
8121
316e68a7
VB
81222012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
8123
8124 * ses.el (ses-rename-cell): Set new name also in reference list of
8125 cells of which the renamed cell depends.
8126
bbf0e7d9
MY
81272012-07-20 Masatake YAMATO <yamato@redhat.com>
8128
8129 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
8130 to check whether menu-bar is shown or not. If not shown,
8131 show the menu-bar as a popup menu instead of using tmm.
8132 * mouse.el (popup-menu): Accept `point' as `position' argument.
8133
c28662a8
DG
81342012-07-20 Dmitry Gutov <dgutov@yandex.ru>
8135
8136 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
8137 up inside string symbol literal (bug#11923).
8138
87ab808f
EZ
81392012-07-20 Eli Zaretskii <eliz@gnu.org>
8140
8141 * startup.el (fancy-startup-text): Read the whole tutorial, not
8142 just its first 256 bytes. Prevents gibberish in display of the
8143 tutorial title.
8144
89dea803
DA
81452012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
8146
8147 Drop idle buffer compaction due to an absence of the
8148 proved efficiency.
8149 * compact.el: Remove.
8150
8a4e6db8
SS
81512012-07-19 Sam Steingold <sds@gnu.org>
8152
8153 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
8154 vc-bzr-pull & vc-bzr-merge-branch.
8155 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
8156 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
8157 for consistency with compilation-error-regexp-alist.
8158 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
8159 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
8160 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
8161 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
8162
5db81e33
SM
81632012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
8164
8165 * emacs-lisp/chart.el: Use lexical-binding.
8166 (chart-emacs-storage): Don't hardcode the list of entries.
8167
5b835e1d
DA
81682012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
8169
8170 Next round of tweaks caused by Fgarbage_collect changes.
8171 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
8172
9cd47b72
DA
81732012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
8174
8175 Compact buffers when idle.
8176 * compact.el: New file.
8177
1d6fc0df
SM
81782012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
8179
8180 * subr.el (eventp): Presume that if it looks vaguely like an event,
8181 it's an event (bug#10190).
8182
1d29cc7d
FEG
81832012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
8184
8185 Enhancements to ppss related code (thanks Stefan).
8186 * progmodes/python.el (python-indent-context)
8187 (python-indent-calculate-indentation, python-indent-dedent-line)
8188 (python-indent-electric-colon, python-nav-forward-block)
8189 (python-mode-abbrev-table)
1d6fc0df 8190 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
8191 for ppss context.
8192 (python-info-continuation-line-p): Cleanup.
8193 (python-info-ppss-context): Do not catch 'quote.
8194 (python-info-ppss-context-type)
8195 (python-info-ppss-comment-or-string-p): Simplify.
8196
d583cbe6
FEG
81972012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
8198
8199 * progmodes/python.el: Enhancements to eldoc support.
8200 (python-info-current-symbol): New function.
8201 (python-eldoc-at-point): Use python-info-current-symbol.
8202 (python-info-current-defun): Fix cornercase on first defun scan.
8203 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
8204 and signal error when no inferior python process is available.
8205
eceb6feb
DG
82062012-07-18 Dmitry Gutov <dgutov@yandex.ru>
8207
8208 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
8209 assume it's always t.
8210 (vc-git-registered): Remove caching, the function is only called
8211 once.
8212 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
8213
4c8ff0fe
CY
82142012-07-18 Chong Yidong <cyd@gnu.org>
8215
19fb7186
CY
8216 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
8217
9587c688
CY
8218 * simple.el (count-words): Report on narrowing (Bug#9959).
8219
0fe776a1
CY
8220 * bindings.el: Bind M-= to count-words.
8221
4c8ff0fe
CY
8222 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
8223
7f5331cc
MY
82242012-07-18 Masatake YAMATO <yamato@redhat.com>
8225
8226 * progmodes/sh-script.el (sh-imenu-generic-expression):
8227 Capture a function with `function' keyword and without parentheses
8228 like "function FOO" (bug#11856).
8229
2dc2a609
TH
82302012-07-18 Tassilo Horn <tassilo@member.fsf.org>
8231
8232 * window.el (split-window-sensibly): Make WINDOW argument
8233 optional.
8234
439f7677
CY
82352012-07-18 Chong Yidong <cyd@gnu.org>
8236
9aeb25a6
CY
8237 * subr.el (keyboard-translate): Doc fix (Bug#7261).
8238
439f7677
CY
8239 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
8240 and make C-x 8 RET exit isearch (Bug#11439).
8241
8242 * international/iso-transl.el: Move isearch-mode-map key
8243 definitions to isearch.el.
8244
12999ea8
SM
82452012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
8246
8247 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
8248 (eieio-defclass): Use gv-define-setter when possible.
8249
3ab6e069
DA
82502012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
8251
8252 Reflect recent changes in Fgarbage_collect.
8253 * emacs-lisp/chart.el (chart-emacs-storage): Change to
8254 reflect new format of data returned by Fgarbage_collect.
8255
0a60bc10
FEG
82562012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
8257
8258 New utility functions + python-info-ppss-context fix (Bug#11910).
8259 * progmodes/python.el (python-info-beginning-of-block-statement-p)
8260 (python-info-ppss-comment-or-string-p): New functions.
8261 (python-info-ppss-context): Small fix for string check.
8262
6dafa0d5
JL
82632012-07-17 Juri Linkov <juri@jurta.org>
8264
8265 * dired-aux.el (dired-do-async-shell-command): Doc fix.
8266 (dired-do-async-shell-command): Don't add `*' at the end of the
8267 command (Bug#11815).
8268 (dired-do-shell-command): Doc fix.
8269 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
8270 Join the individual commands using either "&" or ";" as the
8271 separator depending on the values of these trailing characters.
8272 At the end re-add the trailing "&". (Bug#10598)
8273
8274 * simple.el (async-shell-command): Sync the interactive spec with
8275 `shell-command'. Doc fix.
8276 (shell-command): Doc fix.
8277
b19dd9d1
JL
82782012-07-17 Juri Linkov <juri@jurta.org>
8279
8280 * descr-text.el (describe-char): Fix format args. (Bug#10129)
8281
bcdc27d7 82822012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 8283
bcdc27d7 8284 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
8285 * progmodes/python.el (python-nav-beginning-of-statement):
8286 Rename from python-nav-statement-start.
bcdc27d7
FEG
8287 (python-nav-end-of-statement): Rename from
8288 python-nav-statement-end.
8289 (python-nav-beginning-of-block): Rename from
8290 python-nav-block-start.
8291 (python-nav-end-of-block): Rename from python-nav-block-end.
8292
191da00e
FEG
82932012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
8294
7f5331cc
MY
8295 * progmodes/python.el (python-shell-send-string-no-output):
8296 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
8297 future interactions (Bug#11868).
8298
4dc7c8d5 82992012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 8300
88ecaf8f
SM
8301 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
8302
ef501ef0
SM
8303 * emacs-lisp/elint.el (elint-find-args-in-code):
8304 Use help-function-arglist, so as to handle lexical byte-code.
8305
aa7aaf8f
SM
8306 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
8307 change (bug#11826).
8308
45fd731c
SM
83092012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
8310
2143fa32
SM
8311 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
8312 Avoid spuriously marking the buffer as modified because of c-is-sws.
8313
efc26dbe
SM
8314 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
8315 as not-a-comment (bug#11946).
8316
f5695c9a
SM
8317 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
8318 for uninterned vars.
8319
8320 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
8321 Use read-event since we don't really want to read chars but bytes.
8322
45fd731c
SM
8323 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
8324 $$..$$ but also $..$ using regexps (bug#11953).
8325 Use tex-verbatim for \url and \path.
8326 (tex-font-lock-keywords): Define as defconst like the others.
8327 (tex-common-initialization): Don't use font-lock-syntax-table any more.
8328
ddfc8813
RK
83292012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
8330
8331 * international/mule-cmds.el (ucs-insert): Make it an obsolete
8332 alias for insert-char.
8333
758e556a
FEG
83342012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
8335
8336 * progmodes/python.el: Simplified imenu implementation.
8337 (python-nav-jump-to-defun): Remove command.
8338 (python-mode-map): Use `imenu' instead.
8339 (python-nav-list-defun-positions-cache)
8340 (python-imenu-include-defun-type, python-imenu-make-tree)
8341 (python-imenu-subtree-root-label, python-imenu-index-alist):
8342 Remove vars.
8343 (python-nav-list-defun-positions, python-nav-read-defun)
8344 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
8345 (python-imenu-make-tree, python-imenu-create-index):
8346 Remove functions.
758e556a
FEG
8347 (python-mode): Update to interact with imenu by setting
8348 `imenu-extract-index-name-function' only.
8349
032d23ab
FEG
83502012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
8351
8352 * progmodes/python.el: Enhancements to navigation commands.
8353 (python-nav-backward-sentence)
8354 (python-nav-forward-sentence): Remove.
8355 (python-nav-backward-statement, python-nav-forward-statement)
8356 (python-nav-statement-start, python-nav-statement-end)
8357 (python-nav-backward-block, python-nav-forward-block)
8358 (python-nav-block-start, python-nav-block-end)
8359 (python-nav-forward-sexp-function)
8360 (python-info-current-line-comment-p)
8361 (python-info-current-line-empty-p): New functions.
8362 (python-indent-context): Use `python-nav-statement-start'.
8363
01795a1b
MA
83642012-07-16 Michael Albinus <michael.albinus@gmx.de>
8365
9328d9aa
MA
8366 * eshell/em-ls.el (eshell/ls): Use `apply'.
8367
8368 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
8369 multi-hops, instead of Tramp internals.
8370
01795a1b
MA
8371 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
8372
8373 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
8374 when F1 and F2 are located on different hosts.
8375
63408057
CY
83762012-07-14 Chong Yidong <cyd@gnu.org>
8377
8378 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
8379 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
8380 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
8381 (xterm-mouse--read-event-sequence-1000)
8382 (xterm-mouse--read-event-sequence-1006): New functions. For old
8383 mouse protocol, handle M-mouse-X events correctly.
8384 (xterm-mouse-event): New arg specifying mouse protocol.
8385 (turn-on-xterm-mouse-tracking-on-terminal)
8386 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
8387 sequence to toggle extended coordinates on newer XTerms.
8388 This appears to be harmless on terminals which do not support this.
63408057 8389
cd276f6e
LL
83902012-07-14 Leo Liu <sdl.web@gmail.com>
8391
28ca98ac
LL
8392 Add fringe bitmap indicators for flymake. (Bug#11253)
8393 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
8394 (flymake-make-overlay): New arg BITMAP.
8395 (flymake-error-bitmap, flymake-warning-bitmap)
8396 (flymake-fringe-indicator-position): New user variables.
8397
cd276f6e
LL
8398 * fringe.el: New bitmap exclamation-mark.
8399
04408072
JD
84002012-07-14 Jan Djärv <jan.h.d@swipnet.se>
8401
8402 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
8403 also (Bug#7879).
8404
b5cf7fc4
CY
84052012-07-14 Chong Yidong <cyd@gnu.org>
8406
8407 * electric.el (electric-pair-post-self-insert-function): Fix pair
8408 insertion in empty-region case (Bug#11520).
8409
be755c79
RT
84102012-07-14 Chong Yidong <cyd@gnu.org>
8411
45fd731c
SM
8412 * bindings.el: Consolidate ctl-x-r-map bindings.
8413 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
8414
8415 * rect.el, register.el: Move bindings to bindings.el.
8416
84172012-07-14 Reuben Thomas <rrt@sc3d.org>
8418
8419 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
8420
7f5b3198
AS
84212012-07-13 Andreas Schwab <schwab@linux-m68k.org>
8422
8423 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
8424
97662200
JB
84252012-07-13 Juanma Barranquero <lekktu@gmail.com>
8426
80185fed
JB
8427 * bindings.el (top): Use `mapc' instead of `mapcar'.
8428
97662200
JB
8429 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
8430
2bb1ae55
MA
84312012-07-13 Michael Albinus <michael.albinus@gmx.de>
8432
8433 * progmodes/sql.el (sql-comint): Suppress the check for program on
8434 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
8435 (Bug#11908)
8436
dea31bd3
CY
84372012-07-13 Chong Yidong <cyd@gnu.org>
8438
8439 * bindings.el: Assign a non-nil permanent-local property to
8440 per-buffer variables which lack a default value (Bug#11930).
8441
8442 * help-fns.el (describe-variable): In the "automatically becomes
8443 local" notice, take note of permanent-local variables.
8444
b68b3337
CY
84452012-07-13 Chong Yidong <cyd@gnu.org>
8446
8447 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
8448 to allow printing the message when called from Lisp.
8449
8450 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8451 Remove toggle-read-only.
8452
8453 * bs.el (bs-toggle-readonly):
45fd731c
SM
8454 * buff-menu.el (Buffer-menu-toggle-read-only):
8455 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
8456
8457 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
8458 Remove with-no-warnings around toggle-read-only.
8459 (ffap-read-only, ffap-read-only-other-window)
8460 (ffap-read-only-other-frame): Callers changed.
8461
8462 * help-mode.el: Don't require view package.
8463 (help-mode-finish): Set buffer-read-only instead of calling
8464 toggle-read-only.
8465
8466 * bindings.el (mode-line-toggle-read-only):
8467 * dired.el (dired-toggle-read-only):
8468 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
8469 with non-nil second arg.
8470
8471 * emacs-lisp/eieio-custom.el (eieio-customize-object):
8472 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
8473 directly.
8474
56bc1586
EZ
84752012-07-12 Eli Zaretskii <eliz@gnu.org>
8476
8477 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
8478 not incf.
8479
a464a6c7
SM
84802012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
8481
8482 More CL cleanups and reduction of use of cl.el.
8483 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
8484 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
8485 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
8486 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
8487 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
8488 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
8489 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
8490 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
8491 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
8492 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
8493 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
8494 * eshell/em-cmpl.el, eshell/em-banner.el:
8495 * calendar/parse-time.el: Use cl-lib.
8496 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
8497 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
8498 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
8499 * term/ns-win.el, term.el, shell.el, ps-samp.el:
8500 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
8501 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
8502 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
8503 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
8504 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
8505 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
8506 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
8507 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
8508 `lambda' rather than with `quote'.
8509 (eshell-do-opt): Adjust accordingly.
8510 (eshell-process-option): Simplify.
8511 * eshell/esh-var.el:
8512 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
8513 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
8514 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
8515 to `pcase--dontcare'.
8516 * emacs-lisp/cl.el (labels): Mark obsolete.
8517 (cl--letf, letf): Move to cl-lib.
8518 (cl--letf*, letf*): Remove.
8519 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
8520 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
8521 (cl-progv): Rewrite.
8522 (cl--letf, cl-letf): Move from cl.el.
8523 (cl-letf*): New macro.
8524 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
8525
7ad4afe1
MA
85262012-07-11 Michael Albinus <michael.albinus@gmx.de>
8527
8528 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
8529
9af57756
CY
85302012-07-11 Chong Yidong <cyd@gnu.org>
8531
8532 * vc/log-edit.el (log-edit-vc-backend): New variable.
8533 (log-edit): Doc fix.
8534
8535 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
8536 argument of log-edit to set up all local variables.
8537 (vc-start-logentry): New optional arg specifying VC backend.
8538
8539 * vc/vc.el (vc-checkin): Use it.
8540 (vc-deduce-fileset): Handle Log Edit buffers.
8541 (vc-diff): Make first argument optional too.
8542
8543 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
8544
8477cc7a
MA
85452012-07-10 Michael Albinus <michael.albinus@gmx.de>
8546
8547 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
8548 command, just in case. The function is not needed anymore.
8549 (eshell-external-command): Do not call `eshell-remote-command'.
8550
19faa8e8
SM
85512012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
8552
f58e0fd5
SM
8553 Reduce use of (require 'cl).
8554 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
8555 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
8556 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
8557 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
8558 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
8559 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
8560 * battery.el, avoid.el, abbrev.el: Use cl-lib.
8561 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
8562 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
8563 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
8564 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
8565 * calculator.el, autorevert.el, apropos.el: Don't require CL.
8566 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
8567 (byte-compile-unfold-bcf, byte-compile-check-variable):
8568 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
8569 (byte-compile-nilconstp):
8570 * emacs-lisp/autoload.el (make-autoload): Use pcase.
8571 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
8572
2519d43a
SM
8573 * emacs-lisp/gv.el (cond): Make it a valid place.
8574 (if): Simplify slightly.
8575
19faa8e8
SM
8576 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
8577 (pcase--self-quoting-p): New function.
8578 (pcase--u1): Use it.
8579
c4907a5e
GM
85802012-07-10 Glenn Morris <rgm@gnu.org>
8581
8582 * emacs-lisp/authors.el (authors-fixed-entries):
8583 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
8584
c4444d16
PE
85852012-07-09 Paul Eggert <eggert@cs.ucla.edu>
8586
8587 Rename configure.in to configure.ac (Bug#11603).
8588 * emacs-lisp/authors.el (authors-canonical-file-name):
8589 * progmodes/autoconf.el (autoconf-mode):
8590 Prefer configure.ac to configure.in.
8591
d75be97d
CY
85922012-07-08 Chong Yidong <cyd@gnu.org>
8593
01ac65bd
CY
8594 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
8595 Implement the mouse-1-click-follows-link handling properly.
8596
8597 * info.el (Info-link-keymap): Use follow-link mechanism for
8598 header-line links (Bug#374).
8599
d75be97d
CY
8600 * simple.el (deactivate-mark): Do not set the primary selection
8601 if another program has acquired it (Bug#11772).
8602
87a92845 86032012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
8604
8605 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
8606 (woman-decode-region): Replace escaped-escapes without destroying
8607 bold or underline (Bug#11552).
87a92845 8608 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 8609
621b9d6c
CY
86102012-07-07 Chong Yidong <cyd@gnu.org>
8611
8612 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
8613 (interprogram-cut-function, interprogram-paste-function):
8614 Mention that we typically mean the clipboard.
621b9d6c 8615
133a11fc
GM
86162012-07-06 Glenn Morris <rgm@gnu.org>
8617
0d27a45e
GM
8618 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
8619
133a11fc
GM
8620 * files.el (toggle-read-only): Restrict message to interactive use.
8621
07b151f1
MA
86222012-07-06 Michael Albinus <michael.albinus@gmx.de>
8623
8624 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
8625
8626 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
8627
211b896b
GM
86282012-07-06 Glenn Morris <rgm@gnu.org>
8629
50394322
GM
8630 * Makefile.in (compile-one-process): Rename from "recompile".
8631
211b896b
GM
8632 * Makefile.in (bzr-update): "compile" is the same as "recompile
8633 autoloads", but parallelizable, so use that instead.
8634
4737eec9
DG
86352012-07-06 Dmitry Gutov <dgutov@yandex.ru>
8636
8637 * window.el (quit-window): Always restore window height when
8137e7b3 8638 it's saved in quit-restore parameter (Bug#11810).
4737eec9 8639
226c3633 86402012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
8641
8642 * simple.el (kill-whole-line): Doc tweak.
8643
226c3633 86442012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
8645
8646 * files.el (file-relative-name): Compare file names
8647 case-insensitively if on MS-Windows or MS-DOS, or if
8648 read-file-name-completion-ignore-case is non-nil. Don't use
8649 case-fold-search for this purpose. (Bug#11827)
8650
4dc7c8d5
SM
86512012-07-17 Andreas Schwab <schwab@linux-m68k.org>
8652
8653 * calendar/cal-dst.el (calendar-current-time-zone):
8654 Return calendar-current-time-zone-cache if non-nil.
8655
86562012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 86572012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 8658
19faa8e8
SM
8659 * calendar/cal-dst.el (calendar-current-time-zone):
8660 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 8661
60198fc9
GM
86622012-07-06 Glenn Morris <rgm@gnu.org>
8663
8664 * Makefile.in (cvs-update): Remove old alias.
8665
957b3189
MA
86662012-07-05 Michael Albinus <michael.albinus@gmx.de>
8667
8668 Sync with Tramp 2.2.6-pre.
8669
8670 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
8671 compatible declaration.
8672
19faa8e8
SM
8673 * net/tramp-cmds.el (tramp-append-tramp-buffers):
8674 Protect `list-load-path-shadows' call.
957b3189
MA
8675
8676 * net/tramp-compat.el (top): Require packages, which aren't
8677 autoloaded anymore for XEmacs. Protect call of
8678 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
8679 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
8680 it hurts at least for SXEmacs.
8681 (tramp-compat-temporary-file-directory): In XEmacs, there is no
8682 standard-value for `temporary-file-directory'.
8683
8684 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
8685 Redirect stderr to /dev/null.
8686 (tramp-sh-handle-write-region): uid and gid can be floats.
8687 Reported by Russell Sim <russell.sim@gmail.com>.
8688 (tramp-sh-handle-vc-registered): Hide errors.
8689 (tramp-vc-file-name-handler): Use dummy results for `process-file'
8690 and `start-file-process'.
8691 (tramp-maybe-open-connection): Check also whether `non-essential'
8692 is bound.
8693
566df3fc
CY
86942012-07-04 Chong Yidong <cyd@gnu.org>
8695
8696 * xml.el (xml--parse-buffer): Use xml-syntax-table.
8697 (xml-parse-tag): Likewise, and avoid changing entity tables.
8698 (xml-syntax-table): Define from scratch, making sure not to give
8699 x2000 and other Unicode spaces whitespace syntax, since those are
8700 not spaces in XML.
8701 (xml-parse-fragment): Delete unused function.
8702 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
8703 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
8704 (xml-entity-ref, xml-pe-reference-re)
8705 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
8706 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
8707 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
8708 (xml-entity-value-re): Use syntax references in regexps where
8709 possible; no need to define inside a let-binding.
8710 (xml-parse-dtd): Use xml-pe-reference-re.
8711 (xml-entity-or-char-ref-re): New defconst.
8712 (xml-parse-string, xml-substitute-special): Use it.
8713
30eabd7a
SM
87142012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
8715
0781098a
SM
8716 * files.el (locate-dominating-file): Allow `name' to be a predicate.
8717 (find-file--read-only): New function.
8718 (find-file-read-only, find-file-read-only-other-window)
8719 (find-file-read-only-other-frame): Use it.
8720 (insert-file-contents-literally): Don't `fset'.
8721 (get-free-disk-space): Use locate-dominating-file.
8722
b5771c0d
SM
8723 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
8724 function is already compiled.
8725
30eabd7a
SM
8726 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
8727
b4886f6e
MA
87282012-07-03 Michael Albinus <michael.albinus@gmx.de>
8729
8730 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
8731 files on the same host.
8732
b9d82339
AS
87332012-07-03 Andreas Schwab <schwab@linux-m68k.org>
8734
8735 * help-fns.el (describe-function-1): Only call
8736 help-fns--autoloaded-p when we have a file name. (Bug#11848)
8737
a76e6535
CY
87382012-07-03 Chong Yidong <cyd@gnu.org>
8739
8740 * xml.el: Protect parser against XML bombs.
8741 (xml-entity-expansion-limit): New variable.
8742 (xml-parse-string, xml-substitute-special): Use it.
8743 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
8744
b544fef2
GM
87452012-07-03 Glenn Morris <rgm@gnu.org>
8746
8747 * progmodes/bug-reference.el (bug-reference-bug-regexp):
8748 Allow linking to specific messages in debbugs reports (eg 123#5).
8749
a7aef6f5
CY
87502012-07-02 Chong Yidong <cyd@gnu.org>
8751
8752 * xml.el: Fix entity and character reference expansion, allowing
8753 them to expand into markup as per XML spec.
8754 (xml-default-ns): New variable.
8755 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
8756 (xml-parse-region): Make first two arguments optional.
8757 Discard text properties.
8758 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
8759 All callers changed.
a7aef6f5
CY
8760 (xml-parse-tag): Call xml-parse-tag-1. For backward
8761 compatibility, this function should not modify buffer contents.
8762 (xml-parse-tag-1): Fix opening-tag regexp.
8763 (xml-parse-string): Rewrite, handling entity and character
8764 references properly.
8765 (xml--entity-replacement-text): Signal an error if a parameter
8766 entity is undefined.
8767
3df31c9f
SM
87682012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
8769
2b5208f1
SM
8770 * comint.el (comint-output-filter): Filter out repeated prompts.
8771
3df31c9f
SM
8772 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
8773 and file-name-absolute-p.
8774 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
8775 internal calls.
8776
e3ac1281
PE
87772012-07-02 Paul Eggert <eggert@cs.ucla.edu>
8778
8779 Spelling fixes.
8780 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
8781 Rename from byte-compile--refiy-function. All uses changed.
8782
fbf2e7ad
CY
87832012-07-01 Chong Yidong <cyd@gnu.org>
8784
8785 * xml.el (xml--parse-buffer): New function. Move most of
8786 xml-parse-region here.
8787 (xml-parse-region): Copy region into a temporary buffer, since
8788 parameter entity substitution requires changing buffer contents.
8789 Use xml--parse-buffer.
8790 (xml-parse-file): Use xml--parse-buffer.
8791 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 8792 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 8793
9bf0aa15
GM
87942012-06-30 Glenn Morris <rgm@gnu.org>
8795
bbce2853
GM
8796 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
8797
9bf0aa15
GM
8798 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
8799 Remove outdated and unnecessary dbus declarations.
8800
0d23c240
EZ
88012012-06-30 Eli Zaretskii <eliz@gnu.org>
8802
8803 * emacs-lisp/timer.el (timer-until): Subtract results of
8804 float-time, instead of taking float-time of the result of
8805 time-subtract, since float-time signals an error for negative time
8806 arguments.
8807
b3218de1
CY
88082012-06-30 Chong Yidong <cyd@gnu.org>
8809
8810 * xml.el (xml-*-re): Convert defvars into defconsts, and
8811 eval-and-compile them so eval-and-compile works on derivatives.
8812 (xml--entity-replacement-text): Use eval-and-comple.
8813
a40c87a0
MA
88142012-06-30 Michael Albinus <michael.albinus@gmx.de>
8815
8816 * vc/vc-git.el (vc-git-registered): Use cache property
8817 `git-registered'.
8818 (vc-git-mode-line-string): Call `vc-working-revision' instead of
8819 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 8820 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 8821
ac87de97
DG
88222012-06-30 Dmitry Gutov <dgutov@yandex.ru>
8823
8824 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 8825 removed (likely outside Emacs). (Bug#11757)
ac87de97 8826
ac10fe06
SM
88272012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
8828
3df31c9f 8829 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 8830
7f3fbd5d
CY
88312012-06-30 Chong Yidong <cyd@gnu.org>
8832
8833 * xml.el: Implement XML parameter entities.
8834 (xml-parameter-entity-alist): New variable.
8835 (xml-parse-region, xml-parse-fragment): Preserve previous values
8836 of xml-entity-alist and xml-parameter-entity-alist, so that
8837 repeated calls on different documents do not change them.
8838 (xml-parse-tag): Fix doctype regexp.
8839 (xml--entity-replacement-text): New function.
8840 (xml-parse-dtd): Use it. Don't handle system entities; doing that
8841 properly requires url retrieval which is unimplemented.
8842 (xml-escape-string): Doc fix.
8843
3cfbebba
SM
88442012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
8845
8846 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
8847
2af3565e
DA
88482012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
8849
8850 * fringe.el (fringe-mode): Doc fix.
8851
929df0e7
MA
88522012-06-29 Michael Albinus <michael.albinus@gmx.de>
8853
8854 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
8855 is non-nil.
8856 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
8857 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
8858
c8d3a25c 88592012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 8860
c8d3a25c
GM
8861 * calendar/cal-dst.el (calendar-current-time-zone):
8862 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 8863
c8d3a25c 88642012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
8865
8866 * progmodes/which-func.el (which-func-format):
8867 Add mouse-face. (Bug#11698)
8868
c8d3a25c
GM
88692012-06-29 Leo Liu <sdl.web@gmail.com>
8870
8871 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
8872
88732012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
8874
8875 * minibuffer.el (minibuffer-confirm-exit-commands):
8876 Add completion-at-point (bug#11725).
8877
88782012-06-29 Glenn Morris <rgm@gnu.org>
8879
8880 * progmodes/f90.el (f90-font-lock-keywords-2):
8881 Add some preprocessor elements. (Bug#10499)
8882
88832012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
8884
8885 * progmodes/cperl-mode.el (cperl-update-syntaxification):
8886 Use syntax-propertize (bug#11739).
8887
2badeec4
JB
88882012-06-28 Juanma Barranquero <lekktu@gmail.com>
8889
8890 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
8891
ae4969c2
JD
88922012-06-28 Julien Danjou <julien@danjou.info>
8893
8894 * term.el (term-handle-colors-array): Use a set of new faces to
8895 color the terminal. Also uses :inverse-video property.
8896 (term-default-fg-color): Set to nil by default, deprecate in favor
8897 of `term-face'.
8898 (term-default-bg-color): Set to nil by default, deprecate in favor
8899 of `term-face'.
8900 (term-current-face): Use `term-face' by default.
8901 (term-bold-attribute): Variable deleted.
8902
1c9bd870
GM
89032012-06-28 Glenn Morris <rgm@gnu.org>
8904
8905 * simple.el (completion-list-mode-finish):
8906 Don't use toggle-read-only. (Since completion-list-mode has
8907 a special mode-class, it wasn't doing anything extra anyway.)
8908
c207708c
SM
89092012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
8910
8911 Make inlining of other-mode interpreted functions work (bug#11799).
8912 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
8913 (byte-compile): Use it to fix compilation of lexical-binding closures.
8914 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
8915 function, if needed.
8916
3fd56834
SM
89172012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
8918
04901786
SM
8919 * help-mode.el (help-make-xrefs): Don't just withstand
8920 cyclic-variable-indirection but any error in documentation-property.
8921
1ec4b7b2
SM
8922 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
8923 memory use.
8924 * bindings.el (bindings--define-key): New function.
8925 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
8926 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
8927 * bindings.el: Use it to purecopy define-key bindings.
8928
e309e2a5
SM
8929 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
8930
d5c6faf9
SM
8931 * emacs-lisp/cl.el (flet): Mark obsolete.
8932 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
8933 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
8934 * progmodes/js.el (js-c-fill-paragraph):
8935 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
8936 (ebrowse-switch-member-buffer-to-derived-class):
8937 * play/5x5.el (5x5-solver): Use cl-flet.
8938
6e9590e2
SM
8939 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
8940 (cl--symbol-function): New macro.
8941 (cl--letf, cl--letf*): Use it.
8942
3fd56834
SM
8943 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
8944 Strip "toggle-" if any.
8945
35ff222c
GM
89462012-06-27 Glenn Morris <rgm@gnu.org>
8947
1ba6038a
GM
8948 * info.el (Info-default-directory-list): Move here from paths.el.
8949 * paths.el: Remove file, which is now empty.
8950 * loadup.el: No longer load "paths".
8951
0ea0e51b
GM
8952 * custom.el (custom-initialize-delay): Doc fix.
8953
35ff222c
GM
8954 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
8955 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
8956 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
8957 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
8958 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
8959 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
8960 * eshell/eshell.el (eshell-defgroup): Remove alias.
8961
c89926a5
CY
89622012-06-27 Chong Yidong <cyd@gnu.org>
8963
8964 * help.el (help-enable-auto-load): New variable.
8965
8966 * help-fns.el (help-fns--autoloaded-p): New function.
8967 (describe-function-1): Refer to a function as "autoloaded" if it
8968 was autoloaded at any time in the past. Perform autoloading if
8969 help-enable-auto-load is non-nil.
8970
cc06e7e7
EZ
89712012-06-26 Eli Zaretskii <eliz@gnu.org>
8972
8973 * makefile.w32-in (compile, compile-always): Depend on
8974 update-subdirs, not on subdirs.el. Otherwise, several different
8975 sub-targets of 'bootstrap' running in parallel could
8976 simultaneously write to subdirs.el, producing a garbled file.
8977
d2c32364
SS
89782012-06-26 Sam Steingold <sds@gnu.org>
8979
8980 * files.el (file-name-base): New convenience function.
0d14cc21
GM
8981 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
8982 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
8983 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
8984 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
8985 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
8986 * textmodes/tex-mode.el: Use it.
8987 Did not touch cedet and org because they are maintained elsewhere.
8988
5cf983b2
MR
89892012-06-26 Martin Rudalics <rudalics@gmx.at>
8990
8991 * calendar/calendar.el (calendar-exit): Don't try to delete or
8992 iconify last frame. See:
8993 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
8994
8c4f2952
JD
89952012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
8996
8997 * server.el (server-process-filter): Remember dir in the
8998 process's `server-client-directory' properties.
8999
772b2e2c
CY
90002012-06-24 Chong Yidong <cyd@gnu.org>
9001
9002 * xml.el (xml-parse-tag): Correctly handle comment embedded in
9003 non-tag text.
9004
711b11e1
JB
90052012-06-23 Juanma Barranquero <lekktu@gmail.com>
9006
9007 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
9008
dc5d230c
SM
90092012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
9010
9011 * help-fns.el (describe-variable): Don't croak when doc is not found.
9012 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
9013 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
9014 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
9015 * emacs-lisp/smie.el (smie-next-sexp): CSE.
9016 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
9017 ((lambda ..) ..).
9018 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
9019
136e1c1d
CY
90202012-06-23 Chong Yidong <cyd@gnu.org>
9021
e8c1cabf
CY
9022 * info.el (Info-mouse-follow-link): Accept symbol values of
9023 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
9024 (Info-fontify-node): Use Info-link-keymap for all navigation
9025 buttons, with link-args property to perform the desired action.
9026 (Info-link-keymap): Doc fix.
9027 (Info-next-link-keymap, Info-prev-link-keymap)
9028 (Info-up-link-keymap): Delete now-unused keymaps.
9029
0e9e6c6a
CY
90302012-06-23 Chong Yidong <cyd@gnu.org>
9031
05e89fea
CY
9032 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
9033
0e9e6c6a
CY
9034 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
9035 system abbrevs.
9036
9037 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
9038
e33c6771
SM
90392012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
9040
b68581e2
SM
9041 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
9042 (bug#11719).
9043
e33c6771
SM
9044 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
9045 the requote function doesn't work properly (bug#11714).
9046
7117e105
GM
90472012-06-23 Glenn Morris <rgm@gnu.org>
9048
9049 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
9050
36cec983
SM
90512012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
9052
9053 Further GV/CL cleanups.
9054 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
9055 gv-expander.
9056 (gv--defun-declaration): New function.
9057 (defun-declarations-alist): Use it.
9058 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
9059 (gv-place): Autoload.
9060 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
9061 original definition of dotimes and dolist.
9062 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
9063 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
9064 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
9065 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
9066 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
9067 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
9068 to the function's definition.
9069 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
9070 * window.el:
9071 * files.el:
9072 * faces.el:
9073 * env.el: Don't use CL.
9074
d35af63c
PE
90752012-06-22 Paul Eggert <eggert@cs.ucla.edu>
9076
9077 Support higher-resolution time stamps (Bug#9000).
9078
9079 * calendar/time-date.el (with-decoded-time-value): New arg
9080 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
9081 (encode-time-value): New optional arg PICO. New type 3.
9082 (time-to-seconds) [!float-time]: Support the new picoseconds
9083 component if it's used.
9084 (seconds-to-time, time-subtract, time-add):
9085 Support ps-resolution time stamps as well.
9086
9087 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
9088 (timerp): Timer vectors now have length 9, not 8.
9089 (timer--time): Support new-style (4-part) time stamps.
9090 (timer-next-integral-multiple-of-time): Time stamps now have
9091 picosecond resolution, so take a bit more care about rounding.
9092 (timer-relative-time, timer-inc-time): New optional arg psecs.
9093 (timer-set-time-with-usecs): Set psecs to 0.
9094 (timer--activate): Check psecs component, too.
9095
9096 * proced.el (proced-time-lessp): Support ps-resolution stamps.
9097
ac77b21a
SM
90982012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
9099
f143bfe3
SM
9100 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
9101 Move the non-essential binding to the post/pre-command-hook where it is
9102 more obviously correct.
9103
ac77b21a
SM
9104 * subr.el (read-passwd): Don't use a history at all.
9105 * savehist.el (savehist-save): Remove password saved accidentally
9106 because of the above bug.
9107
76386c5a
BG
91082012-06-22 Bastien Guerry <bzg@gnu.org>
9109
9110 * files.el (toggle-read-only): Display a message telling whether
9111 the buffer is read-only or not (bug#11726).
9112
2ee3d7f0
SM
91132012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
9114
9115 * emacs-lisp/gv.el: New file.
9116 * subr.el (push, pop): Extend to generalized variables.
9117 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
9118 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
9119 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
9120 gv-define-simple-setter, and gv-define-expander.
9121 Remove setf-methods defined in gv. Rename cl-setf -> setf.
9122 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
9123 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
9124 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
9125 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
9126 gv-letplace.
9127 (cl-defstruct): Don't define setf-method any more.
9128 * emacs-lisp/cl.el (flet): Don't autoload.
9129 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
9130 (define-setf-expander, defsetf, define-modify-macro)
9131 (cl-struct-setf-expander): Move from cl-lib.el.
9132 * emacs-lisp/syntax.el:
9133 * emacs-lisp/ewoc.el:
9134 * emacs-lisp/smie.el:
9135 * emacs-lisp/cconv.el:
9136 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
9137 (timer--time): Use gv-define-simple-setter.
9138 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
9139 to avoid coding-system problems in subr.el. Adjust all users.
9140 (macroexp--maxsize, macroexp-small-p): New functions.
9141 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
9142 * scroll-bar.el (scroll-bar-mode):
9143 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
9144 (normal-erase-is-backspace-mode): Don't use the `eq' place.
9145 * winner.el (winner-configuration, winner-make-point-alist)
9146 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
9147 * files.el (locate-file-completion-table): Avoid list*.
9148
c5695d1d
CY
91492012-06-22 Chong Yidong <cyd@gnu.org>
9150
9151 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
9152 (dired-create-files): Doc fix (Bug#11329).
9153 (dired-do-copy): Doc fix (Bug#11334).
9154 (dired-mark-read-string): Doc fix (Bug#11553).
9155
2ee3d7f0
SM
9156 * dired.el (dired-recursive-copies, dired-recursive-deletes):
9157 Doc fix (Bug#11326).
c5695d1d
CY
9158 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
9159 (dired-dwim-target): Doc fix.
9160
9161 * wdired.el (wdired-mode): Doc fix.
9162
89b5595a
GM
91632012-06-22 Glenn Morris <rgm@gnu.org>
9164
575db3f1
GM
9165 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
9166 (pcmpl-rpm-cache-stamp-file): New constant.
9167 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
9168 (pcmpl-rpm-packages): Optionally cache list of packages.
9169
a4c8dd51
GM
9170 * pcmpl-rpm.el (pcmpl-rpm): New group.
9171 (pcmpl-rpm-query-options): New option.
9172 (pcmpl-rpm-packages): No need to inline it.
9173 Use pcmpl-rpm-query-options.
9174
89b5595a
GM
9175 * calendar/calendar.el (calendar-in-read-only-buffer):
9176 Avoid some needless mode changes.
9177
e76f0800
CY
91782012-06-21 Chong Yidong <cyd@gnu.org>
9179
9180 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
9181 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 9182 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 9183
297a8f1d
CY
91842012-06-20 Chong Yidong <cyd@gnu.org>
9185
9186 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
9187
d34c18b1
DR
91882012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
9189
9190 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
9191 (bug#11201).
9192
32f7f28e
CY
91932012-06-20 Chong Yidong <cyd@gnu.org>
9194
9195 * term.el (term-window-width): Handle the case of a missing right
9196 fringe (Bug#8837).
9197 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
9198 (term-mode): Use define-derived-mode. Minor cleanups.
9199 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
9200 (term-move-columns, term-insert-char, term-emulate-terminal)
9201 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 9202
493c6688
MA
92032012-06-20 Michael Albinus <michael.albinus@gmx.de>
9204
d34c18b1
DR
9205 * net/ange-ftp.el (ange-ftp-get-passwd):
9206 Bind `enable-recursive-minibuffers'.
493c6688
MA
9207 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
9208
3f06ecf4
DR
92092012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
9210
9211 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
9212
68f12411
GM
92132012-06-19 Glenn Morris <rgm@gnu.org>
9214
9215 * progmodes/python.el (python-mode): Derive from prog-mode.
9216
b3820318
KG
92172012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
9218
9219 * emulation/edt.el (edt-default-menu-bar-update-buffers)
9220 (edt-user-menu-bar-update-buffers): New functions.
9221 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
9222
c6bf3022
CY
92232012-06-19 Chong Yidong <cyd@gnu.org>
9224
9225 * subr.el (with-selected-window): Preserve the selected window's
9226 terminal's top-frame (Bug#4702).
9227
9228 * window.el (save-selected-window): Likewise.
9229
25f09295
SM
92302012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9231
9232 * progmodes/python.el (python-rx-constituents): Move backquote.
9233 (python-skeleton-define, python-define-auxiliary-skeleton):
9234 Use `declare'.
9235
6b11952a
MA
92362012-06-18 Michael Albinus <michael.albinus@gmx.de>
9237
9238 * minibuffer.el (read-file-name-default): Revert the patch from
9239 2012-06-17.
9240
ee4b1330
SM
92412012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9242
9243 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
9244 (pcase--u1, pcase--q1): Don't use apply-partially.
9245
35647f79
GM
92462012-06-18 Glenn Morris <rgm@gnu.org>
9247
9248 * progmodes/python.el (python-proc, python-buffer)
9249 (python-send-receive, python-send-string): Fix obsolete versions.
9250
24b0cff0
MR
92512012-06-18 Martin Rudalics <rudalics@gmx.at>
9252
9253 * window.el (special-display-p): Completely remove stringp
9254 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
9255
29855149
MA
92562012-06-17 Michael Albinus <michael.albinus@gmx.de>
9257
9258 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
9259
9260 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
9261
9262 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
9263 * net/tramp-sh.el (tramp-maybe-open-connection):
9264 Throw if `non-essential' is non-nil.
9265
07463363
MR
92662012-06-17 Martin Rudalics <rudalics@gmx.at>
9267
9268 * window.el (special-display-p): Signal an error if BUFFER-NAME
9269 is not a string (Bug#11713).
9270
48d1354e
PE
92712012-06-17 Paul Eggert <eggert@cs.ucla.edu>
9272
9273 * progmodes/python.el (python-info-beginning-of-backslash):
9274 Rename from python-info-beginning-of-backlash, as a spelling fix.
9275
eb4a8a9a
CY
92762012-06-17 Chong Yidong <cyd@gnu.org>
9277
9278 * term.el (term-emulate-terminal): If term-check-size is called,
9279 move point to the process mark without resetting point (Bug#4635).
9280
ddfbf826 92812012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
9282
9283 * international/mule-cmds.el (mule-menu-keymap)
9284 (set-language-environment, set-locale-environment): Doc tweaks.
9285
9b0e3eba
AA
92862012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
9287
9288 * cus-face.el (custom-face-attributes): Add wave-style underline
9289 attribute.
9290 * faces.el (set-face-attribute): Update docstring to describe
9291 wave-style underline attribute.
9292
771e3eae
CY
92932012-06-16 Chong Yidong <cyd@gnu.org>
9294
9295 * term/xterm.el (terminal-init-xterm): Discard input before
9296 querying background mode (Bug#10959).
9297
7ae2ea10
SM
92982012-06-16 Stefan Merten <smerten@oekonux.de>
9299
9300 * textmodes/rst.el: Added and corrected some comments.
9301 (rst-re-alist-def): Improve symbol syntax.
9302 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
9303 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
9304 (rst-official-version, rst-official-cvs-rev): Update version
9305 information.
7ae2ea10 9306
b6974efa
JB
93072012-06-15 Juanma Barranquero <lekktu@gmail.com>
9308
9309 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
9310 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
9311
8826d473
GM
93122012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
9313
9314 * progmodes/python.el: New python.el merge.
9315 (python-guess-indent): Obsolete var.
9316 (python-indent-guess-indent-offset): New defcustom.
9317 (python-indent): Obsolete var.
9318 (python-indent-offset): New defcustom.
9319 (python-python-command, python-jython-command): Delete var.
9320 (python-shell-interpreter): New defcustom.
9321 (python-pdbtrack-do-tracking-p): Delete var.
9322 (python-pdbtrack-activate): New defcustom.
9323 (python-use-skeletons): Obsolete var.
9324 (python-skeleton-autoinsert): New defcustom.
9325 (inferior-python-filter-regexp, python-continuation-offset)
9326 (python-honour-comment-indentation, python-indent-string-contents)
9327 (python-jython-packages, python-mode-hook)
9328 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
9329 (python-shell-prompt-alist)
9330 (python-source-modes): Delete defcustoms.
9331 (python-check-buffer-name, python-eldoc-setup-code)
9332 (python-eldoc-string-code, python-ffap-setup-code)
9333 (python-ffap-string-code, python-fill-comment-function)
9334 (python-fill-decorator-function, python-fill-paren-function)
9335 (python-fill-string-function, python-imenu-include-defun-type)
9336 (python-imenu-make-tree, python-imenu-subtree-root-label)
9337 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
9338 (python-shell-compilation-regexp-alist)
9339 (python-shell-completion-module-string-code)
9340 (python-shell-completion-pdb-string-code)
9341 (python-shell-completion-setup-code)
9342 (python-shell-completion-string-code)
9343 (python-shell-enable-font-lock, python-shell-exec-path)
9344 (python-shell-extra-pythonpaths)
9345 (python-shell-internal-buffer-name, python-shell-interpreter-args)
9346 (python-shell-process-environment)
9347 (python-shell-prompt-block-regexp)
9348 (python-shell-prompt-output-regexp)
9349 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
9350 (python-shell-send-setup-max-wait, python-shell-setup-codes)
9351 (python-shell-virtualenv-path): New defcustoms.
9352 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
9353 (inferior-python-mode-syntax-table, python--prompt-regexp)
9354 (python-buffer, python-command python-python-command)
9355 (python-default-template, python-imports, python-indent-index)
9356 (python-indent-list, python-indent-list-length)
9357 (python-mode-running, python-pdbtrack-is-tracking-p)
9358 (python-preoutput-continuation, python-preoutput-leftover)
9359 (python-preoutput-result, python-preoutput-skip-next-prompt)
9360 (python-prev-dir/file, python-recursing)
9361 (python-saved-check-command, python-version-checked)
9362 (python-which-func-length-limit)
9363 (view-return-to-alist): Delete vars.
9364 (python-check-custom-command, python-dotty-syntax-table)
9365 (python-imenu-index-alist, python-indent-current-level)
9366 (python-indent-dedenters, python-indent-levels)
9367 (python-nav-beginning-of-defun-regexp)
9368 (python-nav-list-defun-positions-cache)
9369 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
9370 (python-shell-internal-buffer)
9371 (python-skeleton-available): New vars.
9372 (def-python-skeleton): Delete macro.
9373 (python-skeleton-define): New macro.
9374 (python-define-auxiliary-skeleton, python-rx): New macros.
9375 (python-insert-class): Delete command.
9376 (python-skeleton-class): New command.
9377 (python-insert-def): Delete command.
9378 (python-skeleton-def): New command.
9379 (python-insert-for): Delete command.
9380 (python-skeleton-for): New command.
9381 (python-insert-if): Delete command.
9382 (python-skeleton-if): New command.
9383 (python-insert-try/except, python-insert-try/finally): Delete commands.
9384 (python-skeleton-try): New command.
9385 (python-insert-while): Delete command.
9386 (python-skeleton-while): New command.
9387 (python-backspace): Delete command.
9388 (python-indent-dedent-line-backspace): New command.
9389 (python-electric-colon): Delete command.
9390 (python-indent-electric-colon): New command.
9391 (python-guess-indent): Delete command.
9392 (python-indent-guess-indent-offset): New command.
9393 (python-shift-left): Delete command.
9394 (python-indent-shift-left): New command.
9395 (python-shift-right): Delete command.
9396 (python-indent-shift-right): New command.
9397 (python-find-function): Delete command.
9398 (python-nav-jump-to-defun): New command.
9399 (python-next-statement): Delete command.
9400 (python-nav-forward-sentence): New command.
9401 (python-previous-statement): Delete command.
9402 (python-nav-backward-sentence): New command.
9403 (python-fill-paragraph): Delete command.
9404 (python-fill-paragraph-function): New command.
9405 (python-send-buffer): Delete command.
9406 (python-shell-send-buffer): New command.
9407 (python-send-defun): Delete command.
9408 (python-shell-send-defun): New command.
9409 (python-send-region, python-send-region-and-go): Delete commands.
9410 (python-shell-send-region)
9411 (python-shell-switch-to-shell): New commands.
9412 (python-send-string): Delete command.
9413 (python-shell-send-string): New command.
9414 (python-switch-to-python): Delete command.
9415 (python-shell-switch-to-shell): New command.
9416 (python-describe-symbol): Delete command.
9417 (python-eldoc-at-point): New command.
9418 (python--set-prompt-regexp, python-args-to-list)
9419 (python-after-info-look, python-check-version)
9420 (python-check-comint-prompt, python-find-imports)
9421 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
9422 (python-unload-function, python-expand-template)
9423 (python-maybe-jython, python-preoutput-filter)
9424 (python-pdbtrack-get-source-buffer)
9425 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
9426 (python-pdbtrack-toggle-stack-tracking)
9427 (python-pdbtrack-track-stack-file, python-initial-text)
9428 (python-first-word, python-comment-line-p, python-send-command)
9429 (python-setup-brm, python-sentinel, python-set-proc)
9430 (python-skip-out, python-input-filter, python-outdent-p)
9431 (python-outline-level, python-backslash-continuation-line-p)
9432 (python-end-of-block, python-end-of-statement, python-mark-block)
9433 (python-beginning-of-block, python-beginning-of-statement)
9434 (python-blank-line-p, python-beginning-of-string)
9435 (python-open-block-statement-p): Delete functions.
9436 (python-indent-line, python-indent-line-1): Delete functions.
9437 (python-indent-line): New function.
9438 (python-indentation-levels): Delete function.
9439 (python-indent-calculate-levels): New function.
9440 (python-proc): Delete function.
9441 (python-shell-get-process): New function.
9442 (python-send-receive): Delete function.
9443 (python-shell-send-string-no-output): New function.
9444 (python-module-path): Delete function.
9445 (python-ffap-module-path): New function.
9446 (python-completion-at-point)
9447 (python-symbol-completions): Delete functions.
9448 (python-completion-complete-at-point): New function.
9449 (python-load-file): Delete function.
9450 (python-shell-send-file): New function.
9451 (python-calculate-indentation): Delete function.
9452 (python-indent-calculate-indentation): New function.
9453 (python-skip-comments/blanks): Delete function.
9454 (python-util-forward-comment): New function.
9455 (python-continuation-line-p): Delete function.
9456 (python-info-continuation-line-p): New function.
9457 (python-which-func, python-current-defun): Delete function.
9458 (python-info-current-defun): New function.
9459 (python-beginning-of-defun): Delete function.
9460 (python-nav-beginning-of-defun): New function.
9461 (python-close-block-statement-p)
9462 (python-block-end-p): Delete function.
9463 (python-info-closing-block): New function.
9464 (python-comint-output-filter-function)
9465 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
9466 (python-fill-comment, python-fill-decorator, python-fill-paren)
9467 (python-fill-string, python-imenu-make-element-tree)
9468 (python-imenu-make-tree, python-imenu-tree-assoc)
9469 (python-indent-context, python-indent-dedent-line)
9470 (python-indent-line-function)
9471 (python-indent-post-self-insert-function)
9472 (python-indent-toggle-levels)
9473 (python-info-assignment-continuation-line-p)
9474 (python-info-beginning-of-backlash)
9475 (python-info-block-continuation-line-p)
9476 (python-info-closing-block-message)
9477 (python-info-line-ends-backslash-p)
9478 (python-info-looking-at-beginning-of-defun)
9479 (python-info-ppss-context, python-info-ppss-context-type)
9480 (python-nav-list-defun-positions, python-nav-read-defun)
9481 (python-nav-sentence-end, python-nav-sentence-start)
9482 (python-pdbtrack-comint-output-filter-function)
9483 (python-pdbtrack-set-tracked-buffer)
9484 (python-shell-calculate-exec-path)
9485 (python-shell-calculate-process-environment)
9486 (python-shell-completion--do-completion-at-point)
9487 (python-shell-completion--get-completions)
9488 (python-shell-completion-complete-at-point)
9489 (python-shell-completion-complete-or-indent)
9490 (python-shell-get-or-create-process)
9491 (python-shell-get-process-name)
9492 (python-shell-internal-get-or-create-process)
9493 (python-shell-internal-get-process-name)
9494 (python-shell-internal-send-string, python-shell-make-comint)
9495 (python-shell-parse-command, python-shell-send-setup-code)
9496 (python-skeleton-add-menu-items)
9497 (python-util-clone-local-variables, python-util-position)
9498 (run-python-internal, python-indentation-levels)
9499 (python-nav-beginning-of-defun)
9500 (python-completion-complete-at-point): New functions.
9501 (run-python): Change arguments. New API requirements.
9502
4302f5ba
SM
95032012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9504
f38ea36d
SM
9505 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
9506 (bug#11649).
9507
9508 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
9509 (macroexp--expand-all): Use it.
9510
4302f5ba
SM
9511 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
9512 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
9513 Use `cl-function' instead.
9514
33377562
JB
95152012-06-14 Juanma Barranquero <lekktu@gmail.com>
9516
9517 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
9518 Suggested by Stefan Monnier while discussing bug#11657.
9519
54c5ba1a
SS
95202012-06-14 Sam Steingold <sds@gnu.org>
9521
9522 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
9523
f9f1b1fe
AS
95242012-06-14 Andreas Schwab <schwab@linux-m68k.org>
9525
9526 * play/doctor.el (doctor-doc): Remove parameter and use
9527 doctor-sent instead of sent.
9528 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
9529
a81068ba
SM
95302012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9531
5a315f9c
SM
9532 * files.el: Require cl-lib.
9533 (file-name-non-special): Replace case -> cl-case.
9534
9535 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
9536
a81068ba
SM
9537 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
9538 mapping from #' to function*.
9539
8cca9703
CY
95402012-06-13 Chong Yidong <cyd@gnu.org>
9541
9542 * mouse.el (mouse-drag-track): Do not set the mark if the user
9543 releases the mouse without selecting anything (Bug#11588).
9544
a12ac9d7
SM
95452012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9546
ccf1dc18
SM
9547 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
9548 as well (bug#11646).
9549
ef62b23d
SM
9550 * loadup.el: Count byte-code functions as well.
9551
c4c8444a
SM
9552 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
9553 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
9554
a12ac9d7
SM
9555 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
9556 (bug#11649). Add cl-defun and cl-defmacro.
9557
87e6e64f
DA
95582012-06-13 Drew Adams <drew.adams@oracle.com>
9559
9560 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
9561 Fix last change.
9562
682cefaf
MA
95632012-06-13 Michael Albinus <michael.albinus@gmx.de>
9564
9565 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
9566 Otherwise, it blocks in batch mode.
9567
773e1f08
JB
95682012-06-13 Juanma Barranquero <lekktu@gmail.com>
9569
9570 * help-mode.el (bookmark-make-record-default): Declare.
9571
60057926
CY
95722012-06-13 Chong Yidong <cyd@gnu.org>
9573
9574 * emacs-lisp/package.el (list-packages): Compute a list of
9575 packages that are newly-available since the last list-packages
9576 invocation.
9577 (package-menu--new-package-list): New var.
9578 (package-menu--generate, package-menu--print-info)
9579 (package-menu--status-predicate, package-menu-mark-install):
9580 Handle new status label "new".
9581
ad4d226c
SM
95822012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9583
9584 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
9585 conversion to backquotes.
9586
f1a4e679
CY
95872012-06-12 Chong Yidong <cyd@gnu.org>
9588
9589 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
9590 Rename from gud-inhibit-global-bindings.
9591
9592 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
9593
9594 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
9595 hook from nxml-glyph-set-hook.
9596
9597 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
9598 declaration.
9599
9600 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
9601
9602 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
9603 Convert to defcustom.
9604
0c9e42b5
DA
96052012-06-12 Drew Adams <drew.adams@oracle.com>
9606
9607 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
9608 New functions.
9609 (help-mode): Use them.
9610
09e06855
GM
96112012-06-11 Glenn Morris <rgm@gnu.org>
9612
9613 * progmodes/fortran.el (fortran-font-lock-keywords-3):
9614 Use preprocessor face for directives.
9615 (fortran-directive-re): Doc fix.
9616
71adb94b
SM
96172012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9618
2eb87922
SM
9619 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
9620 conversion to backquotes (bug#11652).
9621
71adb94b
SM
9622 Fix compiler-expansion of CL's cXXr functions (bug#11673).
9623 * emacs-lisp/cl-lib.el (cl--defalias): New function.
9624 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
9625 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
9626 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
9627 (cl-ninth, cl-tenth): Mark them as inlinable.
9628 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
9629 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
9630 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
9631 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
9632 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
9633 (cl-list*, cl-adjoin): Don't put an autoload manually.
9634 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
9635 (cl--compiler-macro-list*): Add autoload cookie.
9636 (cl--compiler-macro-cXXr): New function.
2eb87922 9637
71adb94b
SM
9638 * help-fns.el (help-fns--compiler-macro): New function extracted from
9639 describe-function-1; follow aliases and use `compiler-macro' property.
9640 (describe-function-1): Use it.
9641
a6674402
CY
96422012-06-11 Chong Yidong <cyd@gnu.org>
9643
9644 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
9645 is uninstalled, if imagemagick is installed.
9646
bb3faf5b
SM
96472012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9648
9649 * emacs-lisp/cl-lib.el: Use lexical-binding.
9650 (cl-map-extents, cl-maclisp-member): Remove.
9651 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
9652 (cl--set-substring, cl--block-wrapper, cl--block-throw)
9653 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
9654 * emacs-lisp/cl-extra.el: Use lexical-binding.
9655 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
9656 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
9657 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
9658 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
9659 * emacs-lisp/cl-seq.el: Use lexical-binding.
9660 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
9661 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
9662 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
9663 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
9664 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
9665 CL's internals.
9666
2fe4b125
MA
96672012-06-11 Michael Albinus <michael.albinus@gmx.de>
9668
9669 Sync with Tramp 2.2.6-pre.
9670
9671 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
9672 `print-length' and `print-level' to nil, in order to avoid
9673 truncation. Reported by Christopher Schmidt
9674 <christopher@ristopher.com>.
9675
9676 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
9677
9678 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
9679 New defmacro.
9680 (tramp-compat-copy-directory): Add optional argument
9681 COPY-CONTENTS. It is not handled yet.
9682
9683 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
9684 (tramp-ftp-file-name-p): Simplify.
9685
9686 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
9687 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
9688 connection vector.
9689
9690 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
9691 (tramp-methods): Do not use `tramp-password-end-of-line'.
9692 (tramp-completion-function-alist-putty): Handle UNIX case.
9693 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
9694 (tramp-do-file-attributes-with-stat)
9695 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
9696 gid as real numbers. They could run out of integer range on cygwin.
9697 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
9698 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
9699 (tramp-open-connection-setup-interactive-shell):
9700 Use `tramp-cleanup'. Move check for busyboxes ...
9701 (tramp-find-shell): ... here. Simplify implementation.
9702 Set "remote-shell" property also for alternative shells.
9703 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
9704 If failing, a regular file would be written otherwise.
9705 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
9706 (tramp-find-inline-encoding): Cache the coding commands in the
9707 process cache. Apply test command on the remote side, if defined.
9708 (tramp-find-inline-compress): Cache the compress commands in the
9709 process cache.
9710 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
9711 when requested. Handle hops.
9712 (tramp-current-connection): New defvar.
87e6e64f
DA
9713 (tramp-maybe-open-connection): Use `tramp-cleanup'.
9714 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 9715 Handle user interrupt. (Bug#10187)
87e6e64f
DA
9716 (tramp-get-inline-compress, tramp-get-inline-coding):
9717 Read connection properties from the process cache.
2fe4b125
MA
9718
9719 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
9720 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
9721 New defconsts.
2fe4b125
MA
9722 (tramp-smb-prompt): Extend for powershell prompt.
9723 (tramp-smb-file-name-handler-alist): Add handlers for
9724 `process-file', `shell-command' and `start-file-process'.
9725 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
9726 (tramp-smb-winexe-shell-command-switch): New defcustoms.
9727 (tramp-smb-file-name-p): Simplify.
9728 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
9729 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
9730 (tramp-smb-shell-quote-argument): New defuns.
9731 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
9732 Implement using "tar". By this, time-stamps are preserved.
9733 (tramp-smb-handle-copy-file): Handle also the case of directories.
9734 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
9735 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
9736 Use `tramp-get-connection-buffer').
2fe4b125
MA
9737 (tramp-smb-handle-rename-file): Use "rename", when source and
9738 target are on the same share.
87e6e64f
DA
9739 (tramp-smb-maybe-open-connection): Handle wrong passwords.
9740 Use `tramp-smb-server-version'.
2fe4b125
MA
9741 (tramp-smb-wait-for-output): Remove prompt.
9742
9743 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
9744 (tramp-methods, tramp-rsh-end-of-line):
9745 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
9746 (tramp-save-ad-hoc-proxies): New defcustom.
9747 (tramp-completion-function-alist): Adapt docstring.
9748 (tramp-default-password-end-of-line): Remove defcustom.
9749 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
9750 (tramp-user-regexp, tramp-file-name-regexp-unified)
9751 (tramp-file-name-regexp-url): Extend regexp by hop separator.
9752 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
9753 (tramp-remote-file-name-spec-regexp): New defconst.
9754 (tramp-file-name-structure): Extend structure for hops.
9755 (tramp-get-method-parameter): Move up.
9756 (tramp-file-name-p, tramp-dissect-file-name)
9757 (with-parsed-tramp-file-name): Handle hops.
9758 (tramp-file-name-hop): New defun.
9759 (tramp-make-tramp-file-name): New optional arg HOP.
9760 (tramp-message-show-progress-reporter-message): New defvar.
9761 (tramp-with-progress-reporter): Use it. We cannot use
9762 `tramp-message-show-message' here, because this suppresses also
9763 error buffers.
9764 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
9765 `tramp-message-show-message' is nil.
9766 Use `tramp-get-connection-buffer'.
2fe4b125
MA
9767 (tramp-cleanup): New defun.
9768 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
9769 (tramp-file-name-handler): If `debug-on-error' is set, propagate
9770 an error unchanged.
9771 (tramp-completion-handle-file-name-all-completions): Handle hops.
9772 Fix an error when called from ido.
9773 (tramp-completion-dissect-file-name): Use better local variable
9774 name. Add hop to the vector.
9775 (tramp-handle-insert-file-contents): Use progress-reporter for the
9776 whole scenario.
9777 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
9778 to `t'.
9779 (tramp-check-for-regexp): Simplify search.
9780 (tramp-enter-password): Remove it. Move implementation ...
9781 (tramp-action-password): ... here.
9782 (tramp-mode-string-to-int, tramp-local-host-p)
9783 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
9784 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
9785 Set tramp-autoload cookie.
2fe4b125
MA
9786
9787 * net/trampver.el: Update release number.
9788
97892012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9790 Michael Albinus <michael.albinus@gmx.de>
9791
9792 * net/tramp.el (tramp-set-completion-function): Fix docstring.
9793 (tramp-parse-group, tramp-parse-file)
9794 (tramp-parse-shostkeys-sknownhosts): New defuns.
9795 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
9796 (tramp-parse-shosts-group, tramp-parse-sconfig)
9797 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
9798 (tramp-parse-sknownhosts, tramp-parse-hosts)
9799 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
9800 Use them.
9801 (tramp-parse-passwd-group, tramp-parse-netrc-group)
9802 (tramp-parse-putty-group): Don't narrow.
9803 (tramp-parse-putty): Make a loop.
9804 (tramp-file-name-handler): Catch the `suppress' signal.
9805
72834e10
CY
98062012-06-11 Chong Yidong <cyd@gnu.org>
9807
9808 * image.el (imagemagick-register-types): Put the ImageMagick entry
9809 at the end of image-type-file-name-regexps.
9810
a4712e11
JB
98112012-06-11 Johan Bockgård <bojohan@gnu.org>
9812
9813 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
9814 (pcase, pcase-let*, pcase-dolist): Use them.
9815
82ad98e3
SM
98162012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9817
9818 * emacs-lisp/pcase.el (pcase--let*): New function.
9819 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
9820 (pcase--expand): Use macroexp-let².
9821
f80efb86
SM
98222012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
9823
9824 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
9825 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
9826 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
9827 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
9828 * emacs-lisp/derived.el: Use pcase instead of `cl'.
9829 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
9830
31ca4639 98312012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 9832
31ca4639
CY
9833 * mail/rmail.el (rmail-yank-current-message): Leave point at
9834 correct position. (Bug#11660)
94f0aa34 9835
31ca4639 98362012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 9837
31ca4639 9838 * allout-widgets.el: Fix code header.
9e1b8ec4 9839
31ca4639 98402012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 9841
f80efb86
SM
9842 * cus-edit.el (customize-changed-options-previous-release):
9843 Bump to 24.1.
31ca4639 9844
642b6d30
AS
98452012-06-09 Andreas Schwab <schwab@linux-m68k.org>
9846
9847 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
9848
4f5d2ba1
CY
98492012-06-09 Chong Yidong <cyd@gnu.org>
9850
9851 * ebuff-menu.el (electric-buffer-list): Preserve header line.
9852
e75852fd
MR
98532012-06-09 Martin Rudalics <rudalics@gmx.at>
9854
9855 * window.el (special-display-popup-frame): Don't use
9856 window--display-buffer (Bug#11651).
9857
1e48e282
EZ
98582012-06-09 Eli Zaretskii <eliz@gnu.org>
9859
8a26b487
EZ
9860 Fix parallel builds: make sure loaddefs.el is not being written
9861 while Lisp files are compiled.
9862 (compile): Don't depend on 'mh-autoloads'.
9863 (compile-CMD, compile-SH): Depend on 'autoloads'.
9864 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
9865
1e48e282
EZ
9866 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
9867
6175e34b
CY
98682012-06-09 Chong Yidong <cyd@gnu.org>
9869
9870 * face-remap.el (face-remap-add-relative, face-remap-set-base)
9871 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
9872 Doc fixes (Bug#11225).
9873
d9857e53
SM
98742012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
9875
9876 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
9877 a function if there's a clear indication that it has a compiler-macro.
9878 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
9879 (macro-declarations-alist): Add arglist to declaration functions.
9880 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
9881 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
9882 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
9883 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
9884 Also add autoload to find the compiler macro.
9885 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
9886 (cl--compiler-macro-member, cl--compiler-macro-assoc)
9887 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
9888 (cl--compiler-macro-get): New functions, replacing calls to
9889 cl-define-compiler-macro.
9890 (cl-typep) [compiler-macro]: Use macroexp-let².
9891
f81298f8 98922012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
9893
9894 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
9895 string properly, fixes Bug#11473.
9896
4b56d0fe
CY
98972012-06-08 Chong Yidong <cyd@gnu.org>
9898
9899 * faces.el (set-face-attribute): Doc fix.
9900 (modify-face): Don't use :bold and :italic.
9901 (error, warning, success): Tweak definitions.
9902
9903 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
9904 (custom-modified, custom-set, custom-changed, custom-themed)
9905 (custom-saved, custom-button, custom-button-mouse)
9906 (custom-button-pressed, custom-state, custom-comment-tag)
9907 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
9908 (custom-group-subtitle): Use new-style face specs.
9909 (custom-invalid-face, custom-rogue-face, custom-modified-face)
9910 (custom-set-face, custom-changed-face, custom-saved-face)
9911 (custom-button-face, custom-button-pressed-face)
9912 (custom-documentation-face, custom-state-face)
9913 (custom-comment-face, custom-comment-tag-face)
9914 (custom-variable-tag-face, custom-variable-button-face)
9915 (custom-face-tag-face, custom-group-tag-face-1)
9916 (custom-group-tag-face): Remove obsolete face alias.
9917
9918 * epa.el (epa-validity-high, epa-validity-medium)
9919 (epa-validity-low, epa-mark, epa-field-name, epa-string)
9920 (epa-field-name, epa-field-body):
9921 * font-lock.el (font-lock-comment-face, font-lock-string-face)
9922 (font-lock-keyword-face, font-lock-builtin-face)
9923 (font-lock-function-name-face, font-lock-variable-name-face)
9924 (font-lock-type-face, font-lock-constant-face):
9925 * ido.el (ido-first-match, ido-only-match, ido-subdir)
9926 (ido-virtual, ido-indicator, ido-incomplete-regexp):
9927 * speedbar.el (speedbar-button-face, speedbar-file-face)
9928 (speedbar-directory-face, speedbar-tag-face)
9929 (speedbar-selected-face, speedbar-highlight-face)
9930 (speedbar-separator-face):
9931 * whitespace.el (whitespace-newline, whitespace-space)
9932 (whitespace-hspace, whitespace-tab, whitespace-trailing)
9933 (whitespace-line, whitespace-space-before-tab)
9934 (whitespace-space-after-tab, whitespace-indentation)
9935 (whitespace-empty):
9936 * emulation/cua-base.el (cua-global-mark):
9937 * eshell/em-prompt.el (eshell-prompt):
9938 * net/newst-plainview.el (newsticker-new-item-face)
9939 (newsticker-old-item-face, newsticker-immortal-item-face)
9940 (newsticker-obsolete-item-face, newsticker-date-face)
9941 (newsticker-statistics-face, newsticker-default-face):
9942 * net/newst-reader.el (newsticker-feed-face)
9943 (newsticker-extra-face, newsticker-enclosure-face):
9944 * net/newst-treeview.el (newsticker-treeview-face)
9945 (newsticker-treeview-new-face, newsticker-treeview-old-face)
9946 (newsticker-treeview-immortal-face)
9947 (newsticker-treeview-obsolete-face)
9948 (newsticker-treeview-selection-face):
9949 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
9950 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
9951 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
9952 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
9953 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
9954 (nxml-outline-active-indicator, nxml-outline-ellipsis):
9955 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
9956 (mpuz-text):
9957 * progmodes/vera-mode.el (vera-font-lock-number)
9958 (vera-font-lock-function, vera-font-lock-interface):
9959 * textmodes/table.el (table-cell): Use new-style face specs, and
9960 don't use the old :bold and :italic attributes.
9961
9962 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
9963 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
9964 (ebrowse-member-class, ebrowse-progress): Likewise.
9965 (ebrowse-tree-mark-face, ebrowse-root-class-face)
9966 (ebrowse-file-name-face, ebrowse-default-face)
9967 (ebrowse-member-attribute-face, ebrowse-member-class-face)
9968 (ebrowse-progress-face): Remove obsolete faces.
9969
9970 * progmodes/flymake.el (flymake-errline, flymake-warnline):
9971 Inherit from error and warning faces respectively.
9972
9973 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
9974 Likewise.
f80efb86
SM
9975 (flyspell-incorrect-face, flyspell-duplicate-face):
9976 Remove obsolete aliases.
4b56d0fe 9977
03310646
MA
99782012-06-08 Michael Albinus <michael.albinus@gmx.de>
9979
9980 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
9981 Avoid infloop.
9982
513749ee
SM
99832012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
9984
9985 * startup.el (argv, argi): Make lexically scoped.
9986 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
9987 * emacs-lisp/cl-macs.el: Use lexical-binding.
9988 Rename cl-bind-* to cl--bind-*.
9989 * files.el: Don't require `cl' since it doesn't use it.
9990 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
9991
595ef4ad
JB
99922012-06-08 Juanma Barranquero <lekktu@gmail.com>
9993
9994 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
9995 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
9996 instead of calling external sort utility.
9997 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
9998
e9f66fcb
EZ
99992012-06-08 Eli Zaretskii <eliz@gnu.org>
10000
10001 * descr-text.el (describe-char): Mention how to insert the
10002 character, if the current input method doesn't support it.
10003 See the discussion in this thread for the details:
10004 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
10005
3d10db47
SS
100062012-06-08 Sam Steingold <sds@gnu.org>
10007
10008 * bindings.el (global-map): Bind XF86Forward to next-buffer and
10009 XF86Back to previous-buffer.
10010 (minibuffer-local-map): Bind them to next-history-element and
10011 previous-history-element respectively.
10012 * help-mode.el (help-mode-map): Bind them to help-go-forward and
10013 help-go-back respectively.
10014 * info.el (Info-mode-map): Bind them to Info-history-forward and
10015 Info-history-back respectively.
10016 These are the keys next to Up on the ThinkPad keyboard.
10017
de7e2b36
SM
100182012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
10019
10020 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
10021 * emacs-lisp/cl-macs.el: Provide itself.
10022 (cl--labels-convert-cache): New var.
10023 (cl--labels-convert): New function.
10024 (cl-flet, cl-labels): New implementation with new semantics, relying on
10025 lexical-binding.
10026 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
10027 (cl-closure-vars, cl--function-convert-cache)
10028 (cl--function-convert): Move from cl-macs.el.
10029 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
10030 rename by removing the "cl-" prefix.
10031 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
10032
6fa6c4ae
SM
100332012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10034
10035 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
10036 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
10037 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
10038 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
10039 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
10040 (cl-hash-table-count): Add old compatibility aliases.
10041
10042 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
10043 Use macroexpand-all-environment instead.
10044 (cl--old-macroexpand): New var.
10045 (cl--sm-macroexpand): New function.
10046 (cl-symbol-macrolet): Use it during macro expansion.
10047 (cl--function-convert-cache): New var.
10048 (cl--function-convert): New function, extracted from
10049 cl-macroexpand-all.
10050 (cl-lexical-let): Use it.
10051
10052 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
10053 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
10054 (cl-member): Remove old alias.
10055
10056 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
10057 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
10058 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
10059 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
10060 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
10061 (cl-macroexpand-cmacs): Remove var.
10062 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
10063 Use macroexpand-all instead.
10064
4dd1c416
SM
100652012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10066
10067 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
10068 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
10069 (macroexp-copyable-p): New functions and macros.
10070 * emacs-lisp/edebug.el (edebug-unwrap):
10071 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
10072 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
10073 (pcase--let*): Remove.
10074 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
10075 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
10076 macroexp-const-p instead.
10077 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
10078
10079 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
10080 instead of "cl-" for internal definitions. Use macroexp-const-p.
10081 (cl-old-bc-file-form): Remove var.
10082 (cl-const-exprs-p): Remove fun.
10083 (cl-labels, cl-macrolet): Use backquote.
10084 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
10085 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
10086 (cl-define-setf-expander): Rename from cl-define-setf-method.
10087 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
10088
10089 * international/mule-cmds.el: Don't require CL.
10090 (view-hello-file): Don't use `letf'.
10091
ed8bd4d7
SM
100922012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10093
7287f2f3
SM
10094 * tmm.el (tmm-prompt): Use string-prefix-p.
10095 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
10096 (tmm-add-prompt): Use minibuffer-completion-help.
10097 (tmm-delete-map): Remove.
10098
ed8bd4d7
SM
10099 * subr.el (kbd): Make it its own function.
10100
7b4cdbf4
SM
101012012-06-07 Stefan Merten <smerten@oekonux.de>
10102
10103 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
10104 Silence compiler warnings. Fix versions.
ed8bd4d7 10105 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 10106 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 10107 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
10108 (rst-package-emacs-version-alist): Correct Emacs version to
10109 represent major merge with upstream.
ed8bd4d7 10110 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 10111
2b48d721
GM
101122012-06-06 Glenn Morris <rgm@gnu.org>
10113
10114 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
10115 Only print environment variables if set.
10116
fa779ab0
SM
101172012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
10118
10119 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
10120 (macroexp--cons): Rename from maybe-cons.
10121 (macroexp--accumulate): Rename from macroexp-accumulate.
10122 (macroexp--all-forms): Rename from macroexpand-all-forms.
10123 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
10124 (macroexp--expand-all): Rename from macroexpand-all-1.
10125
628299e0
SS
101262012-06-06 Sam Steingold <sds@gnu.org>
10127
10128 * calendar/calendar.el (calendar-in-read-only-buffer):
10129 Call `special-mode' to enable the standard read-only keybindings.
10130
b7bb5838
SM
101312012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
10132
10133 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
10134 with "loading" messages (bug#11635).
10135
dfb308ba
MA
101362012-06-06 Michael Albinus <michael.albinus@gmx.de>
10137
10138 * files.el (enable-remote-dir-locals): New option.
10139 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
10140
0372ee92
MA
10141 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
10142 Ensure, that the temp directory is local.
10143
10144 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
10145 `temporary-file-directory'.
10146
eed0bb91
MA
10147 * progmodes/python.el (python-send-region): Ensure, that the
10148 temporary file is created also in the remote case.
10149
7a58f64d
GM
101502012-06-06 Glenn Morris <rgm@gnu.org>
10151
f7dd4e98
GM
10152 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
10153 (vc-rcs-update-changelog): Use it.
10154
090bd7cb 10155 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 10156
7a58f64d
GM
10157 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
10158 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
10159 (vc-sccs-diff): Replace use of the external vcdiff script.
10160
daed4003
GM
101612012-06-05 Glenn Morris <rgm@gnu.org>
10162
10163 * ledit.el: Move to obsolete/.
10164
48c455c7
SS
101652012-06-05 Sam Steingold <sds@gnu.org>
10166
ed9265fc 10167 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
10168 patch (Bug#11140).
10169
57a7d507
SM
101702012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10171
090bd7cb 10172 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 10173
53aacf21
SM
10174 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
10175 compiler-macro expansion.
10176
57a7d507
SM
10177 Add native compiler-macro support.
10178 * emacs-lisp/macroexp.el (macroexpand-all-1):
10179 Support compiler-macros directly. Properly follow aliases and apply
10180 the compiler macros more thoroughly.
10181 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
10182 macroexpand now properly follows aliases.
10183 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
10184 (cl-compiler-macroexpand): Use new prop.
10185 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
10186
10187 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
10188
51a5f9d8
MR
101892012-06-05 Martin Rudalics <rudalics@gmx.at>
10190
10191 * window.el (get-lru-window, get-mru-window, get-largest-window):
10192 New argument NOT-SELECTED to avoid picking the selected window.
10193 (window--display-buffer-1, window--display-buffer-2): Replace by
10194 new function window--display-buffer
10195 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
10196 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10197 Use window--display-buffer.
51a5f9d8
MR
10198 (display-buffer-use-some-window): Remove temporary dedication
10199 hack by calling get-lru-window and get-largest-window with
10200 NOT-SELECTED argument non-nil. Call window--display-buffer.
10201
08f9f738
GM
102022012-06-05 Glenn Morris <rgm@gnu.org>
10203
10204 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
10205 Replace external vcdiff script.
10206
e364a2b7
SM
102072012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
10208
10209 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
10210
041df390
CY
102112012-06-04 Chong Yidong <cyd@gnu.org>
10212
e364a2b7
SM
10213 * image.el (imagemagick-types-inhibit): Revert last change.
10214 Add INFO and M.
47b36b94 10215 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 10216
7c1898a7
SM
102172012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
10218
10219 * emacs-lisp/cl-lib.el: Rename from cl.el.
10220 * emacs-lisp/cl.el: New compatibility file.
10221 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
10222 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
10223 to obey the "cl-" prefix.
10224 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
10225
0c3461de
GM
102262012-06-03 Glenn Morris <rgm@gnu.org>
10227
1e266c88
GM
10228 * emacs-lisp/authors.el (authors-aliases): Addition.
10229
0c3461de
GM
10230 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
10231 Fix :version.
10232
d8a52e15
SM
102332012-06-03 Stefan Merten <smerten@oekonux.de>
10234
10235 * textmodes/rst.el: Add comments.
10236 (rst-transition, rst-adornment): New faces.
10237 (rst-adornment-faces-alist): Make default safe to reevaluate.
10238 Fixes
10239 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
10240 Improve customization tags.
10241 (rst-define-level-faces): Clarify meaning.
10242
5205d6f6
CY
102432012-06-03 Chong Yidong <cyd@gnu.org>
10244
10245 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
10246 (compilation-mode-line-run, compilation-mode-line-exit):
10247 New faces.
5205d6f6
CY
10248 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
10249
757ee657
JD
102502012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
10251
7c1898a7
SM
10252 * progmodes/which-func.el (which-func-update-ediff-windows):
10253 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 10254
5f2c76c6
CY
102552012-06-03 Chong Yidong <cyd@gnu.org>
10256
10257 * bindings.el: Remove explicit help text from format-mode-line.
10258 It is now supplied by mode-line-default-help-echo.
10259 (mode-line-front-space, mode-line-end-spaces)
10260 (mode-line-misc-info): New variables.
10261 (mode-line-modes, mode-line-position): Move the default value to
10262 the variable definition.
10263 (mode-line-default-help-echo): New defcustom.
383f7350
CY
10264 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
10265 (mode-line-modified-help-echo): New functions.
10266 (mode-line-mule-info, mode-line-modified): Use them.
10267 (mode-line-eol-desc, propertized-buffer-identification):
10268 Consistency fixes for help text.
cbe46e5f
CY
10269 (mode-line-coding-system-map): Allow using mouse-3 to invoke
10270 set-buffer-file-coding-system (Bug#289).
10271 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 10272
f2d6a3df
SM
102732012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10274
10275 * simple.el (execute-extended-command): Set real-this-command
10276 (bug#11506).
10277
37269466
CY
102782012-06-02 Chong Yidong <cyd@gnu.org>
10279
10280 Remove incorrect uses of "modeline" in comments, docstrings, and
10281 function/variable names (Bug#10329).
10282
10283 * cus-edit.el (mode-line):
10284 * dframe.el (dframe-mouse-hscroll):
10285 * emacs-lisp/re-builder.el:
10286 * emacs-lisp/easy-mmode.el (define-minor-mode):
10287 * frame.el (set-frame-name):
10288 * help.el (lookup-minor-mode-from-indicator):
10289 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
10290 * progmodes/cc-cmds.el (c-toggle-auto-newline)
10291 (c-toggle-hungry-state):
10292 * progmodes/antlr-mode.el (antlr-language-alist):
10293 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
10294 * progmodes/vhdl-mode.el (vhdl-mode):
10295 * progmodes/which-func.el (which-func, which-func-cleanup-function):
10296 * term/ns-win.el (ns-face-at-pos):
10297 * term/sup-mouse.el (sup-mouse-report):
10298 * textmodes/flyspell.el (flyspell-mode-line-string):
10299 * textmodes/ispell.el (ispell-highlight-face):
10300 * textmodes/reftex-global.el:
10301 * vc/vc-arch.el (vc-arch-mode-line-string):
10302 * vc/vc-cvs.el (vc-cvs-mode-line-string):
10303 * vc/vc-git.el (vc-git-mode-line-string):
10304 * vc/vc-hooks.el (vc-display-status)
10305 (vc-default-mode-line-string):
10306 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
10307
10308 * ansi-color.el (ansi-color-faces-vector): Change default faces.
10309
10310 * dired.el (dired-sort-set-mode-line): Rename from
10311 dired-sort-set-modeline. All callers changed.
10312
10313 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
10314 eshell-status-in-modeline.
10315
10316 * foldout.el (foldout-mode-line-string): Rename from
10317 foldout-modeline-string. All callers changed.
10318 (foldout-update-mode-line): Rename from foldout-update-modeline.
10319
10320 * subr.el (redraw-modeline): Make into obsolete alias.
10321
10322 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
10323 timeclock-modeline-display. Make old name an alias.
10324 (timeclock-update-mode-line): Likewise. All callers changed.
10325 (timeclock-mode-line-display): No need to check before using
10326 add-hook.
10327 (timeclock-relative, timeclock-day-over-hook)
10328 (timeclock-use-elapsed, timeclock-mode-string)
10329 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
10330
10331 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
10332 crisp-mode-modeline-string.
10333
10334 * play/solitaire.el (solitaire-build-mode-line): Rename from
10335 solitaire-build-modeline. All callers changed.
10336
10337 * play/zone.el (zone-hiding-mode-line): Rename from
10338 zone-hiding-modeline. All callers changed.
10339 (zone): Remove unusued `modeline-hidden-level' property.
10340
10341 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
10342 xscheme-modeline-initialize. All callers changed.
10343
10344 * strokes.el (strokes-lighter): Rename from
10345 strokes-modeline-string.
10346
10347 * textmodes/sgml-mode.el (html-face-tag-alist)
10348 (html-tag-face-alist): Use mode-line face instead of obsolete
10349 alias modeline.
10350
42152ee4
SM
103512012-06-02 Stefan Merten <smerten@oekonux.de>
10352
10353 * textmodes/rst.el: Always require `cl'.
4cf9b38d 10354 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 10355
95f520b5
CY
103562012-06-02 Chong Yidong <cyd@gnu.org>
10357
10358 * image.el (imagemagick-enabled-types): Rename from
10359 imagemagick-types-enable. Add many more types.
10360 (imagemagick-types-inhibit): Change default to nil.
10361 (imagemagick-filter-types): Caller changed.
10362
4a5f187a
SM
103632012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10364
03fef3e6
SM
10365 * emacs-lisp/cl-macs.el: Use backquotes.
10366 (cl-transform-function-property): Use eval-and-compile rather than
10367 abusing `require'.
10368 (defstruct): Use declare-function instead of with-no-warnings.
10369
4a5f187a
SM
10370 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
10371 (byte-compile-output-docform): Re-add the print-circle bindings.
10372 (byte-compile-fix-header): Use #$ just because it's shorter.
10373 (byte-compile-output-file-form): Remove defun/defmacro.
10374
bd56924f
MR
103752012-06-01 Martin Rudalics <rudalics@gmx.at>
10376
10377 * simple.el (choose-completion): Remove now obsolete binding for
10378 owindow.
10379
046e38ce
MA
103802012-06-01 Michael Albinus <michael.albinus@gmx.de>
10381
10382 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
10383 in order to avoid "Stack overflow in regexp matcher".
10384
32d72c2f
GM
103852012-05-31 Glenn Morris <rgm@gnu.org>
10386
10387 * image.el: For clarity, call imagemagick-register-types at
10388 top-level, rather than relying on a custom :initialize.
10389 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
10390 (imagemagick-filter-types): New function. (Bug#7406)
10391 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
10392 If disabling support, remove elements altogether rather
10393 than using an impossible regexp.
10394 (imagemagick-types-inhibit): Give it the default init function.
10395
dd41169b
SM
103962012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10397
4a5f187a
SM
10398 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
10399 Handle arbitrary file name lengths (Bug#11585).
dd41169b 10400
efc00ab1 104012012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
10402
10403 * desktop.el (desktop-read): Clear previous and next buffers for
10404 all windows and bury *Messages* buffer (bug#11556).
10405
500fcedc
SM
104062012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10407
10408 Add `declare' for `defun'. Align `defmacro's with it.
10409 * emacs-lisp/easy-mmode.el (define-minor-mode)
10410 (define-globalized-minor-mode): Don't autoload the var definitions.
10411 * emacs-lisp/byte-run.el: Use lexical-binding.
10412 (defun-declarations-alist, macro-declarations-alist): New vars.
10413 (defmacro, defun): Use them.
10414 (make-obsolete, define-obsolete-function-alias)
10415 (make-obsolete-variable, define-obsolete-variable-alias):
10416 Use `declare'.
10417 (macro-declaration-function): Mark obsolete.
10418 * emacs-lisp/autoload.el: Use lexical-binding.
10419 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
10420
6e8a1786
AM
104212012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10422
10423 * textmodes/ispell.el (ispell-with-no-warnings):
10424 Define as a macro.
500fcedc
SM
10425 (ispell-kill-ispell, ispell-change-dictionary):
10426 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
10427 `interactive-p'.
10428
61b108cc
SM
104292012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10430
10431 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
10432 (macro-declaration-function): Move var from C code.
10433 (macro-declaration-function): Define function with defalias.
10434 * emacs-lisp/macroexp.el (macroexpand-all-1):
10435 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
10436 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
10437 defun/defmacro any more.
10438 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
10439 Provide fallback for unknown arglist.
10440 (byte-compile-arglist-warn): Change calling convention.
10441 (byte-compile-output-file-form): Move print-vars binding.
10442 (byte-compile-output-docform): Simplify accordingly.
10443 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
10444 (byte-compile-defmacro-declaration): Remove.
10445 (byte-compile-file-form-defmumble): Generalize to defalias.
10446 (byte-compile-output-as-comment): Return byte-positions.
10447 Simplify callers accordingly.
10448 (byte-compile-lambda): Use `assert'.
10449 (byte-compile-defun, byte-compile-defmacro): Remove.
10450 (byte-compile-file-form-defalias):
10451 Use byte-compile-file-form-defmumble.
10452 (byte-compile-defalias-warn): Remove.
10453
6d3f7c2f
SM
104542012-05-29 Stefan Merten <smerten@oekonux.de>
10455
10456 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 10457 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
10458
10459 (rst-mode-abbrev-table): Merge definition.
10460 (rst-mode): Make sure `font-lock-defaults' is buffer local.
10461 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
10462
6dbaa1c7
UJ
104632012-05-29 Ulf Jasper <ulf.jasper@web.de>
10464
10465 * calendar/icalendar.el
10466 (icalendar-export-region): Export UID properly.
10467
d209e2fb 104682012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
10469 * calendar/icalendar.el (icalendar-import-format):
10470 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
10471 (icalendar-import-format-uid): New.
10472 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
10473 Export UID.
10474
6876a58d
SM
104752012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
10476
10477 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
10478 different alternative patterns.
10479 (pcase-codegen): Be more careful to preserve identity.
10480 (pcase--u1): Don't forget to mark vars as used.
10481
10482 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
10483 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
10484 (byte-compile-from-buffer): ...rather than here.
10485
10486 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
10487 functions from byte-compile-function-environment.
10488
46b7967e
TN
104892012-05-29 Troels Nielsen <bn.troels@gmail.com>
10490
10491 * window.el (window-deletable-p): Avoid deleting the root window
10492 of a frame with an active minibuffer.
10493
69d565e2
MR
104942012-05-29 Martin Rudalics <rudalics@gmx.at>
10495
10496 * simple.el (choose-completion): Use quit-window (Bug#11567).
10497
a149fa51
CY
104982012-05-29 Chong Yidong <cyd@gnu.org>
10499
10500 * whitespace.el (whitespace-cleanup): Fix usage of
10501 whitespace-empty-at-bob-regexp (Bug#11492).
10502
2b311310
AH
105032012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
10504
10505 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
10506 revert (Bug#11488).
10507
b9cb2387
JL
105082012-05-29 Juri Linkov <juri@jurta.org>
10509
10510 * isearch.el (isearch-mode-map): Bind `M-s _' to
10511 `isearch-toggle-symbol'. Bind `M-s c' to
10512 `isearch-toggle-case-fold'.
10513 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
10514 (isearch-forward): Add `M-s _' to the docstring.
10515 (isearch-forward-symbol, isearch-toggle-case-fold)
10516 (isearch-symbol-regexp): New functions. (Bug#11381)
10517
d5e61c1c
JL
105182012-05-29 Juri Linkov <juri@jurta.org>
10519
10520 * isearch.el (isearch-word): Add docstring. (Bug#11381)
10521 (isearch-occur, isearch-search-and-update): If `isearch-word' is
10522 a function, call it to get the regexp.
10523 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
10524 property `isearch-message-prefix' instead of the string "word ".
10525 (isearch-search-fun-default): For the case of `isearch-word',
10526 return a lambda that calls re-search-forward/re-search-backward
10527 with a regexp returned by `word-search-regexp' or by the function
10528 in `isearch-word'.
10529
8cbd80f7
JL
105302012-05-29 Juri Linkov <juri@jurta.org>
10531
10532 * isearch.el (isearch-search-fun-default): New function.
10533 (isearch-search-fun): Move default part to the new function
10534 `isearch-search-fun-default'.
10535 (isearch-search-fun-function): Set the default value to
10536 `isearch-search-fun-default'. (Bug#11381)
10537
10538 * comint.el (comint-history-isearch-end):
10539 Use `isearch-search-fun-default'.
10540 (comint-history-isearch-search): Use `isearch-search-fun-default'
10541 and remove spacial case for `isearch-word'.
10542 (comint-history-isearch-wrap): Remove spacial case for
10543 `isearch-word'.
10544
10545 * hexl.el (hexl-isearch-search-function):
10546 Use `isearch-search-fun-default'.
10547
10548 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
10549 Use `word-search-regexp' for `isearch-word'.
10550
10551 * misearch.el (multi-isearch-search-fun):
10552 Use `isearch-search-fun-default'.
10553
10554 * simple.el (minibuffer-history-isearch-search):
10555 Use `isearch-search-fun-default' and remove spacial case for
10556 `isearch-word'.
10557 (minibuffer-history-isearch-wrap): Remove spacial case for
10558 `isearch-word'.
10559
10560 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
10561 Remove spacial case for `isearch-word'.
10562 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
10563
85c8c5b6
AM
105642012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10565
10566 Decrease XEmacs incompatibilities.
10567 * textmodes/flyspell.el (flyspell-check-pre-word-p):
10568 Use `string-match'.
10569 (flyspell-delete-region-overlays): Use alternative definition for
10570 XEmacs.
10571 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
10572 (flyspell-word): Use `process-kill-without-query' if XEmacs.
10573 (flyspell-mode-on): Use `interactive-p' if XEmacs.
10574 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
10575 `define-obsolete-face-alias' under XEmacs, but old method.
10576
10577 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
10578 `with-no-warnings' definition or Emacs alias.
10579 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
10580 (ispell-word): Do not use `region-p' if XEmacs.
10581
8cab9efc
AM
105822012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10583
10584 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
10585 Check for `ispell-dictionary-base-alist' instead of full
10586 `ispell-dictionary-alist'.
10587 (ispell-init-process): Show spellchecker when starting new Ispell
10588 process.
10589
fda91268
RZ
105902012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
10591
10592 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
10593 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
10594
694ea8e3
JB
105952012-05-27 Juanma Barranquero <lekktu@gmail.com>
10596
10597 * version.el (motif-version-string, gtk-version-string)
10598 (ns-version-string): Declare.
10599
e4d4f539
JL
106002012-05-27 Juri Linkov <juri@jurta.org>
10601
10602 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
10603 after the `eval-defun-1' specialcaseing
10604 like in `edebug-eval-defun' (bug#10181).
10605
10606 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
10607 like in `eval-defun-1'.
10608
33017faf 106092012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 10610
fda91268
RZ
10611 * mail/sendmail.el (mail-yank-region):
10612 Recognize rmail-yank-current-message in addition to insert-buffer.
10613 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
10614 a *mail* buffer created through rmail-start-mail with sendmail as
10615 mail-user-agent.
10616
33017faf
GM
106172012-05-27 Chong Yidong <cyd@gnu.org>
10618
10619 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
10620 Default to 256 (Bug#11267).
10621
10622 * help.el (describe-mode): Doc fix.
10623
04188bb9
GM
106242012-05-26 Glenn Morris <rgm@gnu.org>
10625
38264cc9
GM
10626 * w32-fns.el (w32-init-info): Remove.
10627 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
10628
eb7afdad
GM
10629 * info.el (info-initialize): For self-contained NS builds, put the
10630 included info/ directory at the front. (Bug#2791)
10631
04188bb9
GM
10632 * paths.el (Info-default-directory-list): Make it a defcustom,
10633 mainly so that we can use custom-initialize-delay.
10634
a179e3f7
SM
106352012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
10636
43416392
SM
10637 * subr.el (buffer-has-markers-at): Mark obsolete.
10638
a179e3f7 10639 * subr.el (lambda): Use declare.
43416392 10640
a179e3f7
SM
10641 * emacs-lisp/lisp-mode.el (lambda):
10642 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
10643
34a008d9
AH
106442012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
10645
10646 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
10647
0a3b289f
GM
106482012-05-26 Glenn Morris <rgm@gnu.org>
10649
10650 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
10651
758c81e8
GM
106522012-05-25 Glenn Morris <rgm@gnu.org>
10653
f9f334f0
GM
10654 * paths.el: Remove no-byte-compile.
10655 * loadup.el: No need to load paths.el uncompiled.
10656
87eb79c2
GM
10657 * image.el (imagemagick-types-inhibit): Doc fix.
10658
758c81e8
GM
10659 * version.el: Remove no-byte-compile and associated formatting.
10660 * loadup.el: No need to load version.el uncompiled. AFAICS, this
10661 is ancient code from when there was an "inc-vers.el".
10662
e7e85dc0
SM
106632012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10664
10665 * progmodes/gdb-mi.el: Minor style changes.
10666 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
10667 Turn into minor modes.
10668 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
10669 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
10670 (gdb-shell): Remove unneeded let-binding.
10671 (gdb-get-many-fields): Eliminate O(n²) behavior.
10672
f31237a4
EZ
106732012-05-25 Eli Zaretskii <eliz@gnu.org>
10674
10675 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
10676 platforms that don't link in fontset.c.
10677
bc1b21bb
JL
106782012-05-25 Juri Linkov <juri@jurta.org>
10679
10680 Use the same diff color scheme as in modern VCSes (bug#10181).
10681
10682 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
10683 to avoid confusion with `diff-added' that now uses green colors.
10684 (diff-removed): Use shades of red.
10685 (diff-added): Use shades of green.
10686 (diff-changed): Leave just the yellow color.
10687 (diff-use-changed-face): New variable.
10688 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
10689 how to highlight context diff changes.
10690 (diff-refine-change): Use shades of yellow.
10691 (diff-refine-removed): New face that uses shades of red.
10692 (diff-refine-added): New face that uses shades of green.
10693 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
10694 `diff-refine-removed' in the call to `smerge-refine-subst'
10695 depending on the value of `diff-use-changed-face'.
10696
10697 * vc/smerge-mode.el (smerge-mine): Use shades of red.
10698 (smerge-other): Use shades of green.
10699 (smerge-base): Use shades of yellow.
10700 (smerge-refined-change): Empty face.
10701 (smerge-refined-removed): New face that uses shades of red.
10702 (smerge-refined-added): New face that uses shades of green.
10703 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
10704 args `props-r' and `props-a', and use them. Doc fix.
10705 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
10706 on its value use different faces `smerge-refined-change',
10707 `smerge-refined-removed', `smerge-refined-added' in the call to
10708 `smerge-refine-subst'.
10709
10710 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
10711 Add face condition `min-colors 88' with shades of red.
10712 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
10713 `min-colors 88' with shades of green.
10714 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
10715 `min-colors 88' with shades of yellow.
10716
6df9112c
GM
107172012-05-24 Glenn Morris <rgm@gnu.org>
10718
ead5edc0
GM
10719 * paths.el (prune-directory-list, remote-shell-program): Move to...
10720 * files.el (prune-directory-list, remote-shell-program): ...here.
10721 For the latter, delay initialization, prefer ssh, just search PATH.
10722
f18b81e6
GM
10723 * paths.el (term-file-prefix): Move to faces.el (the only user).
10724 * faces.el (term-file-prefix): Move here, make it a defcustom.
10725
ee2f89a6
GM
10726 * paths.el (news-directory, news-path, news-inews-program):
10727 Move to gnus/nnspool.el.
61a583ca 10728
f8815e4c
GM
10729 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
10730
c8f3b42c
GM
10731 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
10732 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
10733 Make the latter a defcustom, with a delayed initialization.
10734
6df9112c
GM
10735 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
10736 These were deleted from Gnus itself late 2010.
10737
5dadff36
JB
107382012-05-22 Juanma Barranquero <lekktu@gmail.com>
10739
9e1701c6
JB
10740 * progmodes/which-func.el (which-func-ff-hook):
10741 Check against user-error, not error.
10742
bd7239f5 10743 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
10744 cl-specs.el, which no longer exists.
10745
3290526d
GM
107462012-05-22 Glenn Morris <rgm@gnu.org>
10747
10748 * info.el (info-emacs-bug): New command.
10749 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
10750 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
10751
ff0c3cfb
GM
107522012-05-21 Glenn Morris <rgm@gnu.org>
10753
10754 * makefile.w32-in (update-subdirs-SH):
10755 * Makefile.in (update-subdirs): Update for moved update-subdirs.
10756
5814f126
SM
107572012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
10758
a52c0aa0
SM
10759 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
10760
5814f126
SM
10761 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10762 Simplify Maven regexp, and make sure the file can't start with a space
10763 (bug#11517).
10764
b847032c
GM
107652012-05-21 Glenn Morris <rgm@gnu.org>
10766
10767 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
10768 Scrap superfluous subshells.
10769
3858bfe7
SM
107702012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
10771
10772 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
10773 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
10774
d14b0029
JB
107752012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
10776
10777 * calc/calc.el (calc-ensure-consistent-units): New variable.
10778
a52c0aa0
SM
10779 * calc/calc-units.el (math-consistent-units-p)
10780 (math-check-unit-consistency): New functions.
10781 (calc-quick-units, calc-convert-units):
10782 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
10783 is non-nil.
d14b0029
JB
10784 (calc-extract-units): Fix typo.
10785
60c4db3a
SM
107862012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
10787
77f3b62e
SM
10788 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
10789
60c4db3a
SM
10790 * textmodes/flyspell.el: Commenting style, plus code simplifications.
10791 (flyspell-default-deplacement-commands): Don't spell check after
10792 repeated window/frame switches (e.g. triggered by mouse-movement).
10793 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
10794 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
10795 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
10796 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
10797 Remove unused vars.
10798 (flyspell-get-casechars, flyspell-get-not-casechars):
10799 Simplify; Don't bother removing a ] just to add it back.
10800 * textmodes/ispell.el (ispell-program-name): Use executable-find.
10801
d209e2fb 108022012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
10803
10804 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
10805 New functions.
bd7239f5 10806 (math-function-table): Add support for more C functions.
b1a10716 10807
3f1b25b5
AM
108082012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10809
090bd7cb
JB
10810 * textmodes/flyspell.el (flyspell-check-pre-word-p)
10811 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
10812 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 10813
b581bb5c
SM
108142012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
10815
10816 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
10817 their respective macro declarations.
10818 * skeleton.el (define-skeleton):
10819 * progmodes/compile.el (define-compilation-mode):
10820 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
10821 (define-ibuffer-filter):
10822 * emacs-lisp/generic.el (define-generic-mode):
10823 * emacs-lisp/easy-mmode.el (define-minor-mode)
10824 (define-globalized-minor-mode):
10825 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
10826 * emacs-lisp/byte-run.el (defsubst):
10827 * custom.el (deftheme): Add doc-string metadata.
10828
70b8ef8f
SM
108292012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10830
10831 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
10832
b1198e17
SM
108332012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10834
9abdc45d
SM
10835 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
10836
b1198e17
SM
10837 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
10838 * emacs-lisp/cl-macs.el: Idem.
10839 * emacs-lisp/cl-specs.el: Remove.
10840
4735906a
SM
108412012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10842
10843 Minor renaming of internal CL functions and variables.
10844 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
10845 (cl--position): Rename from cl-position.
10846 (cl--delete-duplicates): Rename from cl-delete-duplicates.
10847 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
10848 (cl--random-state): Rename from *random-state*.
10849
ac348012
SM
108502012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10851
10852 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
10853 parens around the arg list (bug#11499).
10854
a0a79cde
JL
108552012-05-17 Juri Linkov <juri@jurta.org>
10856
10857 * isearch.el (word-search-regexp, word-search-backward)
10858 (word-search-forward, word-search-backward-lax)
10859 (word-search-forward-lax): Move functions from search.c
10860 (bug#10145, bug#11381).
10861
65034a51
AM
108622012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10863
090bd7cb
JB
10864 * textmodes/flyspell.el (flyspell-check-pre-word-p)
10865 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
10866 Delay for otherchars as for normal word components.
65034a51 10867
1a72a195
SM
108682012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
10869
10870 * minibuffer.el (completion--sifn-requote): Fix last change.
10871 (minibuffer-local-must-match-filename-map):
10872 Move define-obsolete-variable-alias before its var.
10873
fdb058c2
SM
108742012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10875
c41045e6
SM
10876 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
10877
036dfb8b
SM
10878 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
10879 behavior.
10880 (completion--string-equal-p): New function.
10881 (completion--twq-all): Use it to get better assertion failure data.
10882
2473256d
SM
10883 Only handle ".." and '..' quoting in shell-mode (bug#11466).
10884 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
10885 (shell--requote-argument): New functions.
10886 (shell-completion-vars): Use them.
10887 (shell--parse-pcomplete-arguments): Rename from
10888 shell-parse-pcomplete-arguments.
10889 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
10890 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
10891 Obey comint-file-name-quote-list.
10892
fdb058c2
SM
10893 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
10894 (smie-indent-keyword): Use it.
10895
51fa99f1
SM
108962012-05-14 Stefan Merten <smerten@oekonux.de>
10897
10898 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
10899
e18afed7 109002012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
10901
10902 * net/rlogin.el (rlogin-mode-map): Fix last change.
10903
e18afed7 109042012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
10905
10906 * mail/smtpmail.el (smtpmail-send-command): Send the command and
10907 the following \r\n using a single `process-send-string', since the
10908 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 10909 with two `process-send-string's (Bug#11444).
8633b1f4 10910
e18afed7 109112012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 10912
fdb058c2
SM
10913 * shell.el (shell-parse-pcomplete-arguments):
10914 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 10915
2d21d7f6
WJ
109162012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
10917
e18afed7 10918 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
10919 (image-transform-scale, image-transform-right-angle-fudge): New vars.
10920 (image-transform-width, image-transform-fit-width): New functions.
10921 (image-transform-properties): Use them.
10922 (image-transform-check-size): New function.
10923 (image-toggle-display-image): Use it (for testing).
10924 (image-transform-set-rotation): Reduce angle mod 360.
10925 Delete obsolete comment.
10926
7102e6d0
WJ
109272012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
10928
10929 * image-mode.el: Fix scaling (bug#11399).
10930 (image-transform-resize): Doc fix.
10931 (image-transform-properties): Default scale is 1 and height should
10932 be an integer.
10933
06bc5e6e
SM
109342012-05-13 Johan Bockgård <bojohan@gnu.org>
10935
10936 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
10937 than hard-coding `car', to fix misbehavior when moving forward.
10938
0ae03b6a
CY
109392012-05-13 Chong Yidong <cyd@gnu.org>
10940
10941 * emacs-lisp/tabulated-list.el (tabulated-list-format)
10942 (tabulated-list-entries, tabulated-list-padding)
10943 (tabulated-list-sort-key): Make permanent-local.
10944
10945 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
10946 (electric-buffer-list): Put electric buffer menu
10947 command descriptions in this docstring, instead of the docstring
10948 of electric-buffer-menu-mode. Code cleanups.
10949 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
10950 Electric-buffer-menu-mode.
10951 (electric-buffer-update-highlight): Minor code cleanup.
10952
205a7391
MA
109532012-05-13 Michael Albinus <michael.albinus@gmx.de>
10954
10955 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
10956 (Bug#11447)
10957
e5bd0a28
SM
109582012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
10959
10960 Move define-obsolete-variable-alias before the var's definition.
10961 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
10962 * tooltip.el (tooltip-hook):
10963 * textmodes/reftex-toc.el (reftex-toc-map):
10964 * textmodes/reftex-sel.el (reftex-select-label-map)
10965 (reftex-select-bib-map):
10966 * textmodes/reftex-index.el (reftex-index-map)
10967 (reftex-index-phrases-map):
10968 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
10969 * progmodes/meta-mode.el (meta-mode-map):
10970 * novice.el (disabled-command-hook):
10971 * loadhist.el (unload-hook-features-list):
10972 * frame.el (blink-cursor):
10973 * files.el (find-file-not-found-hooks, write-file-hooks)
10974 (write-contents-hooks):
10975 * emulation/tpu-edt.el (GOLD-map):
10976 * emacs-lock.el (emacs-lock-from-exiting):
10977 * emacs-lisp/generic.el (generic-font-lock-defaults):
10978 * emacs-lisp/chart.el (chart-map):
10979 * dos-fns.el (register-name-alist):
10980 * dired-x.el (dired-omit-files-p):
10981 * desktop.el (desktop-enable):
10982 * cus-edit.el (custom-mode-hook):
10983 * buff-menu.el (buffer-menu-mode-hook):
10984 * bookmark.el (bookmark-read-annotation-text-func)
10985 (bookmark-exit-hooks):
10986 * allout.el (allout-mode-deactivate-hook)
10987 (allout-exposure-change-hook, allout-structure-added-hook)
10988 (allout-structure-deleted-hook, allout-structure-shifted-hook):
10989 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
10990 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
10991 comes before the corresponding variable's definition.
10992
ac59c2f6
CY
109932012-05-12 Chong Yidong <cyd@gnu.org>
10994
10995 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
10996 (Buffer-menu-mouse-select): Restore function (Bug#11459).
10997 (Buffer-menu-mode-map): Bind it.
10998 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 10999
dee6c9a3
SM
110002012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
11001
2171cea5
SM
11002 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
11003 (prolog-upper-case-string, prolog-lower-case-string)
11004 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
11005 (prolog-use-smie, prolog-smie-grammar): New vars.
11006 (prolog-smie-forward-token, prolog-smie-backward-token)
11007 (prolog-smie-rules): New funs.
11008 (prolog-comment-indent): Remove.
11009 (prolog-mode-variables): Use default comment indentation instead.
11010 Setup SMIE.
11011 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
11012 (prolog-mode): Don't call them any more.
11013 (prolog-electric-colon, prolog-electric-dash)
11014 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
11015
aa0382bd
SM
11016 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
11017
dbacb4bd
SM
11018 * minibuffer.el (completion--twq-all): Again, allow case differences.
11019
13bdd94c
SM
11020 * term.el: Move keymap initialization code to be more idiomatic.
11021 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
11022 (term-terminal-menu): Move initialization into declaration.
11023 (term-escape-char): Let the user set it in her .emacs.
11024
ff46c759
SM
11025 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
11026 Provide SMIE-based indentation (not enabled by default yet).
11027 (sh-mode-map): Don't bind electric keys.
11028 Use electric-pair-mode instead of skeleton-pair.
11029 (sh-assignment-regexp): Fit within 80 columns.
11030 (sh-indent-supported): Specify actual shell name instead of boolean.
11031 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
11032 (sh-maybe-here-document): Use it. Make obsolete.
11033 (sh-electric-here-document-mode) New minor mode.
11034 (sh-mode): Use it. Don't set sh-indent-supported-here here.
11035 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
11036 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
11037 (sh-smie-rc-grammar, sh-use-smie): New vars.
11038 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
11039 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
11040 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
11041 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
11042 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
11043 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
11044 (sh-set-shell): Use smie-setup if requested.
11045
dee6c9a3
SM
11046 * term.el (term-set-escape-char): Properly set term-escape-char.
11047 See http://stackoverflow.com/questions/10524656.
11048
9f9aa044
CY
110492012-05-10 Chong Yidong <cyd@gnu.org>
11050
11051 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
11052 Use url-generic-parse-url, and handle host names and Windows
11053 filenames properly.
11054 (ffap-url-unwrap-remote): Use url-generic-parse-url.
11055 (ffap-url-unwrap-remote): Accept list values, specifying a list of
11056 URL schemes to work on.
11057 (ffap--toggle-read-only): New function.
11058 (ffap-read-only, ffap-read-only-other-window)
11059 (ffap-read-only-other-frame): Use it.
11060 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
11061 necessary for ffap-url-unwrap-remote.
11062
836d29b3
DA
110632012-05-10 Dave Abrahams <dave@boostpro.com>
11064
11065 * cus-start.el (create-lockfiles): Add it.
11066
00fd78ed
CY
110672012-05-09 Chong Yidong <cyd@gnu.org>
11068
11069 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
11070 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
11071
666b903b 110722012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
11073
11074 * shell.el (shell-completion-vars): Fix last change (bug#11348).
11075
666b903b 110762012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
11077
11078 * ansi-color.el (ansi-color-process-output): Check for validity of
11079 comint-last-output-start before using it. This avoids a bad
11080 interaction with gdb-mi's input/output buffer.
11081
666b903b 110822012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
11083
11084 * files.el (dir-locals-read-from-file):
11085 Mention dir-locals in any error message.
11086
666b903b 110872012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
11088
11089 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
11090 package (Bug#11410).
11091
f677562b
CY
11092 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
11093 variables into description.
11094
666b903b 110952012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
11096
11097 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
11098 shell-delimiter-argument-list (bug#11348).
11099 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
11100
b499d8d0
JB
111012012-05-09 Juanma Barranquero <lekktu@gmail.com>
11102
8f6b6da8
JB
11103 * textmodes/rst.el: Silence byte-compiler warnings.
11104 (rst-re-alist, rst-reset-section-caches): Move around.
11105 (rst-re): Use `characterp', not `char-valid-p'.
11106 (font-lock-beg, font-lock-end): Declare.
11107
4824146a
JB
11108 * progmodes/idlw-shell.el (specs): Remove reference to deleted
11109 variable `idlwave-shell-activate-alt-keybindings' and simplify.
11110
b499d8d0
JB
11111 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
11112
ad89bb83
GM
111132012-05-08 Glenn Morris <rgm@gnu.org>
11114
11115 * files.el (auto-mode-alist): Treat ".make" like ".mk".
11116
8bba5a75
SM
111172012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11118
49ed9c8e
SM
11119 * vc/log-edit.el: Add GNU coding standards highlighting.
11120 (log-edit-font-lock-gnu-style)
11121 (log-edit-font-lock-gnu-keywords): New vars.
11122 (log-edit-font-lock-keywords): New fun.
11123 (log-edit-mode): Don't fold case in font-lock.
11124 (log-edit-font-lock-keywords): Do not assume case-folding.
11125
07d00b56
SM
11126 * imenu.el: Misc cleanup. Make docstrings out of comments.
11127 Use lexical-binding.
11128 (imenu--index-alist, imenu--last-menubar-index-alist)
11129 (imenu-menubar-modified-tick): Use defvar-local.
11130 (imenu--split-menu): Remove unused var.
11131 (imenu--cleanup-seen): Declare as global.
11132 (imenu--cleanup): Use dolist.
11133
8bba5a75
SM
11134 * subr.el (defvar-local): Add debug spec and doc-string position.
11135
5075bdb5
GM
111362012-05-08 Glenn Morris <rgm@gnu.org>
11137
090bd7cb 11138 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
11139 * language/english.el, language/georgian.el, language/greek.el:
11140 * language/japanese.el, language/khmer.el, language/korean.el:
11141 * language/lao.el, language/misc-lang.el, language/romanian.el:
11142 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
11143 * language/thai.el, language/utf-8-lang.el:
11144 Remove no-byte-compile setting.
11145
5075bdb5
GM
11146 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
11147
06f679a7
AH
111482012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11149
11150 * progmodes/make-mode.el (makefile-browse):
11151 Remove unnecessary interactive. (Bug#11324)
11152
03794570
GM
111532012-05-07 Glenn Morris <rgm@gnu.org>
11154
af8630f4
GM
11155 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
11156
03794570
GM
11157 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
11158
f0809a9d
SM
111592012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11160
28be5ce7
SM
11161 * loadup.el: Preload newcomment.el.
11162 * newcomment.el: Move autoload-only code to toplevel.
11163
f0809a9d
SM
11164 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
11165 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
11166 Handle new :right-align column property.
11167 (tabulated-list-print-col): Idem, plus use `display' text-property to
11168 try and preserve alignment for variable pitch fonts.
11169
1241b724
CY
111702012-05-07 Chong Yidong <cyd@gnu.org>
11171
11172 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
11173 (tabulated-list-use-header-line): New var.
11174 (tabulated-list-init-header): Use it.
11175 (tabulated-list-print-fake-header): New function.
11176 (tabulated-list-print): Use it.
11177 (tabulated-list-sort-button-map): Add non-header-line commands.
11178 (tabulated-list-init-header): Add column name property to basic
11179 labels as well.
11180 (tabulated-list-col-sort): Handle non-header-line button case.
11181 (tabulated-list--sort-by-column-name): Fix a corner case.
11182
f0809a9d
SM
11183 * buff-menu.el (list-buffers--refresh):
11184 Handle Buffer-menu-use-header-line.
1241b724 11185
e5f9458f
CY
111862012-05-06 Chong Yidong <cyd@gnu.org>
11187
11188 * buff-menu.el: Convert to Tabulated List mode.
11189 (Buffer-menu-buffer+size-width): Make obsolete.
11190 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
11191 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
11192 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
11193 documentation into docstring of buffer-menu.
11194 (Buffer-menu-toggle-files-only): Add an informative message.
11195 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
11196 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
11197 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
11198 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
11199 (Buffer-menu-execute, Buffer-menu-select)
11200 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
11201 (Buffer-menu-bury): Use Tabulated List machinery.
11202 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
11203 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 11204 Delete.
e5f9458f
CY
11205 (list-buffers--refresh): New function.
11206 (list-buffers-noselect): Use it.
11207 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
11208 (Buffer-menu--pretty-file-name): New helper functions.
11209
11210 * loadup.el: Preload tabulated-list.
11211
11212 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
11213 tabulated-list-sort-column.
11214 (tabulated-list-init-header): Add the initial aligning space even
11215 if tabulated-list-padding is zero.
11216
e129292c
CS
112172012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
11218
11219 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
11220 whose cdr is not a cons cell correctly (bug#11038).
11221
6632d361
CY
112222012-05-06 Chong Yidong <cyd@gnu.org>
11223
e129292c
CS
11224 * emacs-lisp/tabulated-list.el (tabulated-list-format):
11225 Accept additional plist in column descriptors.
6632d361
CY
11226 (tabulated-list-init-header): Obey it.
11227 (tabulated-list-get-entry): New function.
11228 (tabulated-list-put-tag): Use it. Use string-width instead of
11229 length.
11230 (tabulated-list--column-number): New function.
11231 (tabulated-list-print): Use it.
e129292c
CS
11232 (tabulated-list-print-col): New function.
11233 Set `tabulated-list-column-name' property on each column's text.
6632d361 11234 (tabulated-list-print-entry): Use it.
e129292c
CS
11235 (tabulated-list-delete-entry, tabulated-list-set-col):
11236 New functions.
6632d361
CY
11237 (tabulated-list-sort-column): New command (Bug#11337).
11238
3cc99f68
CY
11239 * buff-menu.el (list-buffers): Move C-x C-b binding from
11240 buff-menu.el to bindings.el.
11241
11242 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
11243 :advertised-binding feature.
11244
52b61776
TN
112452012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
11246
11247 * progmodes/compile.el (compilation-internal-error-properties):
11248 Calculate start position correctly when end-col is set but
11249 end-line is not (Bug#11382).
11250
ebfe2597
WJ
112512012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
11252
11253 * man.el (Man-unindent): Use text-property-default-nonsticky to
11254 prevent untabify from inheriting face properties (Bug#11408).
11255
6d3f7c2f
SM
112562012-05-05 Stefan Merten <smerten@oekonux.de>
11257
11258 * textmodes/rst.el: Major merge with upstream development up to
11259 Docutils SVN r7399 / rst.el V1.2.1.
11260
11261 Clarify maintainership and authors.
11262
11263 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
11264 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
11265 (rst-official-version, rst-official-cvs-rev, rst-version)
11266 (rst-package-emacs-version-alist): New functions and variables
11267 for version information.
11268
11269 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
11270 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
11271 (rst-mode-syntax-table, rst-mode): New and corrected functions
11272 and variables representing reStructuredText features.
11273
11274 (rst-re): New function for reStructuredText regexes. Use in
11275 many places.
11276
11277 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
11278 (rst-mode-map): Rebind keys.
11279
11280 (rst-mode-lazy, rst-font-lock-keywords)
11281 (rst-font-lock-extend-region)
11282 (rst-font-lock-extend-region-internal)
11283 (rst-font-lock-extend-region-extend)
11284 (rst-font-lock-find-unindented-line-limit)
11285 (rst-font-lock-find-unindented-line-match)
11286 (rst-adornment-level, rst-font-lock-adornment-level)
11287 (rst-font-lock-adornment-match)
11288 (rst-font-lock-handle-adornment-pre-match-form)
11289 (rst-font-lock-handle-adornment-matcher): Major revision of
11290 font-locking. Integrate with other code. Use `jit-lock-mode'.
11291
11292 (rst-preferred-adornments, rst-adjust-hook)
11293 (rst-new-adornment-down, rst-preferred-bullets)
11294 (rst-preferred-bullets, rst-indent, rst-indent-width)
11295 (rst-indent-field, rst-indent-literal-normal)
11296 (rst-indent-literal-minimized, rst-indent-comment): Change,
11297 extend and improve customization.
11298
11299 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
11300 (rst-normalize-cursor-position, rst-get-decoration)
11301 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
11302 (rst-rstrip, rst-toc-insert-find-delete-contents)
11303 (rst-shift-fill-region, rst-compute-bullet-tabs)
11304 (rst-debug-print-tabs, rst-debug-mark-found)
11305 (rst-shift-region-guts, rst-shift-region-right)
11306 (rst-shift-region-left, rst-use-char-classes)
11307 (rst-font-lock-keywords-function)
11308 (rst-font-lock-indentation-point)
11309 (rst-font-lock-find-unindented-line-begin)
11310 (rst-font-lock-find-unindented-line-end)
11311 (rst-font-lock-find-unindented-line)
11312 (rst-font-lock-adornment-point, rst-font-lock-level)
11313 (rst-adornment-level-alist): Remove functions and variables.
11314
11315 (rst-compare-adornments, rst-get-adornment-match)
11316 (rst-suggest-new-adornment, rst-get-adornments-around)
11317 (rst-adornment-complete-p, rst-get-next-adornment)
11318 (rst-adjust-adornment, rst-display-adornments-hierarchy)
11319 (rst-straighten-adornments): Standardize function names to
11320 use "adornment" instead of "decoration". Correct callers.
11321 Similar standardizing in many places.
11322
11323 (rst-update-section, rst-adjust, rst-promote-region)
11324 (rst-enumerate-region, rst-bullet-list-region)
11325 (rst-repeat-last-character): Correct use of `interactive'.
11326
11327 (rst-classify-adornment, rst-find-all-adornments)
11328 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
11329 (rst-find-leftmost-column, rst-repeat-last-character):
11330 Refactor functions.
11331
11332 (rst-find-title-line, rst-reset-section-caches)
11333 (rst-get-adornments-around, rst-adjust-adornment-work)
11334 (rst-arabic-to-roman, rst-roman-to-arabic)
11335 (rst-insert-list-pos, rst-insert-list-new-item)
11336 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
11337 New functions.
11338
11339 (rst-all-sections, rst-section-hierarchy)
11340 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
11341 New variables.
11342
11343 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
11344 configuration instead of only buffer. Change where necessary.
11345
11346 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
11347 (rst-shift-region, rst-adaptive-fill): New functions for
11348 indentation and filling.
11349
11350 (rst-comment-line-break, rst-comment-indent)
11351 (rst-comment-insert-comment, rst-comment-region)
11352 (rst-uncomment-region): New functions for handling comments.
11353
11354 (rst-compile): Quote shell arguments.
11355
11356 (rst-compile-pdf-preview, rst-compile-slides-preview):
11357 Delete temporary files after use.
11358
a43f98b3
GM
113592012-05-05 Glenn Morris <rgm@gnu.org>
11360
48176e8b
GM
11361 * calendar/cal-html.el: Optionally include holidays in the output.
11362 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
11363 (cal-html-holidays): New option.
11364 (cal-html-css-default): Add holiday entry.
11365 (holiday-in-range): Autoload it.
11366 (cal-html-htmlify-entry): Add optional class argument.
11367 (cal-html-htmlify-list): Add optional holidays argument.
11368 (cal-html-insert-agenda-days): Include holidays in the output.
11369 (cal-html-one-month): Maybe include holidays.
11370
a43f98b3
GM
11371 * calendar/holidays.el (holiday-in-range):
11372 Move here from cal-tex-list-holidays.
11373 * calendar/cal-tex.el (cal-tex-list-holidays):
11374 Make it an obsolete alias for holiday-in-range. Update all callers.
11375
fef9d149 113762012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
11377
11378 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
11379 Nextstep.
11380
248da2f4
RW
113812012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
11382
11383 * files.el (file-auto-mode-skip): New var.
11384 (set-auto-mode-1): Use it.
11385
f95e9344
SM
113862012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11387
df96ab1e
SM
11388 * repeat.el: Use lexical-binding.
11389 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
11390 (repeat-undo-count): Remove.
11391 (repeat):
11392 * progmodes/octave-mod.el (octave-abbrev-start):
11393 * progmodes/f90.el (f90-abbrev-start):
11394 * face-remap.el (text-scale-adjust):
11395 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
11396
5342bb06
SM
11397 * emacs-lisp/pcase.el (pcase--let*): New function.
11398 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
11399 a bit more.
11400 (pcase--split-pred): Be more clever about ruling out overlap between
11401 a predicate and some constant pattern.
11402 (pcase--q1): Use `null' instead of (eq foo nil).
11403
f95e9344
SM
11404 * subr.el (setq-local, defvar-local): New macros.
11405 (kbd): Redefine as an alias.
11406 (with-selected-window): Leave unrelated frames alone.
11407 (set-temporary-overlay-map): New function.
11408
71873e2b
SM
114092012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11410
11411 * subr.el (user-error): New function.
11412 * window.el (switch-to-buffer):
11413 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
11414 (smerge-match-conflict):
11415 * simple.el (previous-matching-history-element)
11416 (next-matching-history-element, goto-history-element, undo-more)
11417 (undo-start):
11418 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
11419 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
11420 (next-file, tags-loop-scan, list-tags, complete-tag):
11421 * progmodes/compile.el (compilation-loop):
11422 * mouse.el (mouse-minibuffer-check):
11423 * man.el (Man-bgproc-sentinel, Man-goto-page):
11424 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
11425 (Info-history-forward, Info-follow-reference, Info-menu)
11426 (Info-extract-menu-item, Info-extract-menu-counting)
11427 (Info-forward-node, Info-backward-node, Info-next-menu-item)
11428 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
11429 (Info-next-reference, Info-prev-reference, Info-index)
11430 (Info-index-next, Info-follow-nearest-node)
11431 (Info-copy-current-node-name):
11432 * imenu.el (imenu--make-index-alist)
11433 (imenu-default-create-index-function, imenu-add-to-menubar):
11434 * files.el (basic-save-buffer, recover-file):
11435 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
11436 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
11437 (checkdoc-message-text, checkdoc-defun):
11438 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
11439 * cus-edit.el (customize-changed-options, customize-rogue)
11440 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
11441 (custom-variable-mark-to-reset-standard)
11442 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
11443 (custom-file):
11444 * completion.el (check-completion-length):
11445 * comint.el (comint-search-arg)
11446 (comint-previous-matching-input-string-position)
11447 (comint-previous-matching-input)
11448 (comint-replace-by-expanded-history-before-point, comint-send-input)
11449 (comint-copy-old-input, comint-backward-matching-input)
11450 (comint-goto-process-mark, comint-set-process-mark):
11451 * calendar/calendar.el (calendar-cursor-to-date): Use it.
11452 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
11453
8a61ee22
SM
114542012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11455
66408d1e
SM
11456 * dabbrev.el (dabbrev--ignore-case-p): New function.
11457 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
11458 Use it.
11459
8a61ee22
SM
11460 * files.el (automount-dir-prefix): Mark as obsolete.
11461
3c74813a
GM
114622012-05-04 Glenn Morris <rgm@gnu.org>
11463
11464 * patcomp.el, play/bruce.el: Move to obsolete/.
11465
0bfcf5c5
PE
114662012-05-04 Paul Eggert <eggert@cs.ucla.edu>
11467
11468 Fix minor Y10k bugs.
11469 * arc-mode.el (archive-unixdate):
11470 * autoinsert.el (auto-insert-alist):
11471 * calc/calc-forms.el (math-this-year):
11472 * emacs-lisp/copyright.el (copyright-current-year)
11473 (copyright-update-year, copyright):
11474 * tar-mode.el (tar-clip-time-string):
11475 * time.el (display-time-update):
11476 Don't assume years have 4 digits.
11477
78f3273a
CY
114782012-05-04 Chong Yidong <cyd@gnu.org>
11479
11480 * dos-w32.el (file-name-buffer-file-type-alist)
11481 (direct-print-region-use-command-dot-com):
11482 * ffap.el (ffap-menu-regexp):
11483 * find-file.el (ff-special-constructs):
11484 * follow.el (follow-debug):
11485 * forms.el (forms--debug):
11486 * iswitchb.el (iswitchb-all-frames):
11487 * ido.el (ido-all-frames):
11488 * emacs-lisp/timer.el (timer-max-repeats):
11489 * mail/feedmail.el (feedmail-mail-send-hook)
11490 (feedmail-mail-send-hook-queued):
11491 * mail/footnote.el (footnote-signature-separator):
11492 * mail/mailabbrev.el (mail-alias-separator-string)
11493 (mail-abbrev-mode-regexp):
11494 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
11495 * progmodes/idlwave.el (idlwave-libinfo-file)
11496 (idlwave-default-completion-case-is-down)
11497 (idlwave-library-routines): Convert defvars to defcustoms.
11498
11499 * mail/rmail.el (rmail-decode-mime-charset):
11500 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
11501 (idlwave-shell-fix-inserted-breaks)
11502 (idlwave-shell-activate-alt-keybindings)
11503 (idlwave-shell-use-breakpoint-glyph):
11504 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
11505
f7ae6719
SM
115062012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11507
11508 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
11509
47086495
WS
115102012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
11511
11512 * progmodes/verilog-mode.el (font-lock-keywords):
11513 Fix mis-highligting auto. Reported by Craig Barner.
11514 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
fc0c31f8 11515 defines from global name space. Reported by Dan Dever.
47086495
WS
11516 (verilog-auto-reset, verilog-auto-reset-widths)
11517 (verilog-auto-tieoff): Support using unbased numbers for
11518 AUTORESET and AUTOTIEOFF.
11519 (verilog-submit-bug-report): Update variable list.
11520 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
fc0c31f8 11521 parenthesis from not matching. Reported by Michael Rytting.
47086495
WS
11522 (verilog-auto-template-lint): Fix hash error when linting modules
11523 with no used templates.
11524 (verilog-warn, verilog-warn-error)
11525 (verilog-warn-fatal): When non-interactive report multiple
11526 warnings before exiting. Suggested by Brad Dobbie.
11527 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
11528 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
11529 to report unused template errors. Reported by Brad Dobbie.
11530 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
fc0c31f8 11531 nets, bug438. Reported by Vns Blore.
47086495
WS
11532 (verilog-auto-inout-module, verilog-auto-reg)
11533 (verilog-read-decls, verilog-read-sub-decls-sig)
11534 (verilog-signals-edit-wire-reg, verilog-signals-with):
11535 Fix passing of Verilog data types in ANSI input/output ports
fc0c31f8 11536 such as "output logic" into the AUTOs. Special case "wire" and
47086495
WS
11537 "reg" for backwards compatibility presuming Verilog 2001.
11538 (verilog-auto-ascii-enum): Add "auto enum" as alias.
11539 (verilog-preprocess): Fix replication of preprocess output.
11540 Reported by Brad Dobbie.
11541 (verilog-auto-inst-interfaced-ports):
11542 Create verilog-auto-inst-interfaced-ports, bug429.
11543 Reported by Julian Gorfajn.
11544 (verilog-after-save-font-hook)
11545 (verilog-before-save-font-hook): New variable.
11546 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
11547 (verilog-save-font-mods): Wrap disabling fontification, reported
11548 by David Rogoff.
11549 (verilog-do-indent, verilog-pretty-declarations-auto)
11550 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
11551 Reported by Pierre-David Pfister.
11552 (verilog-set-auto-endcomments): Fix endtask auto comments outside
11553 of class declarations, bug292. Reported by Kevin Heilman.
11554 (verilog-read-decls): Fix 'parameter type' not appearing in
11555 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
11556 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
fc0c31f8 11557 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
47086495
WS
11558 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
11559 Reported by David Kravitz.
11560
115612012-05-03 Michael McNamara <mac@mail.brushroad.com>
11562
11563 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
11564 assignment with tests in ifs and for loops.
11565 (verilog-extended-complete-re, verilog-complete-reg): Change so
11566 that DPI inport functions don't look like fuction declarations.
11567 (verilog-pretty-expr): Don't line up assignment
11568 operations to the test and increment in if and for loops
11569 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 11570 that DPI inport functions don't look like fuction declarations.
47086495 11571
2e51d4b5
KH
115722012-05-03 Kenichi Handa <handa@m17n.org>
11573
11574 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 11575 decoding, and show a warning message without signaling an error
2e51d4b5
KH
11576 (Bug#11282).
11577
2bd785a2
SM
115782012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11579
11580 * emacs-lisp/bytecomp.el
11581 (byte-compile-file-form-custom-declare-variable): Compile all elements,
11582 since cconv.el might have introduced :fun-body, internal-make-closure,
11583 and friends for bytecomp to handle (bug#11391).
11584 * custom.el (defcustom): Avoid ((λ ..) ..).
11585
99d27583
SM
115862012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
11587
11588 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
11589
55a71479
JB
115902012-05-02 Juanma Barranquero <lekktu@gmail.com>
11591
11592 * notifications.el (dbus-debug):
11593 * term/linux.el (gpm-mouse-enable):
11594 * term/screen.el (xterm-register-default-colors): Declare.
11595
7b97c764
CY
115962012-05-02 Chong Yidong <cyd@gnu.org>
11597
2bc356d7
CY
11598 * cus-start.el (gc-cons-percentage, exec-suffixes)
11599 (dos-display-scancodes, dos-hyper-key, dos-super-key)
11600 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
11601 (make-cursor-line-fully-visible, void-text-area-pointer)
11602 (font-list-limit): Add customization data.
11603
7b97c764
CY
11604 * allout.el (allout-exposure-change-functions)
11605 (allout-structure-added-functions)
11606 (allout-structure-deleted-functions)
11607 (allout-structure-shifted-functions): Rename abnormal hooks from
11608 *-hook, and convert to defcustoms.
5d3385a0
JB
11609 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
11610 Convert to defcustoms.
7b97c764
CY
11611 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
11612
11613 * allout-widgets.el: Hook callers changed.
11614
90207a15 116152012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
11616
11617 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
11618 the yanked message in preference to the default value of
11619 buffer-file-coding-system.
11620
90207a15 116212012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 11622
5d3385a0
JB
11623 * window.el (display-buffer--action-function-custom-type):
11624 Fix entry.
d9558cad 11625
90207a15 116262012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
11627
11628 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
11629
d80ac57b
GM
116302012-05-01 Glenn Morris <rgm@gnu.org>
11631
976f7668
GM
11632 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
11633
beb83b5a
GM
11634 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
11635
d80ac57b
GM
11636 * cus-edit.el (custom-variable-documentation): Simplify with format.
11637
b593d6a9 116382012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 11639 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
11640
11641 * simple.el (suggest-key-bindings, execute-extended-command):
11642 Move from keyboard.c.
11643
782fbf2a
CY
116442012-05-01 Chong Yidong <cyd@gnu.org>
11645
11646 * follow.el: Eliminate advice.
11647 (set-process-filter, process-filter, sit-for): Advice deleted.
11648 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
11649 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
11650 Vars deleted.
782fbf2a
CY
11651 (follow-auto): Use a :set function.
11652 (follow-mode): Rewritten. Don't advise process filters.
11653 (follow-switch-to-current-buffer-all, follow-scroll-up)
11654 (follow-scroll-down): Assume follow-mode is bound.
11655 (follow-comint-scroll-to-bottom)
11656 (follow-align-compilation-windows): New functions.
11657 (follow--window-sorter): New function.
11658 (follow-all-followers): Use it to explicitly sort windows by their
11659 positions; don't make assumptions about next-window order.
11660 (follow-windows-start-end, follow-delete-other-windows-and-split)
11661 (follow-calc-win-start): Doc fix.
11662 (follow-windows-aligned-p, follow-select-if-visible): Don't call
11663 vertical-motion unnecessarily.
11664 (follow-adjust-window): New function.
11665 (follow-post-command-hook): Use it.
11666 (follow-call-set-process-filter, follow-call-process-filter)
11667 (follow-intercept-process-output, follow-tidy-process-filter-alist)
11668 (follow-stop-intercept-process-output, follow-generic-filter):
11669 Functions deleted.
11670 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
11671 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
11672 New functions, replacing advice on scroll-bar-* commands.
87233a14 11673 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
11674
11675 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
11676 (comint-postoutput-scroll-to-bottom): Use it.
11677 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 11678
290af740
GM
116792012-05-01 Glenn Morris <rgm@gnu.org>
11680
11681 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
11682 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
11683 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
11684 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
11685 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
11686 Remove no-byte-compile setting.
11687
6eac8dc9
SM
116882012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
11689
11690 * minibuffer.el (completion-table-with-quoting): Fix compatibility
11691 all-completions code to not return a number in the last cdr.
11692
9cc7819c
LL
116932012-04-30 Leo Liu <sdl.web@gmail.com>
11694
11695 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
11696 read-only error.
11697
c93b886f
CY
116982012-04-29 Chong Yidong <cyd@gnu.org>
11699
11700 * follow.el (follow-calc-win-end): Rewrite to handle partial
11701 screen lines correctly (Bug#8390).
11702 (follow-avoid-tail-recenter): Minor cleanup.
11703
8b6c19f4
SM
117042012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11705
11706 Avoid the obsolete `assoc' package.
11707 * speedbar.el (speedbar-refresh): Avoid adelete.
11708 (speedbar-file-lists): Simplify and avoid aput.
11709 * man.el (Man--sections, Man--refpages): New vars, replacing
11710 Man-sections-alist and Man-refpages-alist.
11711 (Man-build-section-alist, Man-build-references-alist):
11712 Use them; avoid aput.
11713 (Man--last-section, Man--last-refpage): New vars.
11714 (Man-follow-manual-reference): Use them.
11715 Use the `default' arg of completing-read.
11716 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
11717
c5bb7569
CY
117182012-04-27 Chong Yidong <cyd@gnu.org>
11719
d1d2e2e8
CY
11720 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
11721
15cd8efd
CY
11722 * startup.el (x-apply-session-resources): New function.
11723
11724 * term/ns-win.el (ns-initialize-window-system):
11725 * term/w32-win.el (w32-initialize-window-system):
11726 * term/x-win.el (x-initialize-window-system): Use it to properly
11727 set menu-bar-mode and other vars from X resources, even if the
11728 initial frame is not a window-system frame (Bug#2299).
11729
c5bb7569
CY
11730 * subr.el (read-key): Avoid running filter function when setting
11731 up temporary tool bar entries (Bug#9922).
11732
a8e7d6d7 117332012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
11734
11735 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
11736 (Bug#11344)
11737
a8e7d6d7 117382012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
11739
11740 * select.el (xselect--encode-string): New function, split from
11741 xselect-convert-to-string.
11742 (xselect-convert-to-string): Use it.
11743 (xselect-convert-to-filename, xselect-convert-to-os)
11744 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
11745 returned strings are properly encoded (Bug#11315).
11746
a8e7d6d7 117472012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
11748
11749 * simple.el (delete-active-region): Move to killing custom group.
11750
a8e7d6d7 117512012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
11752
11753 * progmodes/which-func.el (which-func-current): Quote %
11754 characters for mode-line processing.
11755
578c1d4b 117562012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
11757
11758 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
11759 reaching eob (Bug#11286).
11760
a8e7d6d7 117612012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
11762
11763 * progmodes/gdb-mi.el (gdb-control-level): New variable.
11764 (gdb): Make it buffer-local and init to zero.
11765 (gdb-control-commands-regexp): New variable.
11766 (gdb-send): Don't wrap in "-interpreter-exec console" if
11767 gdb-control-level is positive. Increment gdb-control-level
11768 whenever the command matches gdb-control-commands-regexp, and
11769 decrement it each time the command is "end". (Bug#11279)
11770
a8e7d6d7 117712012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
11772
11773 * window.el (adjust-window-trailing-edge, enlarge-window)
11774 (shrink-window, window-resize):
11775 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
11776 windows (Bug#11276).
11777
b3608390
CY
117782012-04-27 Chong Yidong <cyd@gnu.org>
11779
11780 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 11781 fix "missing prefix" warning. All callers changed.
b3608390 11782
797e6e88
SM
117832012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11784
11785 * emacs-lisp/assoc.el: Move to obsolete/.
11786
e95a67dc
SM
117872012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11788
657c21e4 11789 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
11790
11791 * term/ns-win.el (ns-define-service):
11792 * progmodes/pascal.el (pascal-goto-defun):
11793 * progmodes/js.el (js--read-tab):
11794 * progmodes/etags.el (tags-lazy-completion-table):
11795 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
11796 * emacs-lisp/ewoc.el (ewoc--wrap):
11797 * emacs-lisp/assoc.el (aput, adelete, amake):
11798 * doc-view.el (doc-view-convert-current-doc):
11799 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
11800
cb3e7ae0
CY
118012012-04-26 Chong Yidong <cyd@gnu.org>
11802
dce04f7f
CY
11803 * image.el (image-type-from-buffer): Only return supported image
11804 type (Bug#9045).
11805
cb3e7ae0
CY
11806 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
11807 value, for symmetry with diff-end-of-hunk.
11808 (diff-split-hunk, diff-find-source-location)
11809 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
11810 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
11811 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
11812 compute the relevant hunk or file properly (Bug#6005).
11813 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
11814
0d42eb3e
SM
118152012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11816
11817 * vc/vc-mtn.el:
11818 * vc/vc-hg.el:
11819 * vc/vc-git.el:
11820 * vc/vc-dir.el:
11821 * vc/vc-cvs.el:
11822 * vc/vc-bzr.el:
11823 * vc/vc-arch.el:
11824 * vc/vc.el: Replace lexical-let by lexical-binding.
11825 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
11826 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
11827 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
11828
f08ae1c9
CY
118292012-04-26 Chong Yidong <cyd@gnu.org>
11830
8b71081d
CY
11831 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
11832 (diff-mode-shared-map): Bind it to / and [remap undo].
11833
f08ae1c9
CY
11834 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
11835 (ediff-window-setup-function): Use it as the default, to set up
11836 windows based on whether the current frame is graphical (Bug#2138).
11837 (ediff-choose-window-setup-function-automatically): Make obsolete.
11838
11839 * vc/ediff-init.el: Always define ediff-pixel-width/height.
11840
ef24141c
SM
118412012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11842
cc356a5d
SM
11843 * ffap.el: Remove old code for obsolete package.
11844 (ffap-complete-as-file-p): Remove.
11845
b4ff4f1f
SM
11846 Use completion-table-with-quoting for comint and pcomplete.
11847 * comint.el (comint--unquote&requote-argument)
11848 (comint--unquote-argument, comint--requote-argument): New functions.
11849 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
11850 (comint-quote-filename): Use regexp-opt-charset.
11851 (comint--common-suffix, comint--common-quoted-suffix)
11852 (comint--table-subvert): Remove.
11853 (comint-unquote-function, comint-requote-function): New vars.
11854 (comint--complete-file-name-data): Use them with
11855 completion-table-with-quoting.
11856 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
11857 * pcomplete.el (pcomplete-arg-quote-list)
11858 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
11859 (pcomplete-unquote-argument-function): Default to non-nil.
11860 (pcomplete-unquote-argument): Simplify.
11861 (pcomplete--common-quoted-suffix): Remove.
11862 (pcomplete-requote-argument-function): New var.
11863 (pcomplete--common-suffix): New function.
11864 (pcomplete-completions-at-point): Use completion-table-with-quoting
11865 and completion-table-subvert.
11866
79c4eeb4
SM
11867 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
11868 (minibuffer--double-dollars): Preserve properties.
11869 (completion--sifn-requote): New function.
11870 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
11871
ef24141c
SM
11872 * minibuffer.el: Add support for completion of quoted/escaped data.
11873 (completion-table-with-quoting, completion-table-subvert): New funs.
11874 (completion--twq-try, completion--twq-all): New functions.
11875 (completion--nth-completion): New function.
11876 (completion-try-completion, completion-all-completions): Use it.
11877
784e7d6e
LL
118782012-04-25 Leo Liu <sdl.web@gmail.com>
11879
dd2ac746
SM
11880 * progmodes/python.el (python-pdbtrack-get-source-buffer):
11881 Use compilation-message if available to find real filename.
784e7d6e 11882
07875ee7
CY
118832012-04-25 Chong Yidong <cyd@gnu.org>
11884
11885 * vc/diff-mode.el (diff-setup-whitespace): New function.
11886 (diff-mode): Use it.
11887
11888 * vc/diff.el (diff-sentinel):
11889 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
11890 Whitespace mode variables based on diff style (Bug#8612).
11891
5055880d
LL
118922012-04-25 Leo Liu <sdl.web@gmail.com>
11893
daf75653
LL
11894 * progmodes/python.el (python-send-region): Add suffix .py to the
11895 temp file.
11896
5055880d
LL
11897 * files.el (auto-mode-alist): Use javascript-mode instead.
11898
db9b177b
AH
118992012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
11900
ef24141c 11901 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 11902
090bd7cb 11903 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 11904 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 11905 references, see Bug#9.
ef24141c 11906 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 11907 when receiving a fault reply.
ef24141c 11908 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 11909
090bd7cb 11910 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 11911 (soap-inspect-simple-type): New function.
db9b177b 11912
090bd7cb 11913 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 11914 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
11915 (soap-decode-basic-type, soap-encode-basic-type):
11916 support unsignedInt and double basic types.
db9b177b 11917 (soap-resolve-references-for-simple-type)
ef24141c
SM
11918 (soap-parse-simple-type, soap-encode-simple-type): New function.
11919 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 11920
090bd7cb 11921 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
11922 (soap-default-soapenc-types): Add integer, byte and anyURI types.
11923 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
11924 the local name of "soapenc:Array".
11925 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
11926 decoding integer, byte and anyURI xsd types.
11927
1fc6097b
CY
119282012-04-25 Chong Yidong <cyd@gnu.org>
11929
11930 * cus-edit.el (custom-buffer-create-internal): Update header text.
11931
afc6df87
EZ
119322012-04-25 Eli Zaretskii <eliz@gnu.org>
11933
11934 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
11935 settings on 'system-type', not on 'window-system'. On MS-Windows,
11936 set interactive-mode on in GDB.
11937
dfbd787f
SM
119382012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11939
11940 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
11941 (ruby-syntax-propertize-regexp): Remove.
11942 (ruby-syntax-propertize-function): Split regexp into chunks.
11943 Match following code directly.
11944
85222d44
DG
119452012-04-24 Dmitry Gutov <dgutov@yandex.ru>
11946
51a8ea2a
DG
11947 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
11948 (ruby-syntax-propertize-regexp): New function.
11949 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
11950 by a special keyword.
11951
85222d44
DG
11952 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
11953 (ruby-syntax-general-delimiters-goto-beg)
11954 (ruby-syntax-propertize-general-delimiters): New functions.
11955 (ruby-syntax-propertize-function): Use them to handle GDL.
11956 (ruby-font-lock-keywords): Move old handling of GDL...
11957 (ruby-font-lock-syntactic-keywords): .. to here.
11958 (ruby-calculate-indent): Adjust indentation for GDL.
11959
b613912b
MA
119602012-04-24 Michael Albinus <michael.albinus@gmx.de>
11961
b5380639
MA
11962 * notifications.el (top): Remove unneeded declarations.
11963 (notifications-specification-version): Change to "1.2".
e43042fe 11964 (notifications-interface, notifications-notify-method)
b613912b
MA
11965 (notifications-close-notification-method): Fix docstring.
11966 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
11967 (notifications-notify): Add :action-items, :resident and
11968 :transient hints. Change "image_data" to "image-data" and
11969 "image_path" to "image-path".
b613912b
MA
11970 (notifications-get-capabilities): New defun.
11971
257440aa
LL
119722012-04-24 Leo Liu <sdl.web@gmail.com>
11973
11974 * progmodes/python.el: Move hideshow setup to the end.
11975
b1bac16e
MR
119762012-04-24 Martin Rudalics <rudalics@gmx.at>
11977
11978 * window.el (handle-select-window): Clear echo area since this is
11979 no more done by read_char (Bug#11304).
11980
d81bd059
SM
119812012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11982
11983 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
11984 and `/ M' to filter-derived-mode.
11985 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
11986 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
11987 (ibuffer-mark-by-mode): Use default rather than initial-input.
11988 (ibuffer-filter-by-derived-mode): Autoload and require-match.
11989
c4cf6d91
IA
119902012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
11991
11992 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
11993 (ibuffer-filter-by-derived-mode): New filter.
11994 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
11995
7511ded8
CY
119962012-04-23 Andreas Politz <politza@fh-trier.de>
11997
11998 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
11999
775c916b
CY
120002012-04-23 Chong Yidong <cyd@gnu.org>
12001
12002 * cus-edit.el (customize-apropos, customize-apropos-options):
12003 Disable matching of non-option variables (Bug#11176).
12004 (customize-option, customize-option-other-window)
12005 (customize-changed-options): Doc fix.
12006 (customize-apropos-options, customize-apropos-faces)
12007 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
12008
12009 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 12010 Fix word list splitting (Bug#11132).
46c71e23
CY
12011 (apropos-symbol, apropos-keybinding, apropos-label)
12012 (apropos-property, apropos-function-button)
12013 (apropos-variable-button, apropos-misc-button): New faces.
12014 (apropos-symbol-face, apropos-keybinding-face)
12015 (apropos-label-face, apropos-property-face, apropos-match-face):
12016 Variables removed (Bug#8396).
12017 (apropos-library-button, apropos-format-plist, apropos-print)
12018 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 12019
2df41f9c
MA
120202012-04-23 Michael Albinus <michael.albinus@gmx.de>
12021
12022 * net/xesam.el (xesam-mode-map): Use let-bound map in
12023 initialization. (Bug#11292)
12024
da00640a
AM
120252012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12026
12027 Preserve ispell session localwords when switching back to
12028 original buffer.
12029
090bd7cb
JB
12030 * textmodes/ispell.el (ispell-buffer-session-localwords):
12031 New buffer-local variable to hold buffer session localwords.
ed9265fc 12032 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
12033 localwords.
12034 (ispell-command-loop, ispell-change-dictionary)
12035 (ispell-buffer-local-words): Preserve session localwords when
12036 needed.
12037
090bd7cb
JB
12038 * textmodes/flyspell.el (flyspell-process-localwords)
12039 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 12040
f621ccf5
AM
120412012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12042
090bd7cb
JB
12043 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
12044 using obsolete `translation-table-for-input'.
ef24141c
SM
12045 (ispell-word, ispell-process-line, ispell-complete-word):
12046 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 12047
c2d1019e
CY
120482012-04-22 Chong Yidong <cyd@gnu.org>
12049
12050 * cus-edit.el (custom-variable-menu)
12051 (custom-variable-reset-saved, custom-face-menu)
12052 (custom-face-reset-saved): If there is no saved value, make the
12053 "reset-saved" operation bring back the default (Bug#9509).
12054 (custom-face-state): Properly detect themed faces.
12055
eeddc531
CY
12056 * faces.el (face-spec-set): Stop supporting deprecated form of
12057 third arg.
12058
dcbf5805
MA
120592012-04-22 Michael Albinus <michael.albinus@gmx.de>
12060
12061 Move functions from C to Lisp. Make non-blocking method calls
12062 the default. Implement further D-Bus standard interfaces.
12063
ef24141c
SM
12064 * net/dbus.el (dbus-message-internal): Declare function.
12065 Remove unneeded function declarations.
dcbf5805
MA
12066 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
12067 (dbus-message-type-method-return, dbus-message-type-error)
12068 (dbus-message-type-signal): Declare variables. Remove local
12069 definitions.
12070 (dbus-interface-dbus, dbus-interface-peer)
12071 (dbus-interface-introspectable, dbus-interface-properties)
12072 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
12073 Adapt docstring.
12074 (dbus-interface-objectmanager): New defconst.
12075 (dbus-call-method, dbus-call-method-asynchronously)
12076 (dbus-send-signal, dbus-method-return-internal)
12077 (dbus-method-error-internal, dbus-register-service)
12078 (dbus-register-signal, dbus-register-method): New defuns, moved
12079 from dbusbind.c
12080 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
12081 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
12082 New defuns.
dcbf5805
MA
12083 (dbus-call-method-non-blocking): Make it an obsolete function.
12084 (dbus-unregister-object, dbus-unregister-service)
12085 (dbus-handle-event, dbus-register-property)
12086 (dbus-property-handler): Obey the new structure of
12087 `bus-registered-objects'.
12088 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
12089 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
12090 Use `dbus-call-method'.
12091
cf20dee0
CY
120922012-04-22 Chong Yidong <cyd@gnu.org>
12093
12094 * cus-edit.el (custom-commands, custom-reset-menu)
12095 (Custom-reset-standard): Tweak labels.
12096 (custom-reset-button-menu): Change default to t.
12097 (custom-buffer-create-internal): For the custom-reset-button-menu
12098 case, put the revert button first.
12099 (custom-group-subtitle): New face.
12100 (custom-group-value-create): Align docstring to a specific column.
12101
12102 * wid-edit.el (widget-documentation-link-add): Don't handle
12103 indentation in this function.
12104 (widget-documentation-string-indent-to): New function.
12105 (widget-documentation-string-value-create): Use it.
12106
12107 * autorevert.el (auto-revert):
12108 * epg-config.el (epg):
12109 * ibuffer.el (ibuffer):
12110 * mpc.el (mpc):
12111 * ses.el (ses):
12112 * eshell/eshell.el (eshell):
12113 * net/ange-ftp.el (ange-ftp):
12114 * progmodes/ebnf2ps.el (postscript):
12115 * progmodes/flymake.el (flymake):
12116 * progmodes/prolog.el (prolog):
12117 * progmodes/verilog-mode.el (verilog-mode):
12118 * progmodes/which-func.el (which-func):
12119 * term/xterm.el (xterm):
12120 * textmodes/picture.el (picture):
12121 * textmodes/tildify.el (tildify):
12122 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
12123 customization buffers.
12124
583e23bd
AM
121252012-04-22 Alan Mackenzie <acm@muc.de>
12126
12127 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
12128 Adding a ) can hide the resulting (..) from searches. Fix it.
12129 Bound the backward search to the position of the existing (.
12130
7dd51bf1
JB
121312012-04-21 Juanma Barranquero <lekktu@gmail.com>
12132
12133 * progmodes/verilog-mode.el (verilog-mode): Check whether
12134 which-func-modes is t before adding verilog-mode.
12135 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
12136
d64a438f
LL
121372012-04-21 Leo Liu <sdl.web@gmail.com>
12138
7dd51bf1 12139 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 12140
081e8d65
MV
121412012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
12142
12143 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
12144 filling of the last column of a table (Bug#5635).
12145 (woman-find-next-control-line): New arg, specifying an additional
12146 regexp component for the control line.
12147 (woman2-roff-buffer): Use it.
12148 (woman-break-table): New function.
12149 (woman2-TS): Use it.
12150
121512012-04-21 Chong Yidong <cyd@gnu.org>
12152
12153 * woman.el (woman-set-buffer-display-table, woman-decode-region)
12154 (woman-horizontal-escapes, woman-negative-vertical-space)
12155 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
12156 (WoMan-warn-ignored): Use ?\s instead of ?\ .
12157
ed571ccb
SM
121582012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12159
12160 * minibuffer.el (completion-file-name-table): Complete user names.
12161
39773899
LL
121622012-04-20 Leo Liu <sdl.web@gmail.com>
12163
12164 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
12165 and pcase-let*.
12166
de6ff46d
CY
121672012-04-20 Chong Yidong <cyd@gnu.org>
12168
12169 * server.el (server-execute): Respect initial-buffer-choice if it
12170 is a string and there are no files to open (Bug#2825).
12171 (server-create-window-system-frame, server-create-tty-frame):
12172 Don't switch buffers here.
2d0e8e61
CY
12173 (server-process-filter): Only try to open a window system frame if
12174 compiled with graphical support (Bug#8314).
de6ff46d 12175
54071013
DN
121762012-04-20 Dan Nicolaescu <dann@gnu.org>
12177
12178 * battery.el (battery-echo-area-format): Display remaining time
12179 for sysfs backend too (Bug#11269).
12180 (battery-linux-sysfs): Fix conditional for the charge.
12181
f30d612a
CY
121822012-04-20 Chong Yidong <cyd@gnu.org>
12183
c07a4c0b 12184 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
12185 (gdb-inferior-io--init-proc): New function.
12186 (gdb-init-1): Use it.
12187 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
12188 responsible for allocating a new pty and hooking it to gdb when
12189 the old pty gets an EIO due to process exit.
12190 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
12191 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
12192 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
12193
2116e93c
EZ
121942012-04-20 Eli Zaretskii <eliz@gnu.org>
12195
12196 * window.el (window-min-size, window-sizable, window-min-delta)
12197 (window-max-delta, window--resizable, window-resizable)
12198 (window-total-size, window-full-height-p, window-full-width-p)
12199 (window-in-direction, window--resize-mini-window, window-resize)
12200 (window--resize-child-windows-normal)
12201 (window--resize-child-windows, window--resize-siblings)
12202 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 12203 (enlarge-window, shrink-window): Doc fixes.
2116e93c 12204
c07a4c0b 122052012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 12206
ef24141c
SM
12207 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
12208 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
12209 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
12210 pty process (Bug#11273).
12211 (gdb-update): New arg to suppress talking to the gdb process.
12212 (gdb-done-or-error): Use it.
12213 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
12214 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
12215 sentinel not being called.
12216
12217 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
12218
d02766ab
CY
12219 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
12220
c07a4c0b 122212012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
12222
12223 * net/network-stream.el (open-network-stream): Doc fix.
12224
c07a4c0b 122252012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
12226
12227 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
12228
c07a4c0b 122292012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
12230
12231 Ensure searching for keywords is case sensitive.
12232
12233 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
12234 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
12235 (c-defun-name, c-mark-function, c-cpp-define-name)
12236 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 12237 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 12238
ef24141c
SM
12239 * progmodes/cc-mode.el (c-font-lock-fontify-region):
12240 Bind case-fold-search to nil.
f0f6bc35 12241
c07a4c0b 122422012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
12243
12244 * mail/sendmail.el (mail-bury): Call return action with the right
12245 Rmail buffer (Bug#11242).
12246
9a864fa2
CY
12247 * server.el (server-process-filter): Handle corner case where both
12248 tty and nowait options are present (Bug#11102).
12249
539aa513
EZ
122502012-04-20 Eli Zaretskii <eliz@gnu.org>
12251
12252 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
12253 (top level): Put into the executable the ident-style '$Id:' tag on
12254 windows-nt as well.
539aa513 12255
cfc7d5da
SM
122562012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12257
12258 * electric.el (electric-indent-post-self-insert-function): Check that
12259 electric-indent-mode is enabled in current buffer.
12260
5b01685c
JB
122612012-04-19 Juanma Barranquero <lekktu@gmail.com>
12262
12263 * imenu.el (imenu-progress-message): Restore; it is "used" in
12264 erc/erc-imenu.el and net/snmp-mode.el.
12265
4d6769e1
JB
122662012-04-19 Juanma Barranquero <lekktu@gmail.com>
12267
12268 * avoid.el (mouse-avoidance-mode): Mark unused arg.
12269 (mouse-avoidance-nudge-mouse): Remove unused binding.
12270
12271 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
12272
12273 * descr-text.el (describe-char):
12274 * progmodes/python.el (python-describe-symbol):
12275 Don't call `toggle-read-only', set `buffer-read-only'.
12276
12277 * imenu.el (imenu-default-goto-function): Mark unused args.
12278 (imenu-progress-message): Remove obsolete macro; all callers changed.
12279
12280 * subr.el (keymap-canonicalize): Remove unused binding.
12281 (read-passwd): Mark unused arg.
12282
12283 * tutorial.el (tutorial--display-changes): Remove unused binding.
12284 (tutorial--save-tutorial-to): Remove unused variable.
12285
12286 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
12287 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
12288 (package-generate-autoloads, package-menu--generate)
12289 (package-menu--find-upgrades): Remove unused bindings.
12290
12291 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
12292 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
12293 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
12294 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
12295 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
12296 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
12297 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
12298 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
12299 (cua-delete-char-rectangle): Mark unused args.
12300 (cua-align-rectangle): Remove unused binding.
12301
12302 * mail/rmail.el (compilation--message->loc)
12303 (epa--find-coding-system-for-mime-charset): Declare.
12304
12305 * net/dbus.el (dbus-register-service): Declare.
12306 (dbus-name-owner-changed-handler): Remove unused binding.
12307
12308 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
12309 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
12310 (nxml-scan-backward-within): Mark unused arg.
12311 (nxml-dynamic-markup-word): Remove unused binding.
12312
12313 * mouse.el (mouse-menu-major-mode-map):
12314 * emacs-lisp/authors.el (authors-scan-change-log)
12315 (authors-add-to-author-list):
12316 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
12317 * emacs-lisp/smie.el (smie-auto-fill):
12318 * mail/sendmail.el (mail-bury):
12319 * mail/unrmail.el (unrmail):
12320 * net/tls.el (open-tls-stream):
12321 * textmodes/picture.el (picture-mouse-set-point):
12322 Remove unused bindings.
12323
8c8fc5df
MA
123242012-04-19 Michael Albinus <michael.albinus@gmx.de>
12325
12326 * net/tramp.el (tramp-action-password): Let-bind
12327 `enable-recursive-minibuffers' to t.
12328
a77b0ac9
SS
123292012-04-18 Sam Steingold <sds@gnu.org>
12330
12331 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
12332 instead of 'string to accommodate values like [f11].
12333 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
12334 * progmodes/gdb-mi.el: Likewise.
12335
12a106a9
LL
123362012-04-18 Leo Liu <sdl.web@gmail.com>
12337
12338 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
12339 current buffer.
12340 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
12341 LOCAL is nil.
12342
bc6494ef
CY
123432012-04-18 Chong Yidong <cyd@gnu.org>
12344
12345 * simple.el (line-move): Use forward-line if in batch mode
12346 (Bug#11053).
12347
c09c46b2
CS
123482012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
12349
12350 * files.el (after-find-file): Do not try to add a final newline if
12351 the buffer is read-only (Bug#11156).
12352
5f6530ea
RS
123532012-04-17 Richard Stallman <rms@gnu.org>
12354
12355 * mail/rmail.el (rmail-start-mail):
12356 Pass (rmail-mail-return...) for the return-action.
12357 Pass (rmail-yank-current-message...) for the yank-action.
12358 (rmail-yank-current-message): New function.
12359 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
12360 (rmail-reply): Likewise.
12361 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
12362
12363 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 12364 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
12365 buffer, not newbuf.
12366
197b6f3c
JB
123672012-04-17 Juanma Barranquero <lekktu@gmail.com>
12368
12369 * server.el (server-ensure-safe-dir): Simplify.
12370
2311d8e5 123712012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 12372
2311d8e5
GM
12373 * emacs-lisp/smie.el: Provide smarter auto-filling.
12374 (smie-auto-fill): New function.
12375 (smie-setup): Use it.
98fb480e 12376
2311d8e5
GM
12377 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
12378
123792012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
12380
12381 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
12382 (comment-indent): Use it.
12383
2311d8e5 123842012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
12385
12386 * ses.el: The overall change is to add cell renaming, that is
12387 setting fancy names for cell symbols other than name matching
12388 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 12389 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 12390 (ses-create-cell-variable): New defun.
2311d8e5 12391 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
12392 (ses-relocate-formula): Relocate formulas only for cells the
12393 symbols of which are not renamed, i.e. symbols whose names do not
12394 match regexp "\\`[A-Z]+[0-9]+\\'".
12395 (ses-relocate-all): Relocate values only for cells the symbols of
12396 which are not renamed.
12397 (ses-load): Create cells variables as the (ses-cell ...) are read,
12398 in order to check row col consistency with cell symbol name only
12399 for cells that are not renamed.
12400 (ses-replace-name-in-formula): New defun.
12401 (ses-rename-cell): New defun.
4bdf2ad2 12402
fc72b15c
PO
124032012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
12404
12405 * progmodes/perl-mode.el (perl-indent-parens-as-block):
12406 New option (bug#11118).
12407 (perl-calculate-indent): Respect it.
12408
12e10e61
GM
124092012-04-17 Glenn Morris <rgm@gnu.org>
12410
12411 * dired-aux.el (dired-mark-read-string): Doc fix.
12412
30009afd
DA
124132012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
12414
12415 * dired-aux.el (dired-mark-read-string): Offer optional completion.
12416 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
12417
41f03f4d
GM
124182012-04-17 Glenn Morris <rgm@gnu.org>
12419
12420 * mouse.el (mouse-drag-track):
12421 * speedbar.el (speedbar-frame-mode):
12422 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
12423
f45f90f3
LL
124242012-04-16 Leo Liu <sdl.web@gmail.com>
12425
12426 * progmodes/python.el: Trivial cleanup.
12427
94ee8db5
GM
124282012-04-16 Glenn Morris <rgm@gnu.org>
12429
121b8917
GM
12430 * vc/vc.el (vc-string-prefix-p):
12431 * vc/pcvs-util.el (cvs-string-prefix-p):
12432 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
12433 * mpc.el (mpc-string-prefix-p):
12434 Make all of these into obsolete aliases for string-prefix-p.
12435 Update callers.
12436 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
12437
1197ecfa
GM
12438 * textmodes/two-column.el: Move custom options to the start.
12439 (frame-width): Remove compat definition.
12440 (2C-associate-buffer, 2C-dissociate):
12441 Use with-current-buffer rather than save-excursion.
12442 (2C-dissociate): Force a mode-line update.
12443 (2C-autoscroll): Use ignore-errors.
12444
099e7202
GM
12445 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
12446 Autoload trivia.
12447
bf350d6a
GM
12448 * emacs-lisp/cl-extra.el (*random-state*):
12449 Remove unnecessary declaration.
12450
0e829eab
GM
12451 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
12452
e3ad7552
GM
12453 * play/cookie1.el (cookie-snarf):
12454 Give an explicit error if input file cannot be read.
12455
68892d27
GM
12456 * play/yow.el (yow-file): Use expand-file-name rather than concat.
12457
20f0c46d
GM
12458 * progmodes/perl-mode.el (c-macro-expand):
12459 Remove unnecessary autoload (it is in loaddefs.el).
12460
5a0978ce
GM
12461 * textmodes/picture.el (picture-desired-column)
12462 (picture-update-desired-column): Convert comments to doc-strings.
12463 (picture-substitute): Remove function.
12464 (picture-mode-map): Initialize in the defvar.
12465
6b955486
GM
12466 * woman.el: Remove eval-after-load for tar-mode.
12467 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
12468 (woman-tar-extract-file): Autoload it.
12469
94ee8db5
GM
12470 * frame.el (automatic-hscrolling): Make this alias obsolete.
12471
177eca34
AM
124722012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12473
090bd7cb 12474 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 12475 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
12476 (ispell-dictionary-base-alist): Revert to original XEmacs
12477 friendly version for default. [:alpha:] will be added in
090bd7cb 12478 `ispell-set-spellchecker-params' if needed.
177eca34 12479
c505aaeb
CY
124802012-04-16 Chong Yidong <cyd@gnu.org>
12481
b19dd9d1 12482 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
12483 (imagemagick-register-types): Use it.
12484 (imagemagick-types-inhibit): Add :set function. Allow new value
12485 of t to inhibit all types.
12486
12487 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
12488 so we can preload it.
12489
12490 * loadup.el (fboundp): Preload regexp-opt, needed by
12491 imagemagick-register-types.
12492
60efac0f
CY
124932012-04-15 Chong Yidong <cyd@gnu.org>
12494
12495 * frame.el (scrolling): Remove nearly unused customization group.
12496
12497 * scroll-all.el (scroll-all-mode): Move to windows group.
12498
5dd1713e
CY
124992012-04-15 Chong Yidong <cyd@gnu.org>
12500
12501 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
12502
e6fd457e
CY
125032012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12504
12505 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 12506 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 12507
e153c136
GM
125082012-04-15 Glenn Morris <rgm@gnu.org>
12509
12510 * simple.el (process-file-side-effects): Doc fix.
12511
e6fd457e 125122012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
12513
12514 * international/mule-cmds.el (set-language-environment): Doc fix.
12515
3603c3b1
JB
125162012-04-14 Juanma Barranquero <lekktu@gmail.com>
12517
12518 * server.el (server-auth-key, server-generate-key): Doc fixes.
12519 (server-get-auth-key): Doc fix. Use `string-match-p'.
12520 (server-start): Reflow docstring.
12521
e6de100c
LI
125222012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
12523
12524 * server.el (server-generate-key): `called-interactively-p'
12525 requires a parameter.
12526
29734c21
MN
125272012-04-14 Michal Nazarewicz <mina86@mina86.com>
12528
12529 * server.el (server-auth-key): New variable.
75f1671a 12530 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
12531 (server-start): Use the new variable and functions to allow
12532 setting a permanent server key (bug#9423).
12533
d65c9521
LL
125342012-04-14 Leo Liu <sdl.web@gmail.com>
12535
12536 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
12537
5ae255c7
PE
125382012-04-14 Paul Eggert <eggert@cs.ucla.edu>
12539
12540 Spelling fixes.
12541 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
12542 Emacs uses American spelling.
12543
d5e6342e
JB
125442012-04-14 Juanma Barranquero <lekktu@gmail.com>
12545
12546 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
12547 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
12548 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
12549 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
12550
ab036cd7
SM
125512012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12552
12553 * progmodes/which-func.el (which-func-modes): Change default.
12554
35dc09a1 125552012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
12556
12557 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
12558 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
12559
35dc09a1 125602012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
12561
12562 * custom.el (custom-theme-set-variables): Doc fix.
12563
35dc09a1 125642012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
12565
12566 * international/mule.el (set-auto-coding-for-load): Doc fix.
12567
35dc09a1 125682012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 12569
35dc09a1
GM
12570 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
12571 imenu work again for Objective C Mode. Correct the *-index values,
12572 these having been disturbed by a previous change in 2011-08.
57f845ee 12573
0de3da9f
AM
12574 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
12575 Correct two search limits.
12576
35dc09a1 125772012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
12578
12579 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
12580
35dc09a1 125812012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
12582
12583 * international/characters.el: Fix sorting.
12584
35dc09a1 125852012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
12586
12587 * international/characters.el: Add more missing Latin case pairs.
12588
35dc09a1 125892012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
12590
12591 * files.el (dir-locals-set-class-variables): Doc fix.
12592
35dc09a1 125932012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 12594
3f1b5bf8
EZ
12595 * international/characters.el: Add set-case-syntax-pair call for
12596 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
12597 counterpart. (Bug#11209)
12598
9f847f41
EZ
12599 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
12600
35dc09a1 126012012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
12602
12603 * calendar/holidays.el (calendar-check-holidays): Doc fix.
12604
35dc09a1 126052012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 12606
35dc09a1
GM
12607 * textmodes/ispell.el (ispell-dictionary-base-alist):
12608 Add data for Hebrew.
e2627d21 12609
35dc09a1 126102012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 12611
35dc09a1
GM
12612 * net/rcirc.el (rcirc-cmd-quit):
12613 Revert 2012-03-18 change (Bug#11192).
5c14e333 12614
35dc09a1 126152012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
12616
12617 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
12618
35dc09a1 126192012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 12620
4517fe3a
SM
12621 * minibuffer.el (completion-in-region-mode-map):
12622 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 12623
b472a594
VD
126242012-04-13 Vivek Dasmohapatra <vivek@etla.org>
12625
12626 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
12627
09b95ce3
MY
126282012-04-13 Masatake YAMATO <yamato@redhat.com>
12629
12630 * minibuffer.el (minibuffer-local-filename-syntax): New variable
12631 to allow `C-M-f' and `C-M-b' to move to the nearest path
12632 separator (bug#9511).
12633
4b63a9ca
LI
126342012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
12635
12636 * avoid.el: Require cl when compiling. And also move the
12637 `provide' to the end.
12638
7b55b8bf
TV
126392012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12640
12641 * avoid.el (mouse-avoidance-banish-position): New variable.
12642 (mouse-avoidance-banish-destination): Use it (bug#10165).
12643
adedaa1f
LL
126442012-04-13 Leo Liu <sdl.web@gmail.com>
12645
12646 * progmodes/which-func.el (which-func-modes): Add objc-mode.
12647
70e74021
KB
126482012-04-13 Ken Brown <kbrown@cornell.edu>
12649
12650 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 12651 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
12652 (browse-url-filename-alist): For the same reason, don't modify
12653 file:// URLs on Cygwin.
12654
e75e89ba
SM
126552012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
12656
12657 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
12658 the region on shift if the binding is already shifted (bug#11221).
12659
82f289a4
GM
126602012-04-12 Glenn Morris <rgm@gnu.org>
12661
12662 * mail/mailpost.el: Move to obsolete/.
12663
d333dc4c
DA
126642012-04-12 Drew Adams <drew.adams@oracle.com>
12665
12666 * imenu.el (imenu--generic-function): Ignore invisible definitions
12667 (bug#10123).
12668
0d15b5ba
VD
126692012-04-12 Vivek Dasmohapatra <vivek@etla.org>
12670
12671 * hexl.el (hexl-bits): New variable.
12672 (hexl-options): Mention the variable in the doc string.
75f1671a 12673 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 12674 (hexl-mode): Mention the new variable.
75f1671a
JB
12675 (hexl-mode, hexl-current-address, hexl-current-address):
12676 Use the displen.
0d15b5ba
VD
12677 (hexl-ascii-start-column): New function.
12678 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
12679 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
12680
64a440db
AM
126812012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12682
12683 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
12684 '("-i" ENCODING), in 2 separate command-line arguments, to specify
12685 the encoding, as expected by hunspell.
12686
6decb6c2
SM
126872012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
12688
12689 * battery.el (battery--linux-sysfs-regexp): New const.
12690 (battery-status-function): Use it. Remove yeeloong special case.
12691 (battery-yeeloong-sysfs): Remove.
12692 (battery-echo-area-format): Remove yeeloong special case.
12693
088be6fb
SM
126942012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
12695
6622e416
SM
12696 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
12697 Reported by Noah Friedman.
12698
088be6fb
SM
12699 * subr.el (read-passwd): Use read-string.
12700
b49f886e
LMI
127012012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12702
12703 * vcursor.el (vcursor-move): Increase the priority of the overlay
12704 (bug#9663).
12705
a63067fc
DD
127062012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
12707
12708 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
12709 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
12710
ac3cf14a
WS
127112012-04-11 William Stevenson <yhvh2000@gmail.com>
12712
12713 * textmodes/artist.el (artist-mode): Convert artist-mode to use
12714 define-minor-mode (bug#10760).
12715
c4fc691b 127162012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 12717
4d6769e1 12718 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
12719 that directories matching `grep-find-ignored-files' won't be
12720 pruned (bug#10351).
12721
af23e2e5
CY
127222012-04-11 Chong Yidong <cyd@gnu.org>
12723
12724 * startup.el (command-line): Remove support for long-obsolete
12725 variable font-lock-face-attributes.
12726
ab7ce8c1
GM
127272012-04-11 Glenn Morris <rgm@gnu.org>
12728
12729 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
12730
de8c03dc
SM
127312012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
12732
12733 * window.el (window--state-get-1): Obey window-point-insertion-type.
12734
050cc68b
LB
127352012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
12736
12737 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
12738 to previous function when point is on the first character of a
75f1671a 12739 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 12740
a38c310c
GM
127412012-04-11 Glenn Morris <rgm@gnu.org>
12742
effed0c2
GM
12743 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
12744 not just file-errors.
12745
a38c310c
GM
12746 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
12747 (vc-bzr-sha1): Use internal sha1.
12748
0221e323
SM
127492012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
12750
12751 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
12752
43956923
SG
127532012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
12754
12755 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
12756 that start in the middle of the line (bug#10496).
12757
6a8c9eaf
DN
127582012-04-10 Dan Nicolaescu <dann@gnu.org>
12759
12760 * battery.el (battery-linux-proc-acpi): Only one battery is
12761 discharged at a time, but that seems to confuse battery.el when
12762 computing `rate-type' for the battery not being discharged
12763 (bug#10332).
12764
1930bf5d
SM
127652012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
12766
2a718f6f
SM
12767 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
12768
599430d0
SM
12769 * international/quail.el: Use dolist and simplify.
12770 (quail-define-package, quail-update-keyboard-layout)
12771 (quail-define-rules): Use dolist.
12772 (quail-insert-kbd-layout, quail-get-translation): CSE.
12773
a2754b6c
SM
12774 * tmm.el: Use dolist, remove left over hook.
12775 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
12776 Use dolist.
12777 (calendar-load-hook): Don't mess with it.
12778
1930bf5d
SM
12779 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
12780 Use derived-mode-p. Run the diff asynchronously.
12781
9f67961c
LMI
127822012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
12783
12784 * obsolete/mouse-sel.el: Add an Obsolete-since header.
12785
2a8ce227
JB
127862012-04-10 Juanma Barranquero <lekktu@gmail.com>
12787
12788 * misc.el: Display absolute path of loaded DLLs (bug#10424).
12789 (list-dynamic-libraries--loaded): New function.
12790 (list-dynamic-libraries--refresh): Use it.
12791
8f33b5f8
NW
127922012-04-10 Nathan Weizenbaum <nweiz@google.com>
12793
1930bf5d
SM
12794 * progmodes/python.el (python-fill-paragraph):
12795 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
12796 disabled (bug#7018).
12797
b12f0439
L
127982012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
12799
1930bf5d 12800 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
12801 DOS/MS Windows for the Baltic languages. There are still plenty
12802 of texts written in this encoding/codepage (bug#6519).
b12f0439 12803
57c3bd01
GM
128042012-04-10 Glenn Morris <rgm@gnu.org>
12805
12806 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
12807 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
12808
6c3eab30
FA
128092012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
12810
1930bf5d 12811 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
12812 next-line "n" and previous-line "p" in order to make recentf more
12813 consistent with ibuffer, dired or org-mode (bug#9387).
12814
24d78a88
LMI
128152012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
12816
bc72b5d9
LMI
12817 * image.el (put-image): Return the overlay created instead of the
12818 optional input string (bug#7834). Note that this may break code
12819 that is (for some reason or other) depending on `put-image'
12820 returning the string.
12821
bd2dba5a
LMI
12822 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
12823
74beb59f
LMI
12824 * simple.el (zap-to-char): Allow zapping using input methods
12825 (bug#1580).
12826
24d78a88
LMI
12827 * textmodes/fill.el (fill-region): Leave point and mark where they
12828 were before filling (bug#5399).
12829
263f20cd
GM
128302012-04-09 Glenn Morris <rgm@gnu.org>
12831
12832 * version.el (emacs-bzr-get-version):
12833 Handle lightweight checkouts of local branches.
12834
58d1f797
AS
128352012-04-09 Andreas Schwab <schwab@linux-m68k.org>
12836
263f20cd 12837 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 12838
b4d3bc10
CY
128392012-04-09 Chong Yidong <cyd@gnu.org>
12840
12841 * custom.el (custom-variable-p): Return nil for non-symbol
12842 arguments instead of signaling an error.
12843 (user-variable-p): Obsolete alias for custom-variable-p.
12844
12845 * apropos.el (apropos-variable):
12846 * files-x.el (read-file-local-variable):
12847 * simple.el (set-variable):
12848 * woman.el (woman-mini-help):
12849 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
12850
fd06db5d
GM
128512012-04-09 Glenn Morris <rgm@gnu.org>
12852
e5fcdb5e
GM
12853 * startup.el (normal-top-level): Don't look for leim-list.el
12854 in places where it will not be found. (Bug#910)
12855
fd06db5d
GM
12856 * international/mule-cmds.el (set-default-coding-systems):
12857 * files.el (normal-mode):
12858 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
12859 This function was removed with ucs-tables.el in 2008.
12860
b39bb7e1
EZ
128612012-04-08 Eli Zaretskii <eliz@gnu.org>
12862
12863 * textmodes/ispell.el (ispell-check-version): For hunspell, set
12864 ispell-encoding8-command to "-i", without a trailing space.
12865 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
12866 separate command-line arguments, to specify the encoding, since
12867 that's how hunspell expects it.
12868
5c5b8e23
GM
128692012-04-08 Glenn Morris <rgm@gnu.org>
12870
12871 * loadup.el: Load bindings before cus-start.
12872 This reduces somewhat the number of "rogue" settings in emacs -Q.
12873
a1ed8b05
GM
128742012-04-07 Glenn Morris <rgm@gnu.org>
12875
12876 * version.el (emacs-bzr-get-version): New function.
dfae128a 12877 (emacs-bzr-version): New variable.
a1ed8b05
GM
12878 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
12879 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
12880
b142f158
EZ
128812012-04-07 Eli Zaretskii <eliz@gnu.org>
12882
dfae128a
GM
12883 * international/uni-bidi.el, international/uni-category.el:
12884 * international/uni-combining.el, international/uni-decimal.el:
12885 * international/uni-decomposition.el, international/uni-digit.el:
12886 * international/uni-lowercase.el, international/uni-mirrored.el:
12887 * international/uni-name.el, international/uni-numeric.el:
12888 * international/uni-titlecase.el, international/uni-uppercase.el:
12889 Update for Unicode 6.1.
b142f158 12890
9078ead6
EZ
128912012-04-07 Eli Zaretskii <eliz@gnu.org>
12892
12893 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
12894
f23d2c7d
LMI
128952012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
12896
12897 * window.el (shrink-window): Mention the `window-min-height'
12898 variable in the doc string.
12899
0a0a3573
BG
129002012-04-05 Bastien Guerry <bzg@altern.org>
12901
12902 * color.el (color-lighten-name): Fix typo.
12903
e5248ac9
SM
129042012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
12905
12906 * server.el (server--on-display-p): New function.
12907 (server--on-display-p): Use it.
12908
a8e4d516 129092012-04-04 Gábor Vida <vidagabor@gmail.com> (tiny change)
b4243e22
GV
12910
12911 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
12912 (bug#11145).
12913
305d9f44
SM
129142012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
12915
12916 * comint.el (comint--common-quoted-suffix): Check string boundary
12917 before comparing (bug#11158).
12918 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
12919
3d439cd1
CY
129202012-04-04 Chong Yidong <cyd@gnu.org>
12921
321cc491
CY
12922 * minibuffer.el (completion-extra-properties): Doc fix.
12923
3d439cd1
CY
12924 * subr.el (delayed-warnings-hook): Doc fix.
12925
2d562c0f
DU
129262012-04-04 Daiki Ueno <ueno@unixuser.org>
12927
12928 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
12929 selection (Bug#11159).
12930 (epa-insert-keys): Inform that the default public key will be
12931 exported if no key is selected.
12932
4443f204
RS
129332012-04-04 Richard Stallman <rms@gnu.org>
12934
12935 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
12936
529c06b6
CY
129372012-04-03 Chong Yidong <cyd@gnu.org>
12938
12939 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
12940 mail-insert-file, not its obsolete alias mail-attach-file.
12941
66b907dc
MA
129422012-04-03 Michael Albinus <michael.albinus@gmx.de>
12943
12944 * notifications.el (notifications-notify): Fix docstring.
12945
c0ea195d
GM
129462012-04-02 Glenn Morris <rgm@gnu.org>
12947
12948 * emacs-lisp/authors.el (authors-aliases): Another addition.
12949
5ca64e00
MA
129502012-04-02 Michael Albinus <michael.albinus@gmx.de>
12951
12952 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
12953 `tramp-compat-call-process' instead of `tramp-local-call-process'.
12954 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
12955
42ee526b
CY
129562012-04-01 Chong Yidong <cyd@gnu.org>
12957
12958 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
12959 Handle root directory properly.
12960 (copy-directory): Caller changed.
12961
12962 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
12963 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
12964
0b021094
GM
129652012-03-31 Glenn Morris <rgm@gnu.org>
12966
40f86458
GM
12967 * term/xterm.el (xterm-extra-capabilities): Doc fix.
12968
7019c177
GM
12969 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
12970
a1daddd6
GM
12971 * calendar/calendar.el (calendar-window-list)
12972 (calendar-hide-window): Restore. (Bug#11140)
12973 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
12974
0b021094
GM
12975 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
12976
40311efc
TV
129772012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12978
12979 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
12980 Check if file is a symlink (Bug#10489).
12981
12982 * files.el (copy-directory): Likewise.
12983
5319014e
CY
129842012-03-30 Chong Yidong <cyd@gnu.org>
12985
12986 * image.el (imagemagick-types-inhibit)
12987 (imagemagick-register-types): Doc fix.
12988
935d1290
AM
129892012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12990
090bd7cb 12991 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 12992 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 12993 and treats ~word as ordinary words in pipe mode.
935d1290 12994
61c6e8fd
GM
129952012-03-30 Glenn Morris <rgm@gnu.org>
12996
12997 * tutorial.el (help-with-tutorial): Ensure local variables don't
12998 happen to make the buffer read-only. (Bug#11127)
12999
81fdff00
SM
130002012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
13001
13002 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
13003 (perl-calculate-indent): Return `noindent' in strings.
13004
6e7a6ec0
SS
130052012-03-28 Sam Steingold <sds@gnu.org>
13006
13007 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
13008 instead of the broken adhockery which does not prevent calendar
13009 buffers from being displayed at random after exit.
13010 (calendar-window-list, calendar-hide-window): Remove the broken
13011 adhockery.
13012
fee88ca0
GM
130132012-03-28 Glenn Morris <rgm@gnu.org>
13014
13015 * replace.el (query-replace-map): Doc fix.
13016
38de3354
AS
130172012-03-28 Andreas Schwab <schwab@linux-m68k.org>
13018
13019 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
13020 contents. (Bug#11109)
13021
b973155e
SM
130222012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
13023
13024 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
13025 (bug#11077).
13026 (avl-tree--check, avl-tree--check-node): New funs.
13027
dcb6e7b3
MR
130282012-03-27 Martin Rudalics <rudalics@gmx.at>
13029
13030 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
13031 (switch-to-prev-buffer, switch-to-next-buffer):
13032 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
13033 showing a buffer already is done on the same frame.
13034
b4fa35fa
GM
130352012-03-27 Glenn Morris <rgm@gnu.org>
13036
13037 * startup.el (mail-host-address): Doc fix.
13038
f9210e18
SM
130392012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
13040
13041 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
13042 than 197 variables.
13043
c0bf7753
AF
130442012-03-26 Ami Fischman <ami@fischman.org>
13045
13046 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
13047
33da7b16
GM
130482012-03-26 Glenn Morris <rgm@gnu.org>
13049
02243d9d
GM
13050 * files.el (save-buffers-kill-emacs): Doc fix.
13051
33da7b16
GM
13052 * startup.el (normal-top-level, command-line, command-line-1):
13053 Give them doc strings.
13054
e5a69fd0
EZ
130552012-03-25 Eli Zaretskii <eliz@gnu.org>
13056
13057 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 13058 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 13059
9a69676a
CY
130602012-03-25 Chong Yidong <cyd@gnu.org>
13061
4125cb8b
CY
13062 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
13063 theme if it was previously enabled before (Bug#11031).
13064
dd470960
CY
13065 * cus-theme.el (custom-theme-write-faces): Retrieve current face
13066 spec with custom-face-get-current-spec if its :shown-value is not
13067 determined yet (Bug#9337).
4125cb8b 13068 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 13069
9a69676a
CY
13070 * button.el (button-at): Minor addition to docstring.
13071
6e7e90fa
SL
130722012-03-24 Simon Leinen <simon.leinen@gmail.com>
13073
13074 * vc/vc.el (vc-merge): Fix a prompt.
13075
f06e2758
CY
130762012-03-24 Chong Yidong <cyd@gnu.org>
13077
13078 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
13079 point (Bug#9623).
13080
6e7e90fa
SL
13081 * button.el (button-at): Minor addition to docstring.
13082
b9d0879b
SM
130832012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
13084
13085 * newcomment.el (comment-choose-indent): No space after BOL.
13086
e71cebb3
SS
130872012-03-22 Sam Steingold <sds@gnu.org>
13088
13089 * window.el (switch-to-prev-buffer): Revert last patch because the
13090 bug turned out to be an advertised feature (Elisp manual 28.14).
13091
335aff35
GM
130922012-03-22 Glenn Morris <rgm@gnu.org>
13093
13094 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
13095 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
13096
c676576a
LMI
130972012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
13098
13099 * net/network-stream.el (network-stream-open-starttls): Make error
13100 message under Windows be less misleading.
13101
126f3d39
LW
131022012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
13103
13104 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
13105 understands (bug#9942).
13106
64fee311
CY
131072012-03-22 Chong Yidong <cyd@gnu.org>
13108
13109 * simple.el (end-of-visible-line): Handle return value of
13110 next-single-property-change properly (Bug#9371).
13111
a640d29a
KH
131122012-03-22 Kenichi Handa <handa@m17n.org>
13113
13114 * international/quail.el (quail-insert-kbd-layout): Fix previous
13115 change. To avoid unwanted bidi reordering, use
13116 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
13117
39675016
DG
131182012-03-21 Dmitry Gutov <dgutov@yandex.ru>
13119
13120 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
13121 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
13122 (ruby-beginning-of-indent): Be more careful with the difference
13123 between word-boundary and symbol boundary.
13124 (ruby-mode-syntax-table): Make : a symbol constituent.
13125
0a6934fc 131262012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 13127
3d008e4f
SM
13128 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
13129
0a6934fc
SM
131302012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
13131
af67c9d7
SM
13132 * progmodes/etags.el (tags-completion-at-point-function):
13133 Improve last fix.
13134
1acad97c
SM
13135 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
13136
e298b5da
SS
131372012-03-21 Sam Steingold <sds@gnu.org>
13138
13139 * progmodes/etags.el (tags-completion-at-point-function):
13140 Avoid the error when point is inside the pattern.
13141
91d82a70
JY
131422012-03-21 John Yates <john@yates-sheets.org> (tiny change)
13143
13144 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
13145 line (Bug#10855).
13146
69188b79
CY
131472012-03-21 Drew Adams <drew.adams@oracle.com>
13148
13149 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
13150
99fc91fe
AK
131512012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
13152
13153 * ido.el (ido-set-current-directory, ido-read-internal)
13154 (ido-choose-completion-string, ido-completion-help): Handle nil
13155 value of ido-completion-buffer (Bug#11008).
13156
087bbb4c
SS
131572012-03-21 Sam Steingold <sds@gnu.org>
13158
13159 * window.el (switch-to-prev-buffer): Do not switch to a visible
13160 window previous buffer, just like with the frame previous buffers.
13161
fb5b8aca
CY
131622012-03-21 Chong Yidong <cyd@gnu.org>
13163
13164 * faces.el (make-face, make-empty-face, copy-face):
13165 * face-remap.el (face-remap-add-relative, face-remap-set-base):
13166 Doc fixes.
13167
dc9924b8
SM
131682012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
13169
13170 * wid-edit.el (widget-complete-field): Remove (bug#11051).
13171 (widget-complete): Remove broken use of it.
13172
f0bcceb9
CY
131732012-03-20 Chong Yidong <cyd@gnu.org>
13174
dc9924b8
SM
13175 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
13176 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
13177 characters.
13178
ee52ebf3
TH
131792012-03-20 Tassilo Horn <tassilo@member.fsf.org>
13180
13181 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
13182 to draw rectangles, not squares. (Regression introduced by revno
13183 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
13184
4c5779ab
CY
131852012-03-18 Chong Yidong <cyd@gnu.org>
13186
13187 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
13188 it is not yet defined (for temacs).
13189
15360934
LL
131902012-03-18 Leo Liu <sdl.web@gmail.com>
13191
735135f9
PE
13192 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
13193 prefix.
15360934 13194
d9a8eb66
EZ
131952012-03-17 Eli Zaretskii <eliz@gnu.org>
13196
13197 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
13198 (ispell-choices-win-default-height, ispell-silently-savep)
13199 (ispell-dictionary-alist, ispell-encoding8-command)
13200 (ispell-check-version, ispell-aspell-find-dictionary)
13201 (ispell-valid-dictionary-list, ispell-words-keyword)
13202 (ispell-get-word, ispell-internal-change-dictionary)
13203 (ispell-region, ispell-skip-region-list)
13204 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
13205 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
13206 (ispell-message-text-end, ispell-message)
13207 (ispell-buffer-local-parsing): Doc fix.
13208
f02ff80d
J
132092012-03-13 Jambunathan K <kjambunathan@gmail.com>
13210
13211 * htmlfontify.el: Add support for code block fontification for ODT
13212 export (Bug #9914).
13213 (hfy-optimisations): Define new option
13214 `body-text-only'
13215 (hfy-fontify-buffer): Honor above setting.
13216 (hfy-begin-span, hfy-end-span): New routines factored out form
13217 `hfy-fontify-buffer'.
13218 (hfy-begin-span-handler, hfy-end-span-handler): New variables
13219 that permit insertion of custom tags.
13220 (hfy-fontify-buffer): Use above handlers.
13221 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
13222 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 13223 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 13224 over multiple runs. This is made possible by having the caller let
f02ff80d
J
13225 bind a special variable `hfy-user-sheet-assoc'.
13226 (htmlfontify-string): New defun.
13227 (hfy-compile-face-map): Make sure that the last char in the
13228 buffer is correctly fontified.
13229 (hfy-face-resolve-face): Whitespace only change.
13230
9ac7a13f
EZ
132312012-03-17 Eli Zaretskii <eliz@gnu.org>
13232
13233 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
13234 message more clear.
13235
e2b5bdd7
LL
132362012-03-16 Leo Liu <sdl.web@gmail.com>
13237
13238 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
13239
2e492df3
AM
132402012-03-16 Alan Mackenzie <acm@muc.de>
13241
677d5c92 13242 Further optimize the handling of large macros.
2e492df3
AM
13243
13244 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
13245 limit to a call of `c-literal-limits'.
13246 (c-determine-+ve-limit): New function.
dc9924b8
SM
13247 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
13248 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
13249 In CASE 5B, restrict a search limit to 500.
13250 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
13251
13252 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
13253 Restrict macro bounds to +-500 from after-change's BEG END.
13254
50e94f0c
LL
132552012-03-16 Leo Liu <sdl.web@gmail.com>
13256
13257 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
13258
6f09f6ed
AH
132592012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
13260
13261 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 13262 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 13263
c7e73d51
GM
132642012-03-16 Glenn Morris <rgm@gnu.org>
13265
da986230
GM
13266 * view.el (view-buffer, view-buffer-other-window)
13267 (view-buffer-other-frame): Doc fixes re special mode-class.
13268
0835f01e
GM
13269 * subr.el (eval-after-load): If named feature is provided not from
13270 a file, run after-load forms. (Bug#10946)
13271
c7e73d51
GM
13272 * calendar/calendar.el (calendar-insert-at-column):
13273 Handle non-unit-width characters a bit better. (Bug#10978)
13274
3f2eafd1
CY
132752012-03-15 Chong Yidong <cyd@gnu.org>
13276
13277 * emacs-lisp/ring.el (ring-extend): New function.
13278 (ring-insert+extend): Extend the ring correctly (Bug#11019).
13279
13280 * comint.el (comint-read-input-ring)
13281 (comint-add-to-input-history): Grow comint-input-ring lazily.
13282
103af3fe
SM
132832012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13284
663b1677
SM
13285 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
13286 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
13287
103af3fe
SM
13288 * imenu.el: Fix multiple inheritance breakage (bug#9199).
13289 (imenu-add-to-menubar): Don't add a redundant index.
13290 (imenu-update-menubar): Handle a dynamically composed keymap.
13291
899cb7cb
KY
132922012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
13293
13294 * mail/sendmail.el (mail-encode-header):
13295 Bind rfc2047-encode-encoded-words to nil.
13296
3809f91d
GM
132972012-03-13 Glenn Morris <rgm@gnu.org>
13298
13299 * calendar/calendar.el (calendar-string-spread):
13300 Handle non-unit-width characters a bit better. (Bug#10978)
13301
9e345a01
LL
133022012-03-13 Leo Liu <sdl.web@gmail.com>
13303
13304 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
13305 directory and file as argument (Bug#10822).
13306
4a07df36
KS
133072012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
13308
13309 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
13310 For dynamically generated code, follow $PC.
13311 (gdb-disassembly-handler-custom): Handle no function name case.
13312
4aaa9356
TL
133132012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
13314
13315 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
13316 * emulation/ws-mode.el (ws-query-replace):
13317 * sort.el (sort-regexp-fields):
13318 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
13319
225979da
SM
133202012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13321
13322 * dabbrev.el: Fix cycle completion order (bug#10963).
13323 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
13324 (dabbrev-completion): Don't use an obarray; provide
13325 a cycle-sort-function.
13326
e2f1fdab
LL
133272012-03-12 Leo Liu <sdl.web@gmail.com>
13328
dc9924b8 13329 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
13330 (kill-do-not-save-duplicates): Doc fix.
13331
b19490ed
SM
133322012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13333
13334 * dabbrev.el: Fix cycle completion (bug#10963).
13335 Use lexical binding and wrap to 80 columns.
13336 (dabbrev-completion): Delay computing the list of completions.
13337
4b05d722
KH
133382012-03-12 Kenichi Handa <handa@m17n.org>
13339
13340 * international/quail.el (quail-insert-kbd-layout): Surround each
13341 row by LRO and PDF instead of inserting many LRMs. Pad the left
13342 and right of each non-spacing marks. Insert invisible space
13343 between lower and upper characters to prevent composition.
13344
dbbc2e69
SM
133452012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13346
13347 * minibuffer.el (minibuffer-complete): Don't get confused when the
13348 function is run twice via different commands (bug#10958).
13349 (complete-with-action): Fix docstring.
13350
292112ed
CY
133512012-03-12 Chong Yidong <cyd@gnu.org>
13352
5d1ac394
CY
13353 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
13354 (nxml-completion-at-point-function): New function.
13355 (nxml-mode): Use it.
13356 (nxml-bind-meta-tab-to-complete-flag): Default to t.
13357
292112ed
CY
13358 * emacs-lisp/package.el (package-unpack, package-unpack-single):
13359 Load generated autoloads file before byte compiling (Bug#10970).
13360 (package--make-autoloads-and-compile): New helper fun.
13361
4098f8f7
CS
133622012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
13363
13364 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
13365
8f754691
MA
133662012-03-11 Michael Albinus <michael.albinus@gmx.de>
13367
13368 * autorevert.el (auto-revert-handler): Ensure, that
13369 file-readable-p is applied only for local files or in
13370 auto-revert-tail-mode.
13371
e29ab36b
AS
133722012-03-11 Andreas Schwab <schwab@linux-m68k.org>
13373
dbbc2e69
SM
13374 * server.el (server-eval-at): Handle non-tcp connections.
13375 Decode result string.
ad0bf5b6 13376
e29ab36b
AS
13377 * server.el (server-msg-size): New constant.
13378 (server-reply-print): New function.
13379 (server-eval-and-print): Use it.
13380 (server-eval-at): Use server-quote-arg and server-unquote-arg.
13381 Handle -print-nonl.
13382
de5939ba
CS
133832012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
13384
13385 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
13386 (Bug#10987).
13387
0c93eabf
CY
133882012-03-11 Chong Yidong <cyd@gnu.org>
13389
397a688f
CY
13390 * simple.el (goto-line): Doc fix (Bug#9938).
13391
2cc775f9
CY
13392 * subr.el (save-window-excursion): Doc fix (Bug#9979).
13393
0c93eabf
CY
13394 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
13395 when finished (Bug#10963).
13396
c491fa41
MR
133972012-03-11 Martin Rudalics <rudalics@gmx.at>
13398
13399 * window.el (split-window-below): Fix bug in case where
13400 split-window-keep-point is nil (Bug#10971).
13401
300e8fa5
JL
134022012-03-11 Juri Linkov <juri@jurta.org>
13403
13404 * replace.el (replace-highlight): Set isearch-word to nil
13405 unconditionally. (Bug#10887)
13406
dbf6c5a1
EZ
134072012-03-10 Eli Zaretskii <eliz@gnu.org>
13408
13409 * net/mairix.el (mairix-replace-invalid-chars): Rename from
13410 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 13411 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
13412 (mairix-widget-create-query): Add usage information about mairix
13413 search forms: negating words, searching for substrings, etc.
13414
b9e501de
JP
134152012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
13416
13417 * international/fontset.el (font-encoding-alist): Add an entry for
13418 ksx1001 (Bug#5667).
13419
92795c91
RS
134202012-03-10 Richard Stallman <rms@gnu.org>
13421
1694e6c1
RS
13422 * mail/sendmail.el (mail-encode-header):
13423 Set rfc2047-encode-encoded-words.
13424
607e8555
RS
13425 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
13426
de3bc99a
RS
13427 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
13428 view buffer means not swapped.
13429 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
13430 (rmail-write-region-annotate): Error if real text has disappeared.
13431
92795c91
RS
13432 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
13433
699bd04e
CY
134342012-03-10 Chong Yidong <cyd@gnu.org>
13435
13436 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
13437 * emulation/cua-base.el (cua--init-keymaps):
13438 Add delete-forward-char to remappings (Bug#9666).
699bd04e 13439
570a1714
MR
134402012-03-10 Martin Rudalics <rudalics@gmx.at>
13441
dbbc2e69
SM
13442 * speedbar.el (speedbar-unhighlight-one-tag-line):
13443 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 13444
82dcf4e4
CY
134452012-03-10 Chong Yidong <cyd@gnu.org>
13446
7a2c7ca7
CY
13447 * minibuffer.el (completion-in-region, completion-help-at-point):
13448 Give the completion field overlay a high priority (Bug#6830).
13449
82dcf4e4
CY
13450 * dired.el (dired-goto-file): Recognize absolute file name
13451 listings (Bug#7126).
13452 (dired-goto-file-1): New helper function.
13453 (dired-toggle-read-only): Inhibit warnings.
13454
052e28ac
MA
134552012-03-09 Michael Albinus <michael.albinus@gmx.de>
13456
75f1671a 13457 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
13458 there are no properties.
13459
95d5e396
LL
134602012-03-09 Leo Liu <sdl.web@gmail.com>
13461
13462 * savehist.el (savehist-printable): Stricter check for string
13463 value (Bug#10937).
13464
3f018d6d
EZ
134652012-03-09 Eli Zaretskii <eliz@gnu.org>
13466
dbbc2e69
SM
13467 * mail/smtpmail.el (smtpmail-send-it):
13468 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
13469 valid mbox format.
13470
f7fd3d79
GM
134712012-03-09 Glenn Morris <rgm@gnu.org>
13472
13473 * files.el (dir-locals-find-file):
13474 Don't check result is regular, readable.
13475 (dir-locals-read-from-file): Demote errors.
13476
6ff6e72f
EZ
134772012-03-08 Eli Zaretskii <eliz@gnu.org>
13478
dbbc2e69
SM
13479 * international/quail.el (quail-insert-kbd-layout):
13480 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
13481 layout cell, to prevent their reordering by bidi display engine.
13482 For details, see the discussion in
13483 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
13484
9cec7834
AM
134852012-03-08 Alan Mackenzie <acm@muc.de>
13486
13487 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
13488 the starting position; make it extend the marked region when
13489 invoked repeatedly - all under appropriate circumstances.
13490 Fixes bugs #5525, #10906.
13491
9a40b8d4
GM
134922012-03-08 Glenn Morris <rgm@gnu.org>
13493
13494 * files.el (locate-dominating-file, dir-locals-find-file):
13495 Undo 2012-03-06 change.
13496
7a08ed35
EZ
134972012-03-07 Eli Zaretskii <eliz@gnu.org>
13498
dbbc2e69
SM
13499 * international/quail.el (quail-help):
13500 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
13501 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
13502 for the reason.
13503
5aca4f71 135042012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
13505
13506 Avoid superfluous registering of signals. (Bug#10807)
13507
13508 * notifications.el (notifications-on-action-object)
13509 (notifications-on-close-object): New defvars.
13510 (notifications-on-action-signal, notifications-on-closed-signal):
13511 Unregister the signal if not needed any longer.
13512 (notifications-notify): Register `notifications-action-signal' or
13513 `notifications-closed-signal', if :on-action or :on-close has been
13514 passed as argument.
13515
78e8b10a
CY
135162012-03-07 Chong Yidong <cyd@gnu.org>
13517
13518 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
13519 non-X platforms.
13520
69481eb8
GM
135212012-03-06 Glenn Morris <rgm@gnu.org>
13522
13523 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
13524 (x-disown-selection-internal, x-get-selection-internal):
13525 Doc fix (add arglist signatures). (Bug#10783)
13526
133b8e11
KS
135272012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
13528
13529 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
13530 Handle breakpoints with no "type".
13531
99a83064
GM
135322012-03-06 Glenn Morris <rgm@gnu.org>
13533
13534 * files.el (locate-dominating-file): Add optional predicate argument.
13535 (dir-locals-find-file): Make use of above change.
13536
17798e78
TTN
135372012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
13538
13539 * info.el (Info-insert-dir): Also try "dir.gz".
13540
eb182446
GM
135412012-03-06 Glenn Morris <rgm@gnu.org>
13542
8f2114ee
GM
13543 * files.el (dir-locals-find-file):
13544 Ignore non-readable or non-regular files. (Bug#10928)
13545
eb182446
GM
13546 * files.el (locate-dominating-file): Doc fix.
13547
24679323
AS
135482012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
13549
13550 * calendar/calendar.el (calendar-set-mode-line):
13551 `getenv' returns a string. (Bug#10951)
13552
01d972a9
LL
135532012-03-05 Leo Liu <sdl.web@gmail.com>
13554
109aa8a9
LL
13555 * simple.el (backward-delete-char-untabify): Constrain point to
13556 field (Bug#10939).
13557
01d972a9
LL
13558 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
13559
10607bea
CY
135602012-03-05 Chong Yidong <cyd@gnu.org>
13561
13562 * simple.el (count-words): If called from Lisp, return the word
13563 count, for symmetry with `count-lines'. Arglist changed.
13564 (count-words--message): Args changed. Consolidate counting code
13565 from count-words and count-words-region.
13566 (count-words-region): Caller changed.
13567 (count-lines-region): Make it an obsolete alias.
13568
5dd11cfe
TH
135692012-03-04 Tassilo Horn <tassilo@member.fsf.org>
13570
13571 * saveplace.el (save-place-to-alist)
13572 (save-place-ignore-files-regexp): Allow value nil to disable this
13573 feature.
13574
c349f4e6
CY
135752012-03-04 Chong Yidong <cyd@gnu.org>
13576
13577 * faces.el (face-spec-reset-face): For the default face, reset the
13578 attributes to default values (Bug#10748).
13579
e627be4c
LMI
135802012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
13581
13582 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
13583 previous patch: Check `message-send-mail-function', and not the
13584 default function (bug#10897).
13585
ebeabff4
MA
135862012-03-04 Michael Albinus <michael.albinus@gmx.de>
13587
a41a6cf4
MA
13588 * notifications.el (notifications-on-action-signal)
13589 (notifications-on-closed-signal): Check for unique service name of
13590 incoming event. Fix error in removing entry.
ebeabff4 13591 (top): Register for signals with wildcard service name.
a41a6cf4 13592 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 13593
c1ca42b4
CY
135942012-03-04 Chong Yidong <cyd@gnu.org>
13595
dc9924b8 13596 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 13597
ea16568d
GM
135982012-03-04 Glenn Morris <rgm@gnu.org>
13599
13600 * abbrev.el (copy-abbrev-table, abbrev-table-p)
13601 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
13602 (expand-abbrev, define-abbrev-table): Doc fixes.
13603
fbae4637
LMI
136042012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13605
13606 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
13607 `message-default-send-mail-function' and not `send-mail-function'
13608 when doing the prompting for `sendmail-query-once' before sending
13609 in Message buffers (bug#10897).
13610
a1e7225c
LMI
13611 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
13612 This is inconsistent with all the other stream functions, which leave
13613 the setting up to the higher levels (if so wanted) (bug#10931).
13614
56d093a9
AM
136152012-03-02 Alan Mackenzie <acm@muc.de>
13616
13617 Depessimize the handling of very large macros.
13618
13619 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
13620 (c-macro-cache-syntactic): New variables to implement a one
13621 element macro cache.
13622 (c-invalidate-macro-cache): New function.
13623 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
13624 Adapt to use the new cache.
13625 (c-state-safe-place): Use better the cache of safe positions.
13626 (c-state-semi-nonlit-pos-cache)
13627 (c-state-semi-nonlit-pos-cache-limit):
13628 New variables for...
13629 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
13630 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
13631 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
13632 Use c-state-semi-safe-place.
56d093a9 13633
dbbc2e69
SM
13634 * progmodes/cc-langs.el (c-get-state-before-change-functions):
13635 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 13636
817e5c3d
MA
136372012-03-02 Michael Albinus <michael.albinus@gmx.de>
13638
dbbc2e69
SM
13639 * jka-compr.el (jka-compr-call-process):
13640 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
13641 not remote.
13642
a032a702
MA
136432012-03-01 Michael Albinus <michael.albinus@gmx.de>
13644
13645 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
13646 access of FILE2, if FILE1 does not exist.
13647
99a54f21
MA
13648 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
13649 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
13650
13651 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
13652 Add "PAGER=" to `process-environment'.
13653
f6561e1f
MM
136542012-03-01 Michael R. Mauger <mmaug@yahoo.com>
13655
13656 * progmodes/sql.el: Bug fix
13657 (sql-get-login-ext): Save login values in globals.
13658 (sql-get-login): Use new version of `sql-get-login-ext'.
13659 (sql-interactive-mode): Set global `sql-connection' to nil.
13660 (sql-connect): Set global values for connection.
13661 (sql-product-interactive): Save global values as buffer local.
13662
2d44d9cc
LL
136632012-02-29 Leo Liu <sdl.web@gmail.com>
13664
13665 * abbrev.el (define-abbrevs): Reset sys to nil.
13666
96b49301 136672012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13668
bf7f9bc5
JB
13669 * files.el (file-equal-p): Rename from `files-equal-p'.
13670 Return nil when one or both files don't exist.
96b49301 13671 (file-subdir-of-p): Now only top directory must exists,
13672 return nil if it doesn't.
bf7f9bc5
JB
13673 (copy-directory): No need to test with `file-subdir-of-p' after
13674 creating dir.
13675 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
13676 to `file-equal-p'.
96b49301 13677
44e97401
GM
136782012-02-28 Glenn Morris <rgm@gnu.org>
13679
13680 * shell.el (shell-mode):
13681 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
13682 * play/landmark.el (landmark-font-lock-face-O):
13683 * play/handwrite.el (handwrite):
13684 * play/gomoku.el (gomoku-O):
13685 * net/browse-url.el (browse-url-browser-display):
13686 * international/mule.el (define-charset):
13687 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
13688 * filesets.el (filesets-find-file-delay):
13689 * eshell/em-xtra.el (eshell-xtra):
13690 * eshell/em-unix.el (eshell-grep):
13691 * emulation/viper.el (viper-mode):
13692 * emacs-lisp/regexp-opt.el (regexp-opt-group):
13693 * emacs-lisp/easymenu.el (easy-menu-define):
13694 * calendar/timeclock.el (timeclock-use-display-time):
13695 * bs.el (bs-mode):
13696 * bookmark.el (bookmark-save-flag):
13697 Doc fix (standardize possessive apostrophe usage).
13698
c98c6276
CY
136992012-02-27 Chong Yidong <cyd@gnu.org>
13700
bf7f9bc5
JB
13701 * emulation/viper-cmd.el (viper-intercept-ESC-key):
13702 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 13703
c98c6276
CY
13704 * font-lock.el (font-lock-specified-p): Rename from
13705 font-lock-spec-present. Callers changed.
13706
9c62cd04 137072012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 13708
bf7f9bc5
JB
13709 * emacs-lisp/package.el (package-compute-transaction):
13710 Handle holding a package version to t in package-load-list.
8ac9e529 13711
530739c9
MA
137122012-02-26 Michael Albinus <michael.albinus@gmx.de>
13713
13714 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
13715 (tramp-get-inode, tramp-get-device): Use cached values.
13716
487915d7
AM
137172012-02-26 Alan Mackenzie <acm@muc.de>
13718
13719 Check there is a font-lock specification before doing initial
13720 fontification.
13721
13722 * font-core.el (font-lock-mode): Move the conditional from
13723 :after-hook to font-lock-initial-fontify.
13724 (font-lock-default-function): Move the check for a specification
13725 to font-lock-spec-present.
13726
dc9924b8 13727 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
13728 (font-lock-spec-present): New function.
13729
4fd96557
JB
137302012-02-26 Jim Blandy <jimb@red-bean.com>
13731
13732 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
13733 (gdb-send): Apply it to the operand of the '-interpreter-exec
13734 console' command, so that we can pass arguments with (say) quotes
13735 in them. Store exact string sent in gdb-debug-log (Bug#10765).
13736
9a4888c0
CY
137372012-02-26 Chong Yidong <cyd@gnu.org>
13738
07498861
CY
13739 * help-fns.el (describe-function-1): Clarify description of
13740 remapping (Bug#10844).
13741
9a4888c0
CY
13742 * files.el (files-equal-p): Doc fix.
13743 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
13744 and quit the loop once a mismatch is found.
13745
ea8fb88d
JB
137462012-02-25 Juanma Barranquero <lekktu@gmail.com>
13747
13748 * bs.el (bs--show-with-configuration): Don't throw an error
13749 if the window cannot be split; otherwise, subsequent calls to
13750 bs-show fail, restoring a stale window config. (Bug#10882)
13751
525795c1
JD
137522012-02-25 Jan Djärv <jan.h.d@swipnet.se>
13753
13754 * term/ns-win.el (global-map): Bind ns-drag-file to
13755 ns-find-file (Bug#5855, Bug#10050).
13756
f008086f
AS
137572012-02-25 Andreas Schwab <schwab@linux-m68k.org>
13758
13759 * calendar/parse-time.el (parse-time-string): Allow extractor to
13760 return nil.
13761
a3fcfa99
MA
137622012-02-25 Michael Albinus <michael.albinus@gmx.de>
13763
91027d08
JB
13764 * net/tramp.el (tramp-file-name-for-operation):
13765 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
13766
13767 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
13768 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
13769 Add COPY-CONTENTS argument.
a3fcfa99 13770
67b0de11
CY
137712012-02-25 Chong Yidong <cyd@gnu.org>
13772
13773 Add custom groups for VC backends, for consistency with vc-bzr.
13774
13775 * vc/vc-arch.el (vc-arch):
13776 * vc/vc-cvs.el (vc-cvs):
13777 * vc/vc-git.el (vc-git):
13778 * vc/vc-hg.el (vc-hg):
13779 * vc/vc-mtn.el (vc-mtn):
13780 * vc/vc-rcs.el (vc-rcs):
13781 * vc/vc-sccs.el (vc-sccs):
13782 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
13783 All relevant defcustoms reassigned.
13784
3c9dfce6
CY
137852012-02-25 Chong Yidong <cyd@gnu.org>
13786
1339bf43
CY
13787 * newcomment.el (comment-styles): Add autoload (Bug#10868).
13788
3c9dfce6
CY
13789 * term/x-win.el (x-initialize-window-system): Reduce default for
13790 x-selection-timeout to 5 seconds (Bug#8869).
13791
25b2e303 137922012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13793
ec70a47d
GM
13794 * files.el (files-equal-p, file-subdir-of-p): New functions.
13795 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 13796 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
13797 * dired-aux.el (dired-copy-file-recursive): Same.
13798 (dired-create-files): Modify destination when source is equal to
13799 dest when copying files.
53a46cd0 13800 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 13801
914260cd
MA
138022012-02-24 Michael Albinus <michael.albinus@gmx.de>
13803
13804 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
13805 (Bug#10874)
13806
2cb228f7
AM
138072012-02-23 Alan Mackenzie <acm@muc.de>
13808
13809 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
13810 parameter "after-hook:" to allow the expansion to run code after
13811 the execution of the mode hooks.
13812
13813 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 13814 from font-lock-mode-internal.
2cb228f7 13815
91027d08 13816 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
13817 :after-hook.
13818
8f0fde21
SM
138192012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
13820
3e88618b
SM
13821 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
13822 (completion--cache-all-sorted-completions): New function.
13823 (completion-all-sorted-completions): Use it.
13824 (completion--do-completion, minibuffer-force-complete):
13825 Use it to re-instate the flush hook.
13826
8f0fde21
SM
13827 * icomplete.el (icomplete-completions): Replace last fix with a better
13828 one (bug#10850).
13829
8e911f6f
DG
138302012-02-23 Dmitry Gutov <dgutov@yandex.ru>
13831
13832 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
13833 when it might call us back infinitely (bug#10797).
13834
49fe4321
GM
138352012-02-23 Glenn Morris <rgm@gnu.org>
13836
13837 * minibuffer.el (completion-category-overrides): Doc fix.
13838
b291b572
SM
138392012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
13840
13841 * minibuffer.el (completion-table-with-context): Fix inf-loop.
13842 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
13843
31a9ef2e
GM
138442012-02-23 Glenn Morris <rgm@gnu.org>
13845
5e6e6794 13846 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
13847 (authors-obsolete-files-regexps, authors-ignored-files)
13848 (authors-ambiguous-files, authors-renamed-files-alist):
13849 Add more entries.
13850
0bd1e074
JL
138512012-02-23 Juri Linkov <juri@jurta.org>
13852
13853 * isearch.el (isearch-occur): Sync interactive spec with occur's
13854 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
13855
b617673c
JL
13856 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
13857
19e9789e
JL
138582012-02-22 Juri Linkov <juri@jurta.org>
13859
13860 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
13861 (ucs-insert): Doc fix. Check for hex digits in the string.
13862 Don't display `nil' in the error message. (Bug#10857)
13863
f41ce09d
AM
138642012-02-22 Alan Mackenzie <acm@muc.de>
13865
7a71b18d 13866 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 13867
ac2eceee
GM
138682012-02-22 Glenn Morris <rgm@gnu.org>
13869
13870 * ffap.el (ffap-c-path):
13871 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
13872
abd1f678
CY
138732012-02-22 Chong Yidong <cyd@gnu.org>
13874
13875 * custom.el (load-theme): Doc fix.
13876
f25aef2e
GM
138772012-02-22 Glenn Morris <rgm@gnu.org>
13878
13879 * dired-x.el (dired-guess-shell-alist-default):
13880 Remove escape sequences from nroff output. (Bug#172)
13881
5f8dc2ca
GM
138822012-02-21 Glenn Morris <rgm@gnu.org>
13883
6ff86ec4
GM
13884 * vc/emerge.el (emerge-defvar-local):
13885 Set `permanent-local' property rather than unused `preserved'.
13886
be3223a3 13887 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
13888 (picture-mode-map): Use it. (Bug#10860)
13889 (picture-mode): Doc fix.
13890
3fe58f4f
JB
138912012-02-21 Juanma Barranquero <lekktu@gmail.com>
13892
13893 * newcomment.el (uncomment-region-default): Remove unused binding.
13894
f9a998c3
GM
138952012-02-21 Glenn Morris <rgm@gnu.org>
13896
13897 * textmodes/picture.el (picture-motion, picture-motion-reverse)
13898 (picture-self-insert, picture-tab-chars): Doc fix.
13899 (picture-mode-map): Fix C-a, C-e.
13900
c6029348
GM
139012012-02-20 Glenn Morris <rgm@gnu.org>
13902
13903 * emacs-lisp/authors.el (authors-aliases): Add another entry.
13904
ab1ce9d7
LL
139052012-02-20 Leo Liu <sdl.web@gmail.com>
13906
13907 * icomplete.el (icomplete-completions): Check FROM arg before
13908 passing to substring (Bug#10850).
13909
0fd40f89
CY
139102012-02-19 Chong Yidong <cyd@gnu.org>
13911
13912 * comint.el: Require ansi-color.
13913 (comint-output-filter-functions): Add ansi-color-process-output.
13914
13915 * ansi-color.el: Don't set comint-output-filter-functions; it is
13916 now in the initial value defined in comint.el.
13917 (ansi-color-apply-face-function): New variable.
13918 (ansi-color-apply-on-region): Use it.
13919 (ansi-color-apply-overlay-face): New function.
13920
13921 * shell.el (shell): No need to require ansi-color.
13922 (shell-mode): Use ansi-color-apply-face-function to highlight
13923 color escapes using font-lock-face property (Bug#10835).
13924
20af2394
CY
139252012-02-19 Chong Yidong <cyd@gnu.org>
13926
13927 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
13928 mode-line formats (Bug#10839).
13929
e23a3fbe
GM
139302012-02-18 Glenn Morris <rgm@gnu.org>
13931
b474519e
GM
13932 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
13933
13934 * mail/undigest.el (unforward-rmail-message): Doc fix.
13935
e23a3fbe
GM
13936 * saveplace.el (save-place-ignore-files-regexp): Add :version.
13937
57939ff4
EZ
139382012-02-18 Eli Zaretskii <eliz@gnu.org>
13939
13940 * international/characters.el (script-list): Sync with the latest
13941 Unicode Character Database.
13942
0c23686e
AS
139432012-02-18 Andreas Schwab <schwab@linux-m68k.org>
13944
13945 * international/titdic-cnv.el: Remove duplicate coding tag.
13946 * language/cham.el: Likewise.
13947 * language/tai-viet.el: Likewise.
13948
6818b449
GM
139492012-02-18 Glenn Morris <rgm@gnu.org>
13950
13951 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
13952 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
13953 (calendar-bahai-all-holidays-flag, calendar-other-dates):
13954 * calendar/diary-lib.el (diary-abbreviated-year-flag):
13955 * calendar/holidays.el (holiday-bahai-holidays)
13956 (calendar-holidays, list-holidays):
13957 Use utf-8 Bahá'í in doc-strings, menus, etc.
13958
0311a3fc
TH
139592012-02-17 Tassilo Horn <tassilo@member.fsf.org>
13960
13961 * saveplace.el (save-place-ignore-files-regexp): New variable
13962 allowing for excluding files from saving their location of point.
13963 The default value matches the temporary commit message editing
13964 files from Git, SVN, Bazaar, and Mercurial.
13965 (save-place-to-alist): Use it.
13966
d209e2fb 139672012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 13968 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
13969
13970 * newcomment.el (uncomment-region-default): Don't leave extra space
13971 when an arg is provided (bug#8150).
13972
ee0ce425
TZ
139732012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
13974
eb864a71 13975 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 13976
95ddf442
GM
139772012-02-17 Glenn Morris <rgm@gnu.org>
13978
13979 * net/socks.el: Require network-stream. (Bug#10599)
13980
48dd1e39 139812012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
13982
13983 * international/charprop.el:
13984 * international/uni-name.el:
13985 * international/uni-old-name.el:
13986 * international/uni-comment.el: Regenerate.
13987
d68cd087
GM
139882012-02-16 Glenn Morris <rgm@gnu.org>
13989
13990 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
13991 Interactively in calendar buffer, give an error if not on a date.
13992
13932042
GM
139932012-02-15 Glenn Morris <rgm@gnu.org>
13994
13995 * shell.el (shell-delimiter-argument-list):
13996 Revert 2011-02-17 change. (Bug#8027)
13997
c3a70e2b
CY
139982012-02-15 Chong Yidong <cyd@gnu.org>
13999
60236b0d
CY
14000 * minibuffer.el (completion-at-point-functions): Doc fix.
14001
c3a70e2b
CY
14002 * custom.el (defcustom): Doc fix; note use of defvar.
14003
9f26dc24
GM
140042012-02-15 Glenn Morris <rgm@gnu.org>
14005
14006 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
14007 Doc fixes.
14008
6546b134
GM
140092012-02-14 Glenn Morris <rgm@gnu.org>
14010
14011 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
14012
d29b2b4c
LI
140132012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
14014
14015 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
14016 way the ports list is computed.
835bdcba
LI
14017 (smtpmail-query-smtp-server): Prompt the user for a port number if
14018 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 14019
08dcdbc9
TZ
140202012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
14021
14022 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
14023
2605051a
GM
140242012-02-13 Glenn Morris <rgm@gnu.org>
14025
14026 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
14027
7ee99f32
TZ
140282012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
14029
14030 * net/gnutls.el (gnutls-trustfiles): New variable.
14031 (gnutls-negotiate): Use it.
14032
5f0af64f
LI
140332012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
14034
14035 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
14036 does its stuff if Gnus is running.
14037
c14fcc95
AM
140382012-02-13 Alan Mackenzie <acm@muc.de>
14039
14040 Fix a loop in c-set-fl-decl-start.
14041
7a71b18d 14042 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
14043 c-backward-syntactic-ws actually moves backwards.
14044
142b4d90
LL
140452012-02-13 Leo Liu <sdl.web@gmail.com>
14046
14047 * net/rcirc.el (rcirc-markup-attributes): Move point to the
14048 beginning so that all \C-o chars are removed.
14049
fa9958a6
TZ
140502012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
14051
dc9924b8 14052 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 14053
0bc5886a
AM
140542012-02-12 Alan Mackenzie <acm@muc.de>
14055
14056 Fix infinite loop with long macros.
4d6769e1 14057 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 14058
d4bd55e7
CY
140592012-02-12 Chong Yidong <cyd@gnu.org>
14060
14061 * window.el (display-buffer): Doc fix (Bug#10785).
14062
66f3fe22
GM
140632012-02-12 Glenn Morris <rgm@gnu.org>
14064
bd7da63e
GM
14065 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
14066 (x-disown-selection-internal, x-get-selection-internal):
14067 Sync docs with the xselect.c versions.
14068
66f3fe22
GM
14069 * allout-widgets.el: Add missing license notice.
14070
3e0d2fa7
GM
140712012-02-11 Glenn Morris <rgm@gnu.org>
14072
cfecdf09
GM
14073 * select.el (x-get-selection-internal, x-own-selection-internal)
14074 (x-disown-selection-internal):
14075 * x-dnd.el (x-get-selection-internal): Update declarations.
14076
6d216d7f
GM
14077 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
14078
2bed3f04
GM
14079 * window.el (window-sides-slots):
14080 * tool-bar.el (tool-bar-position):
14081 * term/xterm.el (xterm-extra-capabilities):
14082 * ses.el (ses-self-reference-early-detection):
14083 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
14084 (verilog-auto-wire-type)
14085 (verilog-auto-delete-trailing-whitespace)
14086 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
14087 (verilog-auto-tieoff-declaration):
14088 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
14089 (sql-oracle-statement-starters, sql-oracle-scan-on):
14090 * progmodes/prolog.el (prolog-align-comments-flag)
14091 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
14092 (prolog-left-indent-regexp, prolog-paren-indent-p)
14093 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
14094 (prolog-types, prolog-mode-specificators)
14095 (prolog-determinism-specificators, prolog-directives)
14096 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
14097 (prolog-electric-dot-flag)
14098 (prolog-electric-dot-full-predicate-template)
14099 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
14100 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
14101 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
14102 (prolog-program-switches, prolog-prompt-regexp)
14103 (prolog-debug-on-string, prolog-debug-off-string)
14104 (prolog-trace-on-string, prolog-trace-off-string)
14105 (prolog-zip-on-string, prolog-zip-off-string)
14106 (prolog-use-standard-consult-compile-method-flag)
14107 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
14108 (prolog-imenu-max-lines, prolog-info-predicate-index)
14109 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
14110 (prolog-char-quote-workaround):
14111 * progmodes/cc-vars.el (c-defun-tactic):
14112 * net/tramp.el (tramp-encoding-command-interactive)
14113 (tramp-local-end-of-line):
14114 * net/soap-client.el (soap-client):
14115 * net/netrc.el (netrc-file):
14116 * net/gnutls.el (gnutls):
14117 * minibuffer.el (completion-category-overrides)
14118 (completion-cycle-threshold)
14119 (completion-pcm-complete-word-inserts-delimiters):
14120 * man.el (Man-name-local-regexp):
14121 * mail/feedmail.el (feedmail-display-full-frame):
14122 * international/characters.el (glyphless-char-display-control):
14123 * eshell/em-ls.el (eshell-ls-date-format):
14124 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
14125 (lisp-lambda-list-keyword-parameter-indentation)
14126 (lisp-lambda-list-keyword-parameter-alignment):
14127 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
14128 * dired-x.el (dired-omit-verbose):
14129 * cus-theme.el (custom-theme-allow-multiple-selections):
14130 * calc/calc.el (calc-highlight-selections-with-faces)
14131 (calc-lu-field-reference, calc-lu-power-reference)
14132 (calc-note-threshold):
14133 * battery.el (battery-mode-line-limit):
14134 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
14135 (archive-7z-update):
14136 * allout.el (allout-prefixed-keybindings)
14137 (allout-unprefixed-keybindings)
14138 (allout-inhibit-auto-fill-on-headline)
14139 (allout-flattened-numbering-abbreviation):
14140 * allout-widgets.el (allout-widgets-auto-activation)
14141 (allout-widgets-icons-dark-subdir)
14142 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
14143 (allout-widgets-theme-dark-background)
14144 (allout-widgets-theme-light-background)
14145 (allout-widgets-item-image-properties-emacs)
14146 (allout-widgets-item-image-properties-xemacs)
14147 (allout-widgets-run-unit-tests-on-load)
14148 (allout-widgets-time-decoration-activity)
14149 (allout-widgets-hook-error-post-time)
14150 (allout-widgets-track-decoration):
14151 Add missing :version tags to new defcustoms and defgroups.
14152
5fec1b8e
GM
14153 * progmodes/sql.el (sql-ansi-statement-starters)
14154 (sql-oracle-statement-starters): Add custom type.
14155
3e0d2fa7
GM
14156 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
14157 (prolog-system-version): Give it a type.
14158
90b671e2
EZ
141592012-02-11 Eli Zaretskii <eliz@gnu.org>
14160
14161 * term/pc-win.el (x-select-text, x-selection-owner-p)
14162 (x-own-selection-internal, x-disown-selection-internal)
14163 (x-get-selection-internal): Sync doc strings and argument lists
14164 with xselect.c, common-win.el and x-win.el. (Bug#10783)
14165
5eac0c02
LL
141662012-02-11 Leo Liu <sdl.web@gmail.com>
14167
14168 * progmodes/python.el (python-end-of-statement): Fix infinite
14169 loop. (Bug#10788)
14170
f82cb659
GM
141712012-02-10 Glenn Morris <rgm@gnu.org>
14172
14173 * international/mule-cmds.el (unify-8859-on-encoding-mode)
14174 (unify-8859-on-decoding-mode): Properly mark as obsolete.
14175
cc26d239
LI
141762012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
14177
14178 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
14179 about SMTP before checking the From header.
14180
91027d08 14181 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
14182 into own function for reuse by emacsbug.el.
14183
1be3ca5a
LL
141842012-02-10 Leo Liu <sdl.web@gmail.com>
14185
14186 * subr.el (condition-case-unless-debug): Rename from
14187 condition-case-no-debug. All callers changed.
14188 (with-demoted-errors): Fix caller.
14189
14190 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
14191 * nxml/rng-valid.el (rng-do-some-validation):
14192 * emacs-lisp/package.el (package-refresh-contents)
14193 (package-menu-execute):
14194 * desktop.el (desktop-create-buffer):
91027d08 14195 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 14196
b011fbfe
GM
141972012-02-10 Glenn Morris <rgm@gnu.org>
14198
b2096d72
GM
14199 * textmodes/bibtex.el:
14200 Add missing :version tags for new/changed defcustoms.
14201
b011fbfe
GM
14202 * files.el (remote-file-name-inhibit-cache): Doc fixes.
14203
4c7e65bf
LI
142042012-02-09 Lars Ingebrigtsen <larsi@rusty>
14205
14206 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
14207 (smtpmail-via-smtp): Use it, or fall back on the From address.
14208 (smtpmail-send-it): Ditto.
14209
f3934f6f
SM
142102012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
14211
14212 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
14213 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
14214 (byte-compile-tmp-var): New const.
14215 (byte-compile-defvar): Use it to minimize .elc size.
14216 Just use `defvar' rather than simulate it (bug#10761).
14217
a075a2c5
GM
142182012-02-09 Glenn Morris <rgm@gnu.org>
14219
cf3aa21b
GM
14220 * files.el (rename-uniquely): Doc fix. (Bug#3806)
14221
354998cd
GM
14222 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
14223 Add :version tags.
14224
dc9924b8
SM
14225 * progmodes/compile.el (compilation-error-screen-columns)
14226 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 14227
dab3703d
GM
14228 * vc/log-view.el (log-view-toggle-entry-display):
14229 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
14230
3f88cd72
GM
14231 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
14232 (report-emacs-bug-can-use-xdg-email):
14233 (report-emacs-bug-insert-to-mailer): Doc fixes.
14234 (report-emacs-bug): Message fix.
14235
d95b247d
GM
14236 * net/browse-url.el (browse-url-can-use-xdg-open)
14237 (browse-url-xdg-open): Doc fixes.
14238
a075a2c5
GM
14239 * electric.el (electric-indent-mode, electric-pair-mode)
14240 (electric-layout-rules, electric-layout-mode): Doc fixes.
14241 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
14242
ffb6157e
MR
142432012-02-08 Martin Rudalics <rudalics@gmx.at>
14244
14245 * server.el (server-unselect-display): Don't inadvertently kill
14246 the current buffer. (Bug#10729)
14247
e1ac4066
GM
142482012-02-08 Glenn Morris <rgm@gnu.org>
14249
34e8a2da
GM
14250 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
14251 (sql-list-table): Doc fixes.
14252
b4ac6e8c
GM
14253 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
14254 Comment out (does nothing).
14255
e1ac4066
GM
14256 * completion.el (dynamic-completion-mode):
14257 * dirtrack.el (dirtrack-debug-mode):
14258 * electric.el (electric-layout-mode):
14259 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
14260 * face-remap.el (text-scale-mode, buffer-face-mode):
14261 * iimage.el (iimage-mode):
14262 * image-mode.el (image-transform-mode):
14263 * minibuffer.el (completion-in-region-mode):
14264 * scroll-lock.el (scroll-lock-mode):
14265 * simple.el (next-error-follow-minor-mode):
14266 * tar-mode.el (tar-subfile-mode):
14267 * tooltip.el (tooltip-mode):
14268 * vcursor.el (vcursor-use-vcursor-map):
14269 * wid-browse.el (widget-minor-mode):
14270 * emulation/tpu-edt.el (tpu-edt-mode):
14271 * emulation/tpu-extras.el (tpu-cursor-free-mode):
14272 * international/iso-ascii.el (iso-ascii-mode):
14273 * language/thai-util.el (thai-word-mode):
14274 * mail/supercite.el (sc-minor-mode):
14275 * net/goto-addr.el (goto-address-mode):
14276 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
14277 * progmodes/cwarn.el (cwarn-mode):
14278 * progmodes/flymake.el (flymake-mode):
14279 * progmodes/glasses.el (glasses-mode):
14280 * progmodes/hideshow.el (hs-minor-mode):
14281 * progmodes/pascal.el (pascal-outline-mode):
14282 * textmodes/enriched.el (enriched-mode):
14283 * vc/smerge-mode.el (smerge-mode):
14284 Doc fixes (minor mode argument).
14285
5e0d957f
EZ
142862012-02-07 Eli Zaretskii <eliz@gnu.org>
14287
14288 * ls-lisp.el (ls-lisp-sanitize): New function.
14289 (ls-lisp-insert-directory): Use it to fix or remove any elements
14290 in file-alist with missing attributes. (Bug#4673)
14291
98d7371e
AM
142922012-02-07 Alan Mackenzie <acm@muc.de>
14293
14294 Fix spurious recognition of c-in-knr-argdecl.
14295
14296 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
14297 putative K&R region.
14298
667ced3a
AM
142992012-02-07 Alan Mackenzie <acm@muc.de>
14300
eb864a71
LM
14301 * progmodes/cc-engine.el (c-forward-objc-directive):
14302 Prevent looping in "#pragma mark @implementation".
667ced3a 14303
5b77774d
MA
143042012-02-07 Michael Albinus <michael.albinus@gmx.de>
14305
14306 * notifications.el (notifications-on-closed-signal): Make `reason'
14307 optional. (Bug#10744)
14308
af008560
GM
143092012-02-07 Glenn Morris <rgm@gnu.org>
14310
60d47423
GM
14311 * emacs-lisp/easy-mmode.el (define-minor-mode):
14312 Doc fixes for the macro and the mode it defines.
14313
dd605cc4
GM
14314 * image.el (imagemagick-types-inhibit): Doc fix.
14315
af008560
GM
14316 * cus-start.el (imagemagick-render-type): Add it.
14317
5cc59a37
LI
143182012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
14319
4d6769e1
JB
14320 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
14321 Set the default at load time, too, so that `font-lock-fontify-buffer'
14322 can be called without setting up the entire mode first. This fixes
14323 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 14324
9a6dd747
CY
143252012-02-06 Chong Yidong <cyd@gnu.org>
14326
2d16b285
CY
14327 * simple.el (list-processes--refresh): Delete exited processes
14328 (Bug#8094).
14329
171e9b6e
CY
14330 * comint.el (comint-next-prompt): next-single-char-property-change
14331 and prev-single-char-property-change never return nil (Bug#8657).
14332
9a6dd747
CY
14333 * custom.el (defcustom): Doc fix (Bug#9711).
14334
aa4589a7
CY
143352012-02-05 Chong Yidong <cyd@gnu.org>
14336
5c2a252f
CY
14337 * cus-edit.el (custom-variable-reset-backup): Quote the value
14338 before storing it in the customized-value property (Bug#6712).
4aab9006 14339 (custom-display): Add a customization type tag.
983b9602 14340 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 14341
aa4589a7
CY
14342 * wid-edit.el (widget-field-value-get): New optional arg to
14343 suppress trailing whitespace truncation.
14344 (character): Use it (Bug#2689).
14345
1ff980ae
AS
143462012-02-05 Andreas Schwab <schwab@linux-m68k.org>
14347
14348 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
14349 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
14350
03988c98
CY
143512012-02-05 Chong Yidong <cyd@gnu.org>
14352
eeb6cc88
CY
14353 * cus-edit.el (custom-variable-value-create): For mismatched
14354 types, show the current value (Bug#7600).
14355
03988c98
CY
14356 * custom.el (defcustom): Doc fix.
14357
f8cdeef0
GM
143582012-02-05 Glenn Morris <rgm@gnu.org>
14359
14360 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
14361
0696d255
JB
143622012-02-05 Juanma Barranquero <lekktu@gmail.com>
14363
14364 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
14365 (pp-buffer): Use `ignore-errors', `looking-at-p'.
14366 (pp-last-sexp): Use `looking-at-p'.
14367
34c99998
GM
143682012-02-04 Glenn Morris <rgm@gnu.org>
14369
8f05da42
GM
14370 * files.el (revert-buffer):
14371 Doc fix (mention revert-buffer-in-progress-p).
14372
f160676e
GM
14373 * emacs-lisp/ert-x.el (ert-simulate-command):
14374 Check deferred-action-list (which is obsolete) is bound.
14375
c7291ad9
GM
14376 * subr.el (with-wrapper-hook): Doc fixes.
14377
34c99998
GM
14378 * simple.el (filter-buffer-substring-functions)
14379 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
14380
6283a7d3
LL
143812012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
14382
14383 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
14384 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
14385
e96e3013
LL
143862012-02-04 Leo Liu <sdl.web@gmail.com>
14387
14388 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
14389
8ded50f2
GM
143902012-02-04 Glenn Morris <rgm@gnu.org>
14391
82ff1d13
GM
14392 * image.el (image-extension-data): Add obsolete alias.
14393
987a0a16
GM
14394 * isearch.el (isearch-update): Doc fix.
14395
ea32ef46
GM
14396 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
14397
8ded50f2
GM
14398 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
14399
eea14f31
GM
144002012-02-03 Glenn Morris <rgm@gnu.org>
14401
14402 * image.el (image-animated-p): Doc fix. Use image-animated-types.
14403 (image-animate-timeout): Doc fix.
14404
14405 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
14406
12f381b7
GM
144072012-02-02 Glenn Morris <rgm@gnu.org>
14408
953cebf5
GM
14409 * server.el (server-auth-dir): Doc fix.
14410 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
14411
12f381b7
GM
14412 * subr.el (run-mode-hooks): Doc fix.
14413
953a8c3b
JL
144142012-02-02 Juri Linkov <juri@jurta.org>
14415
14416 * image-mode.el (image-toggle-display-image): Remove tautological
14417 `major-mode' from the `derived-mode-p' test.
14418
c5d3843c
KH
144192012-02-02 Kenichi Handa <handa@m17n.org>
14420
9f6e692e 14421 * composite.el (compose-region): Cancel previous change.
c5d3843c 14422
159462d4 144232012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
14424
14425 * composite.el (compose-region, compose-string): Signal error for
14426 a null string component (Bug#6988).
14427
9f562668
CY
144282012-02-01 Chong Yidong <cyd@gnu.org>
14429
e2cef717
CY
14430 * view.el (view-buffer-other-window, view-buffer-other-frame):
14431 Handle special modes like view-buffer (Bug#10650).
14432 (view-buffer): Simplify.
14433
9f562668
CY
14434 * frame.el (set-frame-font): Tweak meaning of third argument.
14435
9f6e692e
JB
14436 * dynamic-setting.el (font-setting-change-default-font):
14437 Use set-frame-font (Bug#9982).
9f562668 14438
781acb9f
GM
144392012-02-01 Glenn Morris <rgm@gnu.org>
14440
6035be52
GM
14441 * progmodes/compile.el (compilation-internal-error-properties):
14442 Respect compilation-first-column in the "*compilation*" buffer.
14443
781acb9f
GM
14444 * emacs-lisp/easy-mmode.el (define-minor-mode):
14445 Relax :variable's test for a named function.
14446
abbceb00
AM
144472012-01-31 Alan Mackenzie <acm@muc.de>
14448
14449 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
14450 off by one error.
14451
fce3fdeb
CY
144522012-01-31 Chong Yidong <cyd@gnu.org>
14453
14454 * frame.el (set-frame-font): New arg ALL-FRAMES.
14455
14456 * menu-bar.el (menu-set-font): Use set-frame-font.
14457
14458 * faces.el (face-spec-reset-face): Don't apply unspecified
14459 attribute values to the default face.
14460
47893581
JB
144612012-01-31 Juanma Barranquero <lekktu@gmail.com>
14462
14463 * progmodes/cwarn.el (cwarn): Remove dead link.
14464 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
14465 Remove * from defcustom docstrings.
14466 (turn-on-cwarn-mode): Make obsolete.
14467 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
14468 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
14469
e58e988a
GM
144702012-01-31 Glenn Morris <rgm@gnu.org>
14471
60dc2671 14472 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 14473 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 14474 Allow named functions to be used as the cdr of :variable.
e58e988a 14475
7a3f511d
GM
144762012-01-30 Glenn Morris <rgm@gnu.org>
14477
14478 * emacs-lisp/authors.el (authors-fixed-entries):
14479 Remove reference to deleted file rnewspost.el.
14480
cb882333
JB
144812012-01-29 Juanma Barranquero <lekktu@gmail.com>
14482
14483 * window.el (window-with-parameter): Remove unused variable `windows'.
14484 (window--side-check): Remove unused variable `code'.
14485 (window--resize-siblings): Remove unused variable `first'.
14486 (adjust-window-trailing-edge): Remove unused variable `failed'.
14487 (window-deletable-p, window--delete): Remove unused variable `buffer'.
14488 Use `let', not `let*'.
14489 (balance-windows-2): Remove unused variable `found'.
14490 (window--state-put-2): Remove unused variable `splits'.
14491 (window-state-put): Remove unused variable `selected'.
14492 (same-window-p): Use `string-match-p'.
14493 (display-buffer-assq-regexp): Remove unused variable `value'.
14494 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
14495 Mark argument ALIST as ignored.
14496 (pop-to-buffer): Remove unused variable `old-window'.
14497
907201af
EZ
144982012-01-29 Eli Zaretskii <eliz@gnu.org>
14499
14500 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
14501 and .lzma compressed files.
14502
ea162670
CY
145032012-01-29 Chong Yidong <cyd@gnu.org>
14504
5b95ee8a
CY
14505 * frame.el (window-system-default-frame-alist): Doc fix.
14506
ea162670
CY
14507 * dynamic-setting.el (font-setting-change-default-font): Don't
14508 change the default face if SET-FONT argument is non-nil (Bug#9982).
14509
6fccd6e8 145102012-01-29 Samuel Bronson <naesten@gmail.com>
d6e6f4b1
SB
14511
14512 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
14513
0f29fa41 145142012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
14515
14516 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
14517 breakpoints in files outside current directory (Bug#6098).
14518
db174434
CY
145192012-01-29 Chong Yidong <cyd@gnu.org>
14520
6b25e4e2
SE
14521 * progmodes/python.el: Require ansi-color at top-level.
14522
6df6ae42
JB
14523 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
14524 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
14525 (lisp-mode-abbrev-table): Add doc.
14526 (lisp-mode-variables): Don't set local-abbrev-table.
14527 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
14528
e70ee681
RW
145292012-01-28 Roland Winkler <winkler@gnu.org>
14530
14531 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
14532
ace88aa2
RW
145332012-01-28 Roland Winkler <winkler@gnu.org>
14534
14535 * textmodes/bibtex.el (bibtex-entry-alist): New function.
14536 (bibtex-set-dialect): Use it. Either set global values of
14537 dialect-dependent variables or bind these variables buffer-locally
14538 (Bug#10254).
14539 (bibtex-mode): Call bibtex-set-dialect via
14540 hack-local-variables-hook.
eb864a71
LM
14541 (bibtex-dialect): Update docstring.
14542 Add safe-local-variable predicate.
ace88aa2
RW
14543 (bibtex-entry-alist, bibtex-field-alist): Initialize via
14544 bibtex-set-dialect.
14545 (bibtex-mode-map): Define menu for each dialect.
14546 (bibtex-entry): Fix docstring.
14547
93376c5b
CY
145482012-01-28 Chong Yidong <cyd@gnu.org>
14549
14550 * eshell/esh-arg.el (eshell-quote-argument): New function.
14551
14552 * eshell/esh-ext.el (eshell-invoke-batch-file):
14553 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
14554 first arg to eshell-parse-command (Bug#10523).
14555
4372494f
DA
145562012-01-28 Drew Adams <drew.adams@oracle.com>
14557
14558 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
14559 `default-directory' is non-nil.
14560
4d4ec1f8
EZ
145612012-01-28 Eli Zaretskii <eliz@gnu.org>
14562
14563 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
14564 line that displays system-configuration-options. (Bug#9924)
14565
7c188927
DA
145662012-01-28 Drew Adams <drew.adams@oracle.com>
14567
14568 * descr-text.el (describe-char): Show information about POS, in
14569 addition to information about the character at POS. Improve and
14570 update the doc string. Change "code point" to "code point in
14571 charset", to avoid confusion with the character's Unicode code
14572 point shown above that. (Bug#10129)
14573
e0da685a
EZ
145742012-01-28 Eli Zaretskii <eliz@gnu.org>
14575
14576 * descr-text.el (describe-char): Show the raw character, not only
14577 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
14578 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
14579 for the reasons.
14580
70550acf
PH
145812012-01-28 Phil Hagelberg <phil@hagelb.org>
14582
eb864a71
LM
14583 * emacs-lisp/package.el (package-install):
14584 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 14585
0ce8e868
CY
145862012-01-28 Chong Yidong <cyd@gnu.org>
14587
cb882333
JB
14588 * emacs-lisp/package.el (package-maybe-load-descriptor):
14589 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
14590 (package-maybe-load-descriptor): Use it.
14591 (package-download-transaction): Fully load required packages
14592 inside the loop, so that `require' calls work (Bug#10593).
14593 (package-install): No need to call package-initialize now.
14594
2e7f3bea
CY
145952012-01-28 Chong Yidong <cyd@gnu.org>
14596
6e9bad14
CY
14597 * simple.el (deactivate-mark): Doc fix (Bug#8614).
14598
f823b8ca
CY
14599 * tooltip.el (tooltip-mode): Doc fix.
14600 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
14601
2680c309
CY
14602 * frame.el (set-cursor-color): Doc fix (Bug#352).
14603
d7a9e63b
CY
14604 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
14605 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
14606
2e7f3bea
CY
14607 * cus-edit.el (custom-buffer-create-internal): Fix search button
14608 action (Bug#10542).
2ae01800 14609 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 14610
fc4f7a23
EW
146112012-01-27 Eduard Wiebe <usenet@pusto.de>
14612
14613 * dired.el (dired-mark-files-regexp):
14614 Include any subdirectory components. (Bug#10445)
14615
7dd37071
ML
146162012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
14617
14618 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
14619 Handle [host]:port syntax. (Bug#10533)
14620
a268160b
AH
146212012-01-27 Alex Harsanyi <harsanyi@mac.com>
14622
14623 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
14624
e43273ef
GM
146252012-01-26 Glenn Morris <rgm@gnu.org>
14626
14627 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
14628 * term.el (term-raw-escape-map): Use Control-X-prefix.
14629 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
14630
1edf595d
MR
146312012-01-25 Martin Rudalics <rudalics@gmx.at>
14632
14633 * window.el (window-state-get, window--state-get-1): Don't deal
14634 with fixed-sizeness of windows. Simplify code.
14635
fa8eafef
JC
146362012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
14637
6df6ae42
JB
14638 * window.el (window--state-get-1, window--state-put-2):
14639 Don't save and restore the mark.
fa8eafef 14640
0b21c100
CY
146412012-01-25 Chong Yidong <cyd@gnu.org>
14642
14643 * custom.el (custom-variable-p): Doc fix.
14644
5ae1a6c8
GM
146452012-01-25 Glenn Morris <rgm@gnu.org>
14646
40047858
GM
14647 * dired.el (dired-goto-file): Handle some of the more common
14648 characters that `ls -b' escapes. (Bug#10596)
14649
5ddce96c
GM
14650 * progmodes/compile.el (compilation-next-error-function):
14651 Respect compilation-first-column in the "*compilation*" buffer.
14652 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
14653
5ae1a6c8
GM
14654 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
14655
b559f1a9
GM
146562012-01-24 Glenn Morris <rgm@gnu.org>
14657
14658 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
14659
6725d21a
JD
146602012-01-24 Julien Danjou <julien@danjou.info>
14661
14662 * color.el (color-rgb-to-hsl): Fix value computing.
14663 (color-hue-to-rgb): New function.
14664 (color-hsl-to-rgb): New function.
14665 (color-clamp, color-saturate-hsl, color-saturate-name)
14666 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
14667 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
14668
70df4bbe
GM
146692012-01-24 Glenn Morris <rgm@gnu.org>
14670
14671 * vc/vc-rcs.el (vc-rcs-create-tag):
14672 * vc/vc-sccs.el (vc-sccs-create-tag):
14673 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
14674
802a2ae2
ML
146752012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
14676
14677 * eshell/esh-util.el (eshell-read-hosts-file):
14678 Skip comment lines. (Bug#10549)
14679
d7128bb1
ML
14680 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
14681
d1a5c3b4
JB
146822012-01-23 Juanma Barranquero <lekktu@gmail.com>
14683
2724d9c7
JB
14684 * subr.el (display-delayed-warnings): Doc fix.
14685 (collapse-delayed-warnings): New function to collapse identical
14686 adjacent warnings.
14687 (delayed-warnings-hook): Add it.
d1a5c3b4 14688
a5509865
MA
146892012-01-22 Michael Albinus <michael.albinus@gmx.de>
14690
14691 * net/tramp.el (tramp-action-login): Set connection property "login-as".
14692
a5509865
MA
14693 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
14694 (tramp-default-user-alist): Don't add "pscp".
14695 (tramp-do-copy-or-rename-file-out-of-band): Use connection
14696 property "login-as", if set. (Bug#10530)
14697
cc6d5805
MA
146982012-01-21 Michael Albinus <michael.albinus@gmx.de>
14699
14700 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
14701 "plink1" and "psftp". (Bug#10530)
14702
147032012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
14704
14705 * international/mule-cmds.el (prefer-coding-system): Show a
14706 warning message if the default value of file-name-coding-system
14707 was not changed.
14708
f0960428
JC
147092012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
14710
cb882333
JB
14711 * windmove.el (windmove-reference-loc):
14712 Fix windmove-reference-loc miscalculation.
f0960428 14713
dd6f2a63
JB
147142012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
14715
14716 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
14717 default unit.
14718
7b447e9b
GM
147192012-01-21 Glenn Morris <rgm@gnu.org>
14720
117a9ea1
GM
14721 * international/mule.el (auto-coding-alist): Add .tbz.
14722
7b447e9b
GM
14723 * files.el (local-enable-local-variables): Doc fix.
14724 (inhibit-local-variables-regexps): Rename from
14725 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
14726 Doc fix. Add some extensions from auto-coding-alist.
14727 (inhibit-local-variables-suffixes):
14728 Rename from inhibit-first-line-modes-suffixes. Doc fix.
14729 (inhibit-local-variables-p):
14730 New function, extracted from set-auto-mode-1.
14731 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
14732 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
14733 (hack-local-variables): Doc fix. Make the mode-only case
14734 respect enable-local-variables and friends.
14735 Respect inhibit-local-variables-regexps for file-locals, but
14736 not for directory-locals.
14737 (set-visited-file-name):
14738 Take account of inhibit-local-variables-regexps.
14739 Whether it applies may change as the file name is changed.
14740 * jka-cmpr-hook.el (jka-compr-install):
14741 * jka-compr.el (jka-compr-uninstall):
14742 Update for inhibit-first-line-modes-suffixes name change.
14743
dd6e3cdd
MR
147442012-01-20 Martin Rudalics <rudalics@gmx.at>
14745
14746 * help-macro.el (make-help-screen): Temporarily restore original
14747 binding for minor-mode-map-alist (Bug#10454).
14748
0d0deb38
JD
147492012-01-19 Julien Danjou <julien@danjou.info>
14750
14751 * color.el (color-name-to-rgb): Use the white color to find the max
14752 color component value and return correctly computed values.
14753 (color-name-to-rgb): Add missing float conversion for max value.
14754
34a02f46
MR
147552012-01-19 Martin Rudalics <rudalics@gmx.at>
14756
14757 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
14758 special state value for window-persistent-parameters.
14759 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
14760 (window--state-put-2): Reset all window parameters to nil before
14761 assigning values of persistent parameters.
14762
606c44c4
AM
147632012-01-18 Alan Mackenzie <acm@muc.de>
14764
14765 Eliminate sluggishness and hangs in fontification of "semicolon
14766 deserts".
14767
cb882333
JB
14768 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
14769 Change value 10000 -> 3000.
606c44c4
AM
14770 (c-state-safe-place): Reformulate so it doesn't stack up an
14771 infinite number of wrong entries in c-state-nonlit-pos-cache.
14772 (c-determine-limit-get-base, c-determine-limit): New functions to
14773 determine backward search limits disregarding literals.
14774 (c-find-decl-spots): Amend commenting.
14775 (c-cheap-inside-bracelist-p): New function which detects "={".
14776
14777 * progmodes/cc-fonts.el
14778 (c-make-font-lock-BO-decl-search-function): Give a limit to a
14779 backward search.
14780 (c-font-lock-declarations): Fix an occurrence of point being
14781 undefined. Check additionally for point being in a bracelist or
14782 near a macro invocation without a semicolon so as to avoid a
14783 fruitless time consuming search for a declarator. Give a more
14784 precise search limit for declarators using the new
14785 c-determine-limit.
14786
f3860cea
GM
147872012-01-18 Glenn Morris <rgm@gnu.org>
14788
14789 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
14790 (set-auto-mode): Doc fixes.
14791
1db03b16
GM
147922012-01-17 Glenn Morris <rgm@gnu.org>
14793
0e6038be
GM
14794 * isearch.el (search-nonincremental-instead): Fix doc typo.
14795
1db03b16
GM
14796 * dired.el (dired-insert-directory): Handle newlines in directory name.
14797 (dired-build-subdir-alist): Unescape newlines in directory name.
14798
4cb0aa75
MA
147992012-01-17 Michael Albinus <michael.albinus@gmx.de>
14800
14801 * net/tramp.el (tramp-local-end-of-line): New defcustom.
14802 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
14803 (tramp-action-terminal): Use it. (Bug#10530)
14804
1d00653d
SM
148052012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
14806
14807 * minibuffer.el (completion--replace): Strip properties (bug#10062).
14808
6a6ee00d
MR
148092012-01-16 Martin Rudalics <rudalics@gmx.at>
14810
14811 * window.el (window-state-ignored-parameters): Remove variable.
14812 (window--state-get-1): Rename argument MARKERS to IGNORE.
14813 Handle persistent window parameters. Make copy of clone-of
14814 parameter only if requested. (Bug#10348)
14815 (window--state-put-2): Install a window parameter only if it has
14816 a non-nil value or an existing parameter shall be overwritten.
14817
97912def
MA
148182012-01-15 Michael Albinus <michael.albinus@gmx.de>
14819
14820 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
14821
688070a5
EZ
148222012-01-14 Eli Zaretskii <eliz@gnu.org>
14823
14824 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
14825 don't pass the (nil) value of `upnode' to string-match.
14826
301afadc
CY
148272012-01-14 Chong Yidong <cyd@gnu.org>
14828
14829 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 14830 Fix values recognized by the cursorBlink resource.
301afadc 14831
9e5788aa
PE
148322012-01-14 Paul Eggert <eggert@cs.ucla.edu>
14833
14834 * epg.el (epg--make-temp-file): Avoid permission race condition
14835 when running on old Emacs versions (bug#10403).
14836
3cdb7f5a
GM
148372012-01-14 Glenn Morris <rgm@gnu.org>
14838
14839 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
14840
8c82b1b4
AM
148412012-01-13 Alan Mackenzie <acm@muc.de>
14842
14843 Fix filling for when filladapt mode is enabled.
14844
14845 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
14846 c-mask-paragraph, pass in `fill-paragraph' rather than
14847 `fill-region-as-paragraph'. (This is a reversion of a previous
14848 change.)
eb864a71
LM
14849 * progmodes/cc-mode.el (c-basic-common-init):
14850 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 14851
e517eda4
GM
148522012-01-13 Glenn Morris <rgm@gnu.org>
14853
1498536e
GM
14854 * dired.el (dired-switches-escape-p): New function.
14855 (dired-insert-directory): Use dired-switches-escape-p.
14856 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
14857
e517eda4
GM
14858 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
14859
328f984d
GM
148602012-01-12 Glenn Morris <rgm@gnu.org>
14861
14862 * mail/sendmail.el (mail-mode): Update paragraph-separate for
14863 changes in adaptive-fill-regexp. (Bug#10276)
14864
2cc769a8
AM
148652012-01-11 Alan Mackenzie <acm@muc.de>
14866
14867 Fix Emacs bug #10463 - put `widen's around the critical spots.
14868
1d00653d 14869 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
14870 widen around each invocation of c-state-pp-to-literal. Remove an
14871 unused let variable.
14872
e52c37fa
GM
148732012-01-11 Glenn Morris <rgm@gnu.org>
14874
14875 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 14876 Doc fix.
e52c37fa 14877
96f8741e
CY
148782012-01-10 Chong Yidong <cyd@gnu.org>
14879
1d00653d
SM
14880 * net/network-stream.el (network-stream-open-starttls):
14881 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
14882 response to the capability command.
14883
b09a806e
GM
148842012-01-10 Glenn Morris <rgm@gnu.org>
14885
14886 * mail/unrmail.el (unrmail): Tweak previous change.
14887
7655cb66
CY
148882012-01-09 Chong Yidong <cyd@gnu.org>
14889
14890 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
14891
9d5a8f0b
AM
148922012-01-08 Alan Mackenzie <acm@muc.de>
14893
677d5c92 14894 Optimize font locking in long enum definitions.
9d5a8f0b
AM
14895
14896 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
14897 arm to a cond form to handle enums.
14898 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
14899 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
14900
9a0115ab 149012012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
14902
14903 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 14904 (Bug#10401)
6bb72cbd 14905
f186bb95
LMI
149062012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
14907
29232a68
LMI
14908 * faces.el (set-face-attribute): Clarify the meaning of the nil
14909 frame (bug#10294).
14910
4e5d086d
LMI
14911 * subr.el (with-selected-frame): Mention that the selected frame
14912 is restored (bug#9980).
14913
8e66aebe
LMI
14914 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
14915 (bug#9759).
14916
cd394be1 14917 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
14918 (password-read): Don't autoload unused function.
14919
adf4e762
JB
149202012-01-07 Juanma Barranquero <lekktu@gmail.com>
14921
14922 * progmodes/which-func.el (which-func-mode): Turn into a
14923 non-interactive function and mark as obsolete (bug#10428).
14924
89bd9ccd
CY
149252012-01-06 Chong Yidong <cyd@gnu.org>
14926
14927 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
14928 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
14929 functions, along with 1 and -1.
14930
4afee9d5
EZ
149312012-01-06 Eli Zaretskii <eliz@gnu.org>
14932
14933 * time.el (display-time-load-average)
14934 (display-time-default-load-average): Doc fixes. See the thread
14935 starting at
14936 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
14937 for the details.
14938
536aea70
GM
149392012-01-06 Glenn Morris <rgm@gnu.org>
14940
665ae865
GM
14941 * mail/unrmail.el (unrmail): Give an explicit error if the input file
14942 has no messages. (Bug#10377)
14943
c869783d
GM
14944 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
14945 than Info-edit. (Bug#10385)
14946
2bb4227e
GM
14947 * time.el (display-time-load-average, display-time-next-load-average):
14948 Doc fixes.
14949
7d5944b9
GM
14950 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
14951 local setting of buffer-read-only to the input buffer. (Bug#10419)
14952
536aea70
GM
14953 * calendar/calendar.el (calendar-mode):
14954 Locally set scroll-margin to 0. (Bug#10379)
14955
7dccca16
UM
149562012-01-06 Ulrich Mueller <ulm@gentoo.org>
14957
14958 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
14959
afbb7930
GM
149602012-01-05 Glenn Morris <rgm@gnu.org>
14961
14962 * eshell/em-unix.el (diff-no-select): Autoload it.
14963 (eshell/diff): Use diff-no-select. (Bug#10420)
14964
04482335
CY
149652012-01-05 Chong Yidong <cyd@gnu.org>
14966
7baca3bc
CY
14967 * shell.el (shell-dynamic-complete-functions): Revert last change.
14968 (shell-command-completion-function): New function.
14969 (shell-completion-vars): Use it to implement
14970 shell-completion-execonly (Bug#10417).
14971
04482335
CY
14972 * custom.el (enable-theme): Don't set custom-safe-themes.
14973
1d00653d
SM
14974 * cus-theme.el (custom-theme-merge-theme):
14975 Ignore custom-enabled-themes and custom-safe-themes.
04482335 14976
bb5aa5d6
MM
149772012-01-05 Michael R. Mauger <mmaug@yahoo.com>
14978
14979 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
14980 first prompt in `sql-interacive-mode'.
14981 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 14982 keywords.
6df6ae42 14983 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
14984 (sql-product-interactive): Bug fix: Set `sql-buffer' in
14985 context of original buffer. Invoke `sql-login-hook'.
14986
a7183d7c
EZ
149872012-01-04 Eli Zaretskii <eliz@gnu.org>
14988
14989 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
14990 letters in cite-prefix.
14991
a1eacd1e
LMI
149922012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14993
14994 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
14995
787cdb34
CY
149962012-01-03 Chong Yidong <cyd@gnu.org>
14997
1d00653d
SM
14998 * shell.el (shell-dynamic-complete-functions):
14999 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
15000 comint-filename-completion first (Bug#10417).
15001
30710442
RS
150022012-01-02 Richard Stallman <rms@gnu.org>
15003
15004 * battery.el (battery-status-function):
15005 Detect when to use battery-yeeloong-sysfs.
15006 (battery-echo-area-format): Add string for Yeeloong.
15007 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
15008 (battery-yeeloong-sysfs): New function.
15009
f75bfc33
CY
150102012-01-02 Chong Yidong <cyd@gnu.org>
15011
15012 * dirtrack.el (dirtrack-list): Eliminate unused third element.
15013 (dirtrack): Merge code for handling relative filenames in prompt
15014 from shell-dir-cookie-watcher.
15015 (dirtrack-debug-message): New arg to avoid excess format calls.
15016
15017 * shell.el (shell-dir-cookie-re): Variable deleted.
15018 (shell-dir-cookie-watcher): Function deleted.
15019 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
15020 with dirtrack-mode.
15021
651e947e
EZ
150222012-01-01 Eli Zaretskii <eliz@gnu.org>
15023
1d00653d
SM
15024 * term/w32-win.el (dynamic-library-alist) <gnutls>:
15025 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
15026 libgnutls-26.dll.
15027
94d4c7dc
AS
150282011-12-31 Andreas Schwab <schwab@linux-m68k.org>
15029
15030 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
15031
8d43f3cd
EZ
150322011-12-31 Eli Zaretskii <eliz@gnu.org>
15033
15034 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
15035 headers of non-MIME messages, when rmail-enable-mime is non-nil.
15036
98c8795a
MA
150372011-12-29 Michael Albinus <michael.albinus@gmx.de>
15038
15039 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
15040 also for alternative shells.
15041 (tramp-open-connection-setup-interactive-shell): Check, whether
15042 the shell is a busybox.
15043 (tramp-send-command): Don't suppress multiple prompts for
15044 busyboxes, it hurts.
15045
51281b32
CY
150462011-12-28 Chong Yidong <cyd@gnu.org>
15047
15048 * progmodes/gdb-mi.el (gdb-get-source-file-list)
15049 (gdb-get-source-file): Move mode line update to
15050 gdb-get-source-file (Bug#10087).
15051
2170cb53
CY
150522011-12-25 Chong Yidong <cyd@gnu.org>
15053
15054 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
15055 gud-gdb-marker-filter without taking it as an argument.
15056 (gud-gdb-run-command-fetch-lines): Caller changed.
15057 (gud-gdb-completion-function): New variable.
15058 (gud-gdb-completion-at-point): Use it.
15059 (gud-gdb-completions-1): Split from gud-gdb-completions.
15060
15061 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
15062 function as separate arguments.
15063 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
15064 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
15065 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
15066 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
15067 (gdb-stopped, def-gdb-auto-update-trigger)
15068 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
15069 (gdb-get-changed-registers, gdb-get-main-selected-frame):
15070 Callers changed.
2170cb53
CY
15071 (gud-gdbmi-completions): New function.
15072 (gdb): Use it for generating the completion table.
15073
be8b11bb
AM
150742011-12-24 Alan Mackenzie <acm@muc.de>
15075
15076 Introduce a mechanism to widen the region used in context font
1d00653d 15077 locking. Use this to protect declarations from losing their contexts.
be8b11bb 15078
1d00653d
SM
15079 * progmodes/cc-langs.el (c-before-font-lock-functions):
15080 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 15081 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
15082 functions to be run just before context (etc.) font locking.
15083
15084 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 15085 New, functionality extracted from
be8b11bb 15086 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 15087 (c-in-after-change-fontification): New variable.
be8b11bb
AM
15088 (c-after-change): Set c-in-after-change-fontification.
15089 (c-set-fl-decl-start): Rejig its interface, so it can be called
15090 from both after-change and context fontifying.
b81d40f0
JB
15091 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
15092 New functions.
15093 (c-standard-font-lock-fontify-region-function): New variable.
15094 (c-font-lock-fontify-region): New function.
be8b11bb 15095
341cf6ac
JL
150962011-12-24 Juri Linkov <juri@jurta.org>
15097
15098 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
15099 (Bug#10348)
15100
bffcee0a
MA
151012011-12-23 Michael Albinus <michael.albinus@gmx.de>
15102
15103 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
15104 existence of source file. (Bug#10325)
15105
cb5e207c
AM
151062011-12-23 Alan Mackenzie <acm@muc.de>
15107
15108 Fix unstable fontification inside templates.
15109
b81d40f0
JB
15110 * progmodes/cc-langs.el (c-before-font-lock-functions):
15111 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
15112 additionally has c-set-fl-decl-start. The other languages (apart
15113 from AWK) have that as a single entry.
15114
b81d40f0
JB
15115 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
15116 The functionality for "local" declarations has been extracted to
cb5e207c
AM
15117 c-set-fl-decl-start.
15118
b81d40f0
JB
15119 * progmodes/cc-mode.el (c-common-init, c-after-change):
15120 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
15121 (c-set-fl-decl-start): New function, extracted from
15122 c-font-lock-enclosing-decls and enhanced.
15123
60ff536c
JB
151242011-12-23 Juanma Barranquero <lekktu@gmail.com>
15125
15126 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
15127
1c4757d6
JL
151282011-12-22 Juri Linkov <juri@jurta.org>
15129
15130 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
15131
d031f2c7
CY
151322011-12-22 Chong Yidong <cyd@gnu.org>
15133
15134 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
15135
bace743a
DA
151362011-12-21 Drew Adams <drew.adams@oracle.com>
15137
15138 * files.el (file-remote-p): Fix docstring. (Bug#10319)
15139
728a1f2b
JC
151402011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
15141
15142 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
15143
0d373f73
TZ
151442011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
15145
fec0aaa4
TZ
15146 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
15147 highlighting and support. Fix up comments for capitalization.
15148 (cfengine-mode-debug): New var.
15149 (cfengine3-mode): Change the modeline indicator to "CFE3".
15150 (cfengine3-font-lock-keywords): Improve defun highlighting.
15151 (cfengine2-actions): Rename from `cfengine-actions'.
15152 (cfengine2-font-lock-keywords): Rename from
15153 `cfengine-font-lock-keywords'.
15154 (cfengine2-imenu-expression): Rename from
15155 `cfengine-imenu-expression'.
15156 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
15157 (cfengine2-beginning-of-defun): Rename from
15158 `cfengine-beginning-of-defun'.
15159 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
15160 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
15161 (cfengine2-mode): Rename from `cfengine-mode'. Change the
15162 modeline indicator to "CFE2".
15163 (cfengine-mode): Defalias to `cfengine-auto-mode'.
15164 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 15165
bc86f573
CY
151662011-12-21 Chong Yidong <cyd@gnu.org>
15167
15168 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
15169 filename argument.
15170
d45ba96b
MR
151712011-12-20 Martin Rudalics <rudalics@gmx.at>
15172
15173 * window.el (window-normalize-buffer-to-display): Remove.
15174 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
15175
a6198c90
CY
151762011-12-19 Chong Yidong <cyd@gnu.org>
15177
15178 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
15179 Don't signal an error in a predicate function; return non-nil.
15180 (vc-dir-mark-file): Move the error here.
15181 (vc-dir-mark-unmark): If acting on the region, keep going if one
15182 of the entries cannot be marked/unmarked.
15183 (vc-dir-mark-all-files): If current entry is a directory, mark
15184 only child files, as documented.
15185
34c5fb55
VB
151862011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
15187
15188 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
15189 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
15190 addition.
15191
c803b2b7
JD
151922011-12-18 Jan Djärv <jan.h.d@swipnet.se>
15193
15194 * term/ns-win.el (ns-get-selection-internal)
15195 (ns-store-selection-internal): Declare.
1154d12e
JB
15196 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
15197 Declare as obsolete.
15198 (ns-get-pasteboard, ns-paste-secondary):
15199 Use ns-get-selection-internal.
41e9b956 15200 (ns-set-pasteboard, ns-copy-including-secondary):
1154d12e 15201 Use ns-store-selection-internal.
c803b2b7 15202
9cff91f8 152032011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
15204
15205 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 15206 (vc-deduce-fileset): Doc fix.
99a289d9 15207
f16c898a
AS
152082011-12-16 Andreas Schwab <schwab@linux-m68k.org>
15209
15210 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
15211
763237c4
SS
152122011-12-13 Sam Steingold <sds@gnu.org>
15213
15214 * man.el (Man-getpage-in-background): When running under a
15215 window-system, ignore $MANWIDTH and $COLUMNS.
15216
5fc1c122
KH
152172011-12-15 Kenichi Handa <handa@m17n.org>
15218
15219 * language/ethio-util.el: Change coding tag to utf-8-emacs.
15220 (setup-ethiopic-environment-internal): Comment out key-binding for
15221 ethio-toggle-punctuation.
15222
13d49cbb
AM
152232011-12-13 Alan Mackenzie <acm@muc.de>
15224
898169a2
AM
15225 Add the switch statement to AWK Mode.
15226
7a71b18d 15227 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
15228 "default" to the keywords regexp.
15229
7a71b18d 15230 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 15231 expression as the rest.
1d00653d
SM
15232 (c-nonlabel-token-key): Allow string literals for AWK.
15233 Refactor for the other modes.
898169a2 15234
13d49cbb 15235 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 15236 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
15237 routines. Limit backward searching in c-font-lock-enclosing.decl.
15238
15239 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
15240 pp-state and literal type in addition to the limits.
1d00653d 15241 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 15242 (c-state-literal-at): Use the above new defun.
1d00653d
SM
15243 (c-slow-in-literal, c-fast-in-literal): Remove.
15244 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
15245
15246 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
15247 being in a literal. Add a limit for backward searching.
15248
15249 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
15250 c-slow-in-literal.
15251
15e0efc7
SM
152522011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
15253
15254 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
15255
454592a6
MR
152562011-12-13 Martin Rudalics <rudalics@gmx.at>
15257
15258 * window.el (delete-other-windows): Use correct frame in call to
15259 window-with-parameter.
15260
87393f26
DP
152612011-12-12 Daniel Pfeiffer <occitan@t-online.de>
15262
15263 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
15264 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
15265 (makefile-gmake-statements, makefile-makepp-statements):
15266 Use it and add new makepp keywords.
15267 (makefile-makepp-font-lock-keywords): Add new patterns.
15268 (makefile-match-function-end): Match new [...] and [[...]].
15269
11636b22
JB
152702011-12-11 Juanma Barranquero <lekktu@gmail.com>
15271
15272 * ses.el (ses-call-printer-return, ses-cell-property-get)
15273 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
15274 (ses-create-cell-variable, ses-reset-header-string)
15275 (ses-cell-set-formula, ses-repair-cell-reference-all)
15276 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
15277 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
15278 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
15279 (ses-aset-with-undo, ses-load, ses-truncate-cell)
15280 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
15281 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
15282 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
15283 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
15284 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
15285 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
15286 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
15287 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
15288
cf018193
VB
152892011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
15290
15291 * ses.el: The overall change is to add cell renaming, that is
15292 setting fancy names for cell symbols other than name matching
15293 "\\`[A-Z]+[0-9]+\\'" regexp .
15294 (ses-create-cell-variable): New defun.
15295 (ses-relocate-formula): Relocate formulas only for cells the
15296 symbols of which are not renamed, i.e. symbols whose names do not
15297 match regexp "\\`[A-Z]+[0-9]+\\'".
15298 (ses-relocate-all): Relocate values only for cells the symbols of
15299 which are not renamed.
15300 (ses-load): Create cells variables as the (ses-cell ...) are read,
15301 in order to check row col consistency with cell symbol name only
15302 for cells that are not renamed.
15303 (ses-replace-name-in-formula): New defun.
15304 (ses-rename-cell): New defun.
15305
ee957461
CY
153062011-12-11 Chong Yidong <cyd@gnu.org>
15307
15308 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
15309 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
15310
9a9e9ef0
MR
153112011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
15312
15313 * window.el (other-window): Fix docstring.
15314
92a8eba5
EZ
153152011-12-10 Eli Zaretskii <eliz@gnu.org>
15316
15317 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
15318 `from' or `to' address before taking its substring.
15319 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
15320 encoded name is chopped in the middle of the encoded string, and
15321 thus displayed encoded.
15322
e152e577
JB
153232011-12-10 Juanma Barranquero <lekktu@gmail.com>
15324
15325 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
15326
e5d84bfe
EZ
153272011-12-10 Eli Zaretskii <eliz@gnu.org>
15328
15329 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
15330 to use texinfo-update-node and commands that call it if the
15331 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 15332 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
15333 (texinfo-all-menus-update, texinfo-master-menu)
15334 (texinfo-update-node, texinfo-every-node-update)
15335 (texinfo-multiple-files-update): Doc fix. Warn against updating
15336 all the @node lines.
15337 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
15338 argument is numeric. Explain better in the doc string what the
15339 function really does.
15340 (texinfo-insert-master-menu-list): Improve the error message
15341 displayed if there's no menu in the Top node.
15342 (Bug#2975) See also this thread:
e5d84bfe
EZ
15343 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
15344
1d84e9bb
MG
153452011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
15346
15347 * speedbar.el (speedbar-supported-extension-expressions):
15348 Add .adb and .ads, commonly used for Ada source code (bug#10256).
15349
382c953b
JB
153502011-12-09 Juanma Barranquero <lekktu@gmail.com>
15351
15352 * printing.el (pr-mode-alist):
15353 * simple.el (filter-buffer-substring-functions)
15354 (completion-list-insert-choice-function):
15355 * window.el (window-with-parameter, window-atom-root)
15356 (window-sides-slots, window-size-fixed, window-min-delta)
15357 (window-max-delta, window--resize-mini-window)
15358 (window--resize-child-windows-normal, window-tree)
15359 (delete-other-windows, quit-window, split-window)
15360 (display-buffer-record-window, special-display-buffer-names)
15361 (special-display-regexps, special-display-popup-frame)
15362 (same-window-p, split-window-sensibly)
15363 (display-buffer-overriding-action, display-buffer-alist)
15364 (display-buffer-base-action, display-buffer, switch-to-buffer)
15365 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
15366 (fit-window-to-buffer, recenter-positions)
15367 (mouse-autoselect-window-state, mouse-autoselect-window-select):
15368 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
15369 and remove unneeded backslashes in docstrings.
15370
39c9faef
SM
153712011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
15372
98449af8
SM
15373 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
15374
39c9faef
SM
15375 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
15376 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
15377 end in ".mk".
15378 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
15379 when reading the makefile (bug#10116).
15380
86ed9fdc
SM
153812011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
15382
15383 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
15384 (bug#10116).
15385
5580f89d
GM
153862011-12-06 Glenn Morris <rgm@gnu.org>
15387
15388 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
15389
28d3917c
CY
153902011-12-06 Chong Yidong <cyd@gnu.org>
15391
15392 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
15393
a98edce9
JB
153942011-12-06 Juanma Barranquero <lekktu@gmail.com>
15395
15396 * textmodes/table.el (table-shorten-cell): Fix typo.
15397
e65adfac
CG
153982011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
15399
15400 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
15401
71cc0b74
EZ
154022011-12-05 Eli Zaretskii <eliz@gnu.org>
15403
15404 * descr-text.el (describe-char): Fix display of strong
15405 right-to-left characters and directional embeddings and overrides.
15406
15407 * simple.el (what-cursor-position): Fix display of codepoints of
15408 strong right-to-left characters.
15409
315bc30d
CY
154102011-12-05 Chong Yidong <cyd@gnu.org>
15411
15412 * faces.el (read-color): Doc fix.
15413
58a70b94
GM
154142011-12-05 Glenn Morris <rgm@gnu.org>
15415
15416 * align.el (align--set-marker): Add doc-string.
15417 Don't try to move something that is not a marker. (Bug#10216)
15418
5158face
GM
154192011-12-04 Glenn Morris <rgm@gnu.org>
15420
15421 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
15422 overly zealous deletion of trailing whitespace.
15423
520fca41
JB
154242011-12-04 Juanma Barranquero <lekktu@gmail.com>
15425
15426 * server.el (server-delete-client): On Windows, do not try to delete
15427 the only terminal.
15428 (server-process-filter): On Windows, treat requests for a tty frame as
15429 if they were for a GUI frame if the running server is in GUI mode.
15430
5e605a2e
GM
154312011-12-03 Glenn Morris <rgm@gnu.org>
15432
15433 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
15434
5c3fe83f
SM
154352011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
15436
6f5e57e7
SM
15437 * electric.el: Streamline electric-indent's hook.
15438 (electric-indent-chars): Revert to simple list.
15439 (electric-indent-functions): New var.
15440 (electric-indent-post-self-insert-function): Use it.
15441
5c3fe83f
SM
15442 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
15443 there's no inferior buffer (bug#10196).
15444 (prolog-consult-compile): Don't use toggle-read-only.
15445
6bdac736
MA
154462011-12-02 Michael Albinus <michael.albinus@gmx.de>
15447
15448 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
15449 interrupt. (Bug#10187)
15450
6131ba7f
SM
154512011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
15452
99c79fee
SM
15453 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
15454 (bug#9160).
15455
6131ba7f
SM
15456 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
15457 (bug#10191).
15458
cb0a02ea
JL
154592011-12-02 Juri Linkov <juri@jurta.org>
15460
15461 * info.el (Info-search): Display "end of manual" when Isearch
15462 reaches the end of single-file Info manual. (Bug#9918)
15463
66e0570c
EZ
154642011-12-02 Eli Zaretskii <eliz@gnu.org>
15465
15466 * isearch.el (isearch-message-prefix): Run the input method part
15467 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
15468
02b16839
JL
154692011-12-02 Juri Linkov <juri@jurta.org>
15470
15471 * isearch.el (isearch-occur): Use `word-search-regexp' for
15472 `isearch-word'.
15473 (isearch-search-and-update): Add condition for `isearch-word' and
15474 call `word-search-regexp'. (Bug#10145)
15475
0b950688
GM
154762011-12-01 Glenn Morris <rgm@gnu.org>
15477
15478 * eshell/em-hist.el (eshell-hist-initialize):
15479 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 15480 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 15481
9505c3c7
SM
154822011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
15483
15484 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
15485
1bbe96b2 154862011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 15487
a1beca85
SM
15488 * progmodes/verilog-mode.el (verilog-pretty-expr):
15489 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
15490 verilog, such as += *= and the like.
15491 (verilog-assignment-operator-re): Regular expression to find the
15492 assigment operator in a verilog assignment.
15493 (verilog-assignment-operation-re): Regular expression to find an
15494 assignment statement for pretty-expr.
15495 (verilog-in-attribute-p): Query returns true if point is in an
15496 attribute context; used to skip these for expression line up from
15497 pretty-expr.
15498 (verilog-in-parameter-p): Query returns true if point is in an
15499 parameter definition context; used to skip these for expression
15500 line up from pretty-expr.
15501 (verilog-in-parenthesis-p): Query returns true if point is in a
15502 parenthetical expression, specifically ( ) but not [ ] or { };
15503 used by pretty-expr.
15504 (verilog-just-one-space): If there is no space, don't add one.
15505 (verilog-get-lineup-indent-2): Specifically skip just attribute
15506 contexts for expression lineup, rather than skipping all
15507 parenthetical expressions.
15508 (verilog-calculate-indent): Fix comment, and fix indent.
15509 (verilog-do-indent): Indent declarations in lists (suggested by
15510 Joachim Lechner).
15511 (verilog-mode-abbrev-table): Populate abbrev mode with the various
15512 skeleton items.
15513 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
15514 by Alain Mellan).
15515
1bbe96b2 155162011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
15517
15518 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
15519 parameters with embedded comments. Reported by Ray Stevens.
15520 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
15521 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
15522 Reported by Tim Holt.
15523 (verilog-auto): Fix AUTOing a upper module then AUTOing module
15524 instantiated by upper module causing wrong expansion until AUTOed a
15525 second time. Reported by K C Buckenmaier.
15526 (verilog-diff-auto): Fix showing .* as a difference when
15527 `verilog-auto-star-save' off. Reported by Dan Dever.
15528 (verilog-auto-reset, verilog-read-always-signals)
15529 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
15530 temporary signals in reset list if
15531 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
15532 style to each signal's assignment type, bug381.
15533 Reported by Thomas Esposito.
6288f0ca
WS
15534 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
15535 (verilog-uvm-statement-re): Support UVM indentation and
15536 highlighting, with old OVM keywords only.
a1beca85 15537 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
15538 Support AUTOTIEOFF creating non-wire data types.
15539 Suggested by Jonathan Greenlaw.
6288f0ca
WS
15540 (verilog-auto-insert-lisp, verilog-delete-to-paren)
15541 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
15542 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
15543 (verilog-read-sub-decls, verilog-read-sub-decls-line):
15544 Fix mismatching parenthesis inside commented out code when deleting
382c953b 15545 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
15546 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
15547 non-numeric vector width. Reported by Alex Reed.
15548 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 15549 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
15550 (verilog-auto-delete-trailing-whitespace):
15551 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
15552 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
15553 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
15554 Fix verilog-scan-cache corruption when running user AUTO expansion
15555 hooks that call indentation routines.
15556 (verilog-simplify-range-expression): Fix typo ignoring lower case
15557 identifiers.
15558 (verilog-delete-auto): Fix delete-autos to also remove user created
15559 automatics, as long as they start with AUTO.
15560 (verilog-batch-diff-auto, verilog-diff-auto)
15561 (verilog-diff-function): Add `verilog-diff-auto' and bind to
15562 "C-c?" to report differences in AUTO expansion, ignoring spaces.
15563 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
15564 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
15565 (verilog-re-search-forward-quick, verilog-syntax-ppss):
15566 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
15567 is disabled and its cache will get corrupt, causing AUTOS not to
15568 expand. Instead use only -quick functions.
15569 (verilog-scan-region): Fix scanning over escaped quotes.
15570 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
15571 (verilog-re-search-backward-quick)
15572 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
15573 related functions now ignore strings, to fix misparsing of strings
15574 with magic comments embedded in them.
a1beca85
SM
15575 (verilog-read-auto-template):
15576 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
15577 Reported by Brad Dobbie.
15578 (verilog-read-auto-template):
15579 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 15580 Reported by Brad Dobbie.
6288f0ca
WS
15581 (verilog-auto-inst, verilog-auto-inst-param)
15582 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
15583 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
15584 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
15585 debugging templates without merge conflicts, bug357.
15586 Reported by Brad Dobbie.
15587 (verilog-read-auto-template):
15588 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
15589 Reported by Brad Dobbie.
15590 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
15591 abbrevs so user won't be asked to save.
15592 (verilog-read-auto-lisp-present): Fix to start at beginning of
15593 buffer in case called outside of verilog-auto.
15594 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
15595 to "X-2". Reported by Matthew Myers.
15596 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
15597 all inputs from module templates. Reported by Leith Johnson.
15598 (verilog-module-inside-filename-p): Fix locating programs as with
15599 modules.
15600 (verilog-auto-inst-port): Fix vl-width expressions when using
15601 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
15602 (verilog-decls-get-regs, verilog-decls-get-signals,
15603 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
15604 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
15605 verilog-read-decls): Combine reg and wire structures into one var
15606 structure to represent SystemVerilog concepts.
15607 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
15608 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
15609 (verilog-auto-wire-type, verilog-insert-definition):
15610 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
15611 SystemVerilog "logic" keyword instead of "wire"/"reg".
15612 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
15613 to declares outputs that also have assignments (presumably in an
a1beca85
SM
15614 ifdef or generate if so there's not a driver conflict).
15615 Reported by Matthew Myers.
15616 (verilog-auto-declare-nettype, verilog-insert-definition):
15617 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
15618 `default_nettype none. Reported by Julian Gorfajn.
15619 (verilog-read-always-signals-recurse, verilog-read-decls)
15620 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
15621 malformed end statement, bug325. Reported by Joshua Wise and
15622 Andrew Drake.
15623 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
15624 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
15625 when expanding .* in interfaces, bug320.
15626 Reported by Pierre-David Pfister.
6288f0ca 15627 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
15628 name and open parenthesis, bug317.
15629 Reported by Pierre-David Pfister.
6288f0ca
WS
15630 (verilog-simplify-range-expression): Fix simplification of
15631 multiplications inside AUTOWIRE connections, bug303.
15632 (verilog-auto-inst-port): Support parameter expansion in
15633 multidimensional arrays.
15634 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
15635 after "assert property". Reported by Julian Gorfajn.
15636 (verilog-simplify-range-expression): Fix "couldn't merge" errors
15637 with multiplication, bug303.
15638 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
15639 Reported by Jan Frode Lonnum.
15640
1bbe96b2
GM
156412011-11-30 Juanma Barranquero <lekktu@gmail.com>
15642
15643 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
15644 (hfy-shell-file-name, hfy-shell):
15645 * international/fontset.el (x-decompose-font-name): Fix typos.
15646
156472011-11-29 Ken Brown <kbrown@cornell.edu>
15648
15649 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
15650 (gdb-version): Remove defvar.
15651 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
15652 (gdb-gud-context-command, gdb-non-stop-handler)
15653 (gdb-current-context-command, gdb-stopped): Use it.
15654 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
15655 (gdb-non-stop-handler): Don't enable pretty-printing here.
15656 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
15657 non-stop mode. Use the following.
15658 (gdb-check-target-async): New defun.
15659 (gud-watch, gdb-stopped): Fix whitespace.
15660 (gdb-get-source-file): Don't try to display the source file if
15661 `gdb-main-file' is nil.
15662
156632011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
15664
15665 * align.el: Try to generate fewer markers (bug#10047).
15666 (align--set-marker): New macro.
15667 (align-region): Use it.
15668
c935221f
SM
156692011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
15670
15671 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
15672
e70b5064
CY
156732011-11-29 Chong Yidong <cyd@gnu.org>
15674
15675 * indent.el (indent-for-tab-command, indent-according-to-mode):
15676 Doc fix.
15677 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
15678
f3af92b7
MA
156792011-11-29 Michael Albinus <michael.albinus@gmx.de>
15680
15681 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
15682 aware of remote file names. (Bug#10124)
15683
ed472be9
CY
156842011-11-29 Chong Yidong <cyd@gnu.org>
15685
15686 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
15687
24510c22
SM
156882011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
15689
15690 * files.el (find-file): Don't use force-same-window (bug#10144).
15691 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
15692 use pop-to-buffer if the selected window can't be used.
15693 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
15694
c60c3703
EZ
156952011-11-28 Eli Zaretskii <eliz@gnu.org>
15696
15697 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
15698 special-mode-map.
15699
e95def75
CY
157002011-11-28 Chong Yidong <cyd@gnu.org>
15701
15702 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
15703
c3f1c606
NR
157042011-11-27 Nick Roberts <nickrob@snap.net.nz>
15705
15706 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
15707 gdb-get-source-file-list on gdb-create-source-file-list.
15708
00db469c
EZ
157092011-11-26 Eli Zaretskii <eliz@gnu.org>
15710
15711 * whitespace.el (whitespace-newline): Use a different foreground
15712 color for 16-color light-background displays.
15713
4ad3bc2a
CY
157142011-11-24 Chong Yidong <cyd@gnu.org>
15715
15716 * window.el (display-buffer--special-action): Doc fix.
15717
e9fce1ac
JB
157182011-11-25 Juanma Barranquero <lekktu@gmail.com>
15719
15720 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
15721 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
15722 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
15723 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
15724 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
15725 (avl-tree-stack-first):
15726 * emacs-lisp/cconv.el (cconv--analyse-use):
15727 * net/gnutls.el (gnutls-negotiate): Fix typos.
15728
cb825e5d
GM
157292011-11-24 Glenn Morris <rgm@gnu.org>
15730
3adbe224
GM
15731 * lpr.el (lpr-windows-system, lpr-lp-system):
15732 * mail/binhex.el (binhex-begin-line):
15733 * progmodes/grep.el (grep-history, grep-find-history):
15734 * textmodes/flyspell.el:
15735 * vc/pcvs-defs.el (cvs-global-menu):
15736 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
15737 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
15738 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
15739
321decc8
GM
15740 * net/tls.el: Fix case of "GnuTLS".
15741
420b63ad
GM
15742 * paths.el (rmail-file-name): Format doc-string for make-docfile.
15743
cb825e5d
GM
15744 * version.el (emacs-build-system): Give it a doc-string.
15745
a0649f08
JL
157462011-11-24 Juri Linkov <juri@jurta.org>
15747
15748 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
15749
c0bc0fd4
GM
157502011-11-24 Glenn Morris <rgm@gnu.org>
15751
15752 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
15753 if called on a non-mime message just toggle the headers. (Bug#8006)
15754
20db1522
JB
157552011-11-24 Juanma Barranquero <lekktu@gmail.com>
15756
15757 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
15758 (allout-lead-with-comment-string, allout-structure-deleted-hook)
15759 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
15760 (allout-rebullet-heading, allout-open-sibtopic)
15761 (allout-toggle-current-subtree-encryption)
15762 (allout-toggle-subtree-encryption, allout-encrypt-string)
15763 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
15764 (allout-distinctive-bullets-string, allout-auto-activation):
15765 * window.el (window-normalize-buffer-to-display):
15766 * progmodes/verilog-mode.el (verilog-batch-indent):
15767 * textmodes/bibtex.el (bibtex-field-braces-opt)
15768 (bibtex-field-strings-opt):
15769 * vc/cvs-status.el (cvs-tree-merge):
15770 Fix typos.
15771
7262a87c
MA
157722011-11-23 Michael Albinus <michael.albinus@gmx.de>
15773
15774 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
15775 `non-essential' to t, in order to avoid remote connections.
15776
283430a1
EZ
157772011-11-23 Eli Zaretskii <eliz@gnu.org>
15778
a1beca85
SM
15779 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
15780 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
15781 case-insensitively.
15782
d2992a38
ML
157832011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
15784
15785 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
15786
50419064
GM
157872011-11-23 Glenn Morris <rgm@gnu.org>
15788
da94eca1
GM
15789 * paths.el (rmail-file-name): Reformat the doc-string so that it
15790 is picked up.
15791
9aac4de2
GM
15792 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
15793 (rmail-auto-file): Ignore case in the "special" field names,
15794 as mail-fetch-field does for all others.
15795
8038d2d2
GM
15796 * mail/rmail.el (rmail-forward):
15797 * mail/rmailkwd.el (rmail-set-label):
15798 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
15799 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
15800
f3fe222a
GM
15801 * mail/rmail.el (rmail-current-message): Doc fix.
15802
50419064
GM
15803 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
15804
28109f49
SM
158052011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
15806
15807 * server.el (server-eval-and-print): Allow C-g (bug#6585).
15808
394c65f1
GM
158092011-11-22 Glenn Morris <rgm@gnu.org>
15810
15811 * mail/rmailmm.el (test-rmail-mime-handler)
15812 (test-rmail-mime-bulk-handler)
15813 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
15814
f2a0aa3a
JL
158152011-11-21 Juri Linkov <juri@jurta.org>
15816
1154d12e
JB
15817 * calc/calc.el (calc-read-key-sequence):
15818 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 15819
9c34a344
LMI
158202011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15821
15822 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
15823 Tell the caller that the next line needs recomputation, even
15824 though it doesn't start a sexp (bug#10094).
15825
f04a3be9
SM
158262011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
15827
15828 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
15829
7978747f
SM
158302011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
15831
f04a3be9
SM
15832 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
15833 Use force-same-window.
7978747f 15834
fe7a3057
JB
158352011-11-20 Juanma Barranquero <lekktu@gmail.com>
15836
15837 * descr-text.el (describe-char-unicode-data):
15838 * json.el (json-string-escape):
15839 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
15840 (Footnote-unicode, Footnote-style-p):
15841 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
15842
24901d61
CY
158432011-11-20 Chong Yidong <cyd@gnu.org>
15844
15845 * window.el (replace-buffer-in-windows): Restore interactive spec.
15846
bac7ff22
SM
158472011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
15848
24f3d7b9
SM
15849 * electric.el (electric-indent-mode): Fix last change (too optimistic).
15850
bac7ff22
SM
15851 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
15852 (byte-compile-global-not-obsolete-vars): New var.
15853 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
15854 Use it.
15855 (byte-compile-warn-obsolete): Align text with the one in *Help*.
15856
cd1181db
JB
158572011-11-20 Juanma Barranquero <lekktu@gmail.com>
15858
15859 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
15860 * progmodes/pascal.el (electric-pascal-equal):
15861 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
15862 * xml.el (xml-substitute-special): Fix typos.
15863
7fb18e9e
GM
158642011-11-20 Glenn Morris <rgm@gnu.org>
15865
15866 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
15867 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
15868 Doc fixes.
15869 (rmail-decode-mime-charset): Mark as obsolete.
15870
15871 * mail/rmailsum.el (rmail-message-regexp-p-1):
15872 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
15873 Before using mime functions, check they are set. (Bug#10077)
15874
d5a6b3ba
JL
158752011-11-19 Juri Linkov <juri@jurta.org>
15876
15877 * info.el (Info-finder-find-node): Use `package--builtins' instead
15878 of `package-alist'. Use node names formed by the pattern "Keyword "
15879 and the keyword name.
15880
e981b61f
AS
158812011-11-19 Andreas Schwab <schwab@linux-m68k.org>
15882
1d00653d 15883 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 15884
3ffbc301
JL
158852011-11-19 Juri Linkov <juri@jurta.org>
15886
15887 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
15888 that calls `revert-buffer' on all Info buffers. (Bug#9915)
15889 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
15890 `old-history', `old-history-forward'. Add let-binding
15891 `window-selected'. Remove calls to `kill-buffer',
15892 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
15893 before calling `Info-find-node', so `Info-find-node-2' will reread
15894 the Info file. Restore window positions only when `window-selected'
15895 is non-nil.
15896
30c62133
JL
158972011-11-19 Juri Linkov <juri@jurta.org>
15898
15899 * isearch.el (isearch-lazy-highlight-new-loop):
15900 Remove condition `(not isearch-error)'. (Bug#9918)
15901
15902 * misearch.el (multi-isearch-search-fun): Add condition
15903 `(not bound)' to ignore lazy-highlighting search.
15904 Add the search-failed message "end of multi" when the end of
15905 multi-sequence is reached. Uncapitalize the search-failed
15906 message "Repeat for next buffer".
15907
15908 * info.el (Info-search): Add the search-failed message
15909 "end of the manual" when the end of the manual is reached
15910 in Isearch mode.
15911
645ca9cf
JL
159122011-11-19 Juri Linkov <juri@jurta.org>
15913
15914 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
15915 Use non-destructive `remove' instead of `delete' because
15916 `Info-history-list' stored to `Info-isearch-initial-history-list' in
15917 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
15918
df754f66
JL
159192011-11-19 Juri Linkov <juri@jurta.org>
15920
15921 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
15922 to nil instead of binding `search-ring' and `regexp-search-ring'.
15923 (Bug#9185)
15924
0e23d96a
EZ
159252011-11-19 Eli Zaretskii <eliz@gnu.org>
15926
15927 * simple.el (line-move): Force movement by logical lines for any
15928 hscrolled window, not only when auto-hscroll-mode is on.
15929 (line-move-visual): Update doc string to that effect. (Bug#10076)
15930
8a6ccb66
AS
159312011-11-19 Andreas Schwab <schwab@linux-m68k.org>
15932
15933 * language/european.el (macintosh): Define as alias for mac-roman.
15934
49ae5b39
EZ
159352011-11-19 Eli Zaretskii <eliz@gnu.org>
15936
15937 * mail/rmailmm.el (rmail-mime-display-header)
15938 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
15939 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
15940 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
15941 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
15942 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
15943 of a raw aref.
15944 (rmail-mime-entity-segment): To get past the tagline, move forward
15945 2 more lines, to account for the 2 empty lines that precede and
15946 follow the line with the buttons.
15947 (rmail-mime-update-tagline): Move one more line, to get past the
15948 empty line that follows the buttons in the tagline. (Bug#9520)
15949
c56cad4a
MR
159502011-11-19 Martin Rudalics <rudalics@gmx.at>
15951
15952 * window.el (window-max-delta-1, window-min-delta-1)
15953 (window-min-size-1, window-state-get-1, window-state-put-1)
15954 (window-state-put-2): Use "window--" prefix.
15955
cbe71af3
SM
159562011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
15957
2ad52c60
SM
15958 * emacs-lisp/smie.el: Improve warnings and conflict detection.
15959 (smie-warning-count): New var.
15960 (smie-set-prec2tab): Use it.
15961 (smie-bnf->prec2): Improve warnings. Add docstring.
15962 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
15963 (smie-bnf--set-class): New function.
15964 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
15965 corner case.
15966
6944dbc1
SM
15967 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
15968 (compilation-error-properties, compilation-move-to-column):
15969 Handle compilation-first-column while in the target buffer.
15970
c400c4d7
SM
15971 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
15972 Don't hardcode point-min==1.
15973
6dbe3e96
SM
15974 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
15975 (eshell-rewrite-for-command): Remove workaround.
15976 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
15977 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
15978 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
15979
cbe71af3
SM
15980 * files-x.el (modify-file-local-variable): Obey commenting conventions.
15981
a8e1496d
GM
159822011-11-17 Glenn Morris <rgm@gnu.org>
15983
15984 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
15985 Ignore buffer-local generated-autoload-file if it is the same
15986 as the global value. (Bug#10049)
15987
df85d315
JB
159882011-11-17 Juanma Barranquero <lekktu@gmail.com>
15989
15990 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
15991 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
15992 (reftex-toc-previous-heading, reftex-toc-max-level)
15993 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
15994 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
15995 (reftex-toc-do-promote, reftex-toc-promote-prepare)
15996 (reftex-toc-promote-action, reftex-toc-extract-section-number)
15997 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
15998 (reftex-toc-rename-label, reftex-toc-visit-location)
15999 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
16000 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
16001 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
16002 leaving "*toc*" only for references to the buffer.
16003
a0c2d0ae
MR
160042011-11-17 Martin Rudalics <rudalics@gmx.at>
16005
16006 * window.el (window-resize, delete-window, split-window):
16007 Replace window-splits by window-combination-resize.
1d00653d 16008 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 16009
35c0bac8
GM
160102011-11-17 Glenn Morris <rgm@gnu.org>
16011
16012 * progmodes/sh-script.el (sh-font-lock-keywords-var):
16013 Make bash entry derive from sh entry, not shell entry.
16014
d0c8fc8a
MA
160152011-11-16 Michael Albinus <michael.albinus@gmx.de>
16016
7262a87c
MA
16017 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
16018 local file name.
16019
7877f373
JB
160202011-11-16 Juanma Barranquero <lekktu@gmail.com>
16021
16022 * menu-bar.el (menu-bar-file-menu):
16023 * printing.el (pr-ps-utility):
16024 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
16025 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
16026 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
16027 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
16028 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
16029 (icalendar--convert-cyclic-to-ical)
16030 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
16031 (icalendar--convert-ical-to-diary)
16032 (icalendar--convert-recurring-to-diary)
16033 (icalendar--convert-non-recurring-all-day-to-diary)
16034 (icalendar-import-format-sample):
16035 * progmodes/idlw-shell.el (idlwave-shell-mode):
16036 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
16037 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
16038 (vhdl-ps-print-init): Fix typos.
16039
10649b82
KM
160402011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
16041
9d0cfcd6
GM
16042 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
16043 FSF and collapse date sequence, obscure author/maintainer email address
16044 better, remove extra version line, track relocation of author's webpage.
10649b82 16045
9d0cfcd6
GM
16046 * progmodes/python.el (python-pdbtrack-input-prompt)
16047 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
16048 regular python pdb prompts. Adjustments shamelessly taken exactly as
16049 suggested in EmacsWiki page (tiny change):
16050 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 16051
58179cce
JB
160522011-11-16 Juanma Barranquero <lekktu@gmail.com>
16053
16054 * expand.el (expand-pos, expand-index, expand-point):
16055 Remove redundant info from docstring.
16056 (expand-add-abbrevs): Doc fix.
16057 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
16058 (expand-sample-perl-mode-expand-list): Fix typos.
16059
16060 * net/dbus.el (dbus-event-member-name):
16061 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
16062 * term/pc-win.el (msdos-create-frame-with-faces):
16063 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
16064
b6f67890
MR
160652011-11-16 Martin Rudalics <rudalics@gmx.at>
16066
16067 * window.el (split-window, window-state-get-1)
16068 (window-state-put-1, window-state-put-2): Rename occurrences of
16069 window-nest to window-combination-limit.
1d00653d 16070 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 16071
ce7ddba0
CY
160722011-11-16 Chong Yidong <cyd@gnu.org>
16073
16074 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
16075 regexp (Bug#10033).
16076
3ae704f4
SM
160772011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
16078
16079 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
16080 `completing-read' will remove *Completions* and will preserve
16081 current-buffer for us.
16082 (tmm-add-prompt): Users of *Completions* will always (re)set its
16083 major mode.
16084 (tmm-old-comp-map): Remove.
16085
6ad1cdde
GM
160862011-11-16 Glenn Morris <rgm@gnu.org>
16087
16088 * mail/rmailedit.el: Require rmailmm when compiling.
16089 (rmail-old-mime-state): New declaration.
16090 (rmail-edit-current-message): If editing a mime message,
16091 edit the "raw" message from the mbox buffer.
16092 (rmail-cease-edit): Handle mime messages. (Bug#9840)
16093
d20faa20
GM
160942011-11-15 Glenn Morris <rgm@gnu.org>
16095
16096 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
16097 which wasn't being used. Add optional arg to force given state.
16098 (rmail-mime): Add optional arg to force given state.
16099
c7015153
JB
161002011-11-15 Juanma Barranquero <lekktu@gmail.com>
16101
16102 * allout.el (allout-encryption-plaintext-sanitization-regexps):
16103 * frame.el (display-mm-dimensions-alist):
16104 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
16105 (outline-move-subtree-down):
16106 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
16107 (newsticker--treeview-do-get-node):
16108 * net/quickurl.el (quickurl-list-buffer-name):
16109 * progmodes/dcl-mode.el (dcl-mode):
16110 * progmodes/gdb-mi.el (gdb-mapcar*):
16111 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
16112
45261b50
GM
161132011-11-15 Glenn Morris <rgm@gnu.org>
16114
16115 * mail/rmail.el (rmail-file-coding-system): It's only ever used
16116 in a boolean sense, so just make it a boolean, and fix the doc.
16117 (rmail-show-mime-function, rmail-mime-feature)
16118 (rmail-require-mime-maybe): Doc fixes.
16119 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
16120
16121 * mail/rmailmm.el (rmail-show-mime): Doc fix.
16122
0d26e0b6
JB
161232011-11-15 Juanma Barranquero <lekktu@gmail.com>
16124
16125 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
16126 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
16127 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
16128 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
16129
447f30f6
GM
161302011-11-15 Glenn Morris <rgm@gnu.org>
16131
672b871d
GM
16132 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
16133 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
16134 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
16135 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
16136 (rmail-mime, rmail-show-mime): Doc fixes.
16137
f6aa5bb1
GM
16138 * term/ns-win.el (mode-line-frame-identification):
16139 Leave it alone. (Bug#10051)
16140
947cd66b
GM
16141 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
16142
447f30f6
GM
16143 * mail/rmailout.el (rmail-output-to-rmail-buffer):
16144 Handle empty buffers. (Bug#9978)
16145
0b381c7e
JB
161462011-11-14 Juanma Barranquero <lekktu@gmail.com>
16147
16148 * international/mule.el (define-charset):
16149 * mail/rmailmm.el (rmail-mime-find-header-encoding):
16150 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
16151 * progmodes/verilog-mode.el (verilog-backward-token):
16152 * textmodes/ispell.el (lookup-words):
16153 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
16154
71e027ac
GM
161552011-11-14 Glenn Morris <rgm@gnu.org>
16156
56632ce4
GM
16157 * progmodes/executable.el
16158 (executable-make-buffer-file-executable-if-script-p):
16159 Handle file-modes returning nil.
16160
40500957
GM
16161 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
16162 message - not necessary, and causes problems. (Bug#9831)
16163
071c2340
GM
16164 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
16165
d3cfca60
GM
16166 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
16167
71e027ac
GM
16168 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
16169 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
16170 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
16171
89d61221
MR
161722011-11-12 Martin Rudalics <rudalics@gmx.at>
16173
16174 * window.el (window-resize, delete-window): Use window-splits
16175 variable instead of function.
16176 (window-state-get-1, window-state-put-2, window-state-put):
16177 Don't deal with windows' splits status.
16178
98282f6f
GM
161792011-11-12 Glenn Morris <rgm@gnu.org>
16180
16181 * apropos.el (apropos-do-all, apropos-library, apropos-value)
16182 (apropos-documentation): Doc fixes.
16183
40a8bdf6
JB
161842011-11-11 Juanma Barranquero <lekktu@gmail.com>
16185
16186 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
16187 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
16188
65bd19ff
SM
161892011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
16190
16191 * electric.el (electric-indent-post-self-insert-function): Make it
16192 possible for a char to only indent in some circumstances.
16193 (electric-indent-mode): Simplify.
16194
54f9154c
MR
161952011-11-11 Martin Rudalics <rudalics@gmx.at>
16196
16197 * window.el (windows-with-parameter): Remove unused function.
16198 (windows-at-side): Rename to window-at-side-list.
16199 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
16200 (window-side-check, window-size-ignore, window-size-fixed-1)
16201 (window-in-direction-2): Prefix with "window--".
16202 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 16203
68cbc58b
GM
162042011-11-11 Glenn Morris <rgm@gnu.org>
16205
16206 * subr.el (eval-after-load): If FILE is already loaded,
16207 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
16208
b2621720
GM
162092011-11-10 Glenn Morris <rgm@gnu.org>
16210
9a4de110
GM
16211 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
16212 Call svn via vc-svn-command rather than vc-do-command.
16213 (vc-svn-command): Add --non-interactive. (Bug#9993)
16214 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
16215
b2621720
GM
16216 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
16217 Add toggle-read-only. (Bug#7292)
16218 * files.el (toggle-read-only): Mention that it should only
16219 be used interactively. (Bug#10006)
16220
1dce7193
SM
162212011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
16222
d9ac1a1e
SM
16223 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16224 Adjust regexp for OCaml warnings.
16225
0c325082
SM
16226 * electric.el (electric-pair-post-self-insert-function): Let user
16227 turn it off buffer-locally (bug#9932).
16228
90132c14
SM
16229 * progmodes/python.el (python-beginning-of-statement):
16230 Rewrite (bug#2703).
16231
1dce7193
SM
16232 * progmodes/compile.el: Better handle TABs (bug#9749).
16233 (compilation-internal-error-properties)
16234 (compilation-next-error-function): Obey the target buffer's
16235 compilation-error-screen-columns.
16236
c4e7c63a
JB
162372011-11-09 Juanma Barranquero <lekktu@gmail.com>
16238
16239 * progmodes/meta-mode.el: Remove obsolete comments.
16240 (meta-right-comment-regexp, meta-ignore-comment-regexp):
16241 Fix typos in docstrings.
16242
2cffd681
MR
162432011-11-09 Martin Rudalics <rudalics@gmx.at>
16244
16245 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 16246 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
16247 (window--resizable): New function. Make all callers of
16248 window-resizable call window--resizable instead.
16249 (window-resizable): Rewrite in terms of window--resizable.
16250
0edcba87
GM
162512011-11-08 Glenn Morris <rgm@gnu.org>
16252
16253 * progmodes/delphi.el (delphi-mode-syntax-table):
16254 Let define-derived-mode define a proper syntax table. (Bug#9994)
16255
4b0d61e3
SM
162562011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
16257
16258 * window.el: Stay away from defsubst.
16259 (window-list-no-nils): Remove.
16260 (window-state-get-1, window-state-get): Use backquote instead.
16261
cd394be1 162622011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 16263
4b0d61e3 16264 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 16265 Fix incorrect use of default argument in `completing-read'.
16266
e1c2c6f2
MR
162672011-11-08 Martin Rudalics <rudalics@gmx.at>
16268
16269 * window.el (display-buffer-function, special-display-function):
16270 Mention display-buffer-record-window but do not mention
16271 help-setup parameter in doc-strings.
b3f4a882 16272 (window-min-delta): Fix doc-string typo.
e1c2c6f2 16273
105216ed
CY
162742011-11-08 Chong Yidong <cyd@gnu.org>
16275
16276 * window.el (window-total-height, window-total-width): Doc fix.
16277 (window-body-size): Move from C.
16278 (window-body-height, window-body-width): Move to C.
16279
0a9f9ab5
SM
162802011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
16281
16282 * window.el: Make special-display like display-buffer-alist (bug#9532).
16283 (display-buffer--special-action): New function, morphed
16284 from display-buffer--special.
16285 (display-buffer): Use it to handle special-display-buffers at higher
16286 priority (just after display-buffer-alist).
16287 (display-buffer-fallback-action, display-buffer--other-frame-action)
16288 (pop-to-buffer-same-window): Remove display-buffer--special.
16289
a769dd15
GM
162902011-11-07 Glenn Morris <rgm@gnu.org>
16291
16292 * calendar/cal-menu.el (cal-menu-set-date-title):
16293 Do nothing if not in a calendar. (Bug#9976)
16294
05a61ee3
SM
162952011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
16296
16297 * files.el (find-file): Always use selected-window.
16298
be7f5545
MR
162992011-11-07 Martin Rudalics <rudalics@gmx.at>
16300
16301 * window.el (window-combinations): Make WINDOW argument
16302 mandatory. Rewrite doc-string.
16303 (walk-window-subtree, window-atom-check, window-min-delta)
16304 (window-max-delta, window--resize-this-window)
16305 (window--resize-root-window-vertically, window-tree)
16306 (balance-windows, window-state-put): Rewrite doc-strings as to
16307 not mention the term "subwindow".
16308 (window--resize-subwindows-skip-p): Rename to
16309 window--resize-child-windows-skip-p.
16310 (window--resize-subwindows-normal): Rename to
16311 window--resize-child-windows-normal.
16312 (window--resize-subwindows): Rename to
16313 window--resize-child-windows.
16314 (window-or-subwindow-p): Rename to window--in-subtree-p.
16315
3c6702ef
ML
163162011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
16317
16318 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
16319 Ensure that mbox format messages end in two newlines (Bug#9974).
16320
49745b39
CY
163212011-11-06 Chong Yidong <cyd@gnu.org>
16322
16323 * window.el (window-combination-p): Function deleted; its
16324 side-effect is not used in any existing code.
16325 (window-combinations, window-combined-p): Call window-*-child
16326 directly.
16327
24300f5f
CY
163282011-11-05 Chong Yidong <cyd@gnu.org>
16329
16330 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
16331 (window-size-ignore, window-state-get): Callers changed.
16332 (window-normalize-window): Rename from window-normalize-any-window.
16333 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 16334 (window-normalize-live-window): Delete.
447f16b8
CY
16335 (window-combination-p, window-combined-p, window-combinations)
16336 (walk-window-subtree, window-atom-root, window-min-size)
16337 (window-sizable, window-sizable-p, window-size-fixed-p)
16338 (window-min-delta, window-max-delta, window-resizable)
16339 (window-resizable-p, window-full-height-p, window-full-width-p)
16340 (window-current-scroll-bars, window-point-1, set-window-point-1)
16341 (window-at-side-p, window-in-direction, window-resize)
16342 (adjust-window-trailing-edge, maximize-window, minimize-window)
16343 (window-deletable-p, delete-window, delete-other-windows)
16344 (record-window-buffer, unrecord-window-buffer)
16345 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
16346 (quit-window, split-window, window-state-put)
16347 (set-window-text-height, fit-window-to-buffer)
16348 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 16349
89bd5ee1
EZ
163502011-11-04 Eli Zaretskii <eliz@gnu.org>
16351
53479029
EZ
16352 * mail/rmail.el (rmail-simplified-subject): Decode subject with
16353 rfc2047-decode-string.
16354 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
16355 warnings.
16356
89bd5ee1
EZ
16357 * window.el (window-body-height, window-body-width): Mention in
16358 the doc string that the return values are in frame's canonical
16359 units. (Bug#9949)
16360
bd17fdee
AM
163612011-11-03 Alan Mackenzie <acm@muc.de>
16362
16363 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
16364 change in cc-engine.el.
16365
acc825c5
SM
163662011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
16367
16368 * window.el (switch-to-buffer): Use `force-same-window' interactively.
16369
1885e5b8
MR
163702011-11-02 Martin Rudalics <rudalics@gmx.at>
16371
16372 * window.el (quit-window): Call unrecord-window-buffer after
16373 showing another buffer in the window. (Bug#9937)
acc825c5 16374 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 16375
ebe06da9
JB
163762011-11-02 Juanma Barranquero <lekktu@gmail.com>
16377
16378 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
16379 Accept status with more than 9 shelves. (Bug#9935)
16380 Reported by Colin D Bennett <colin@gibibit.com>.
16381
4ee88440
MR
163822011-11-01 Martin Rudalics <rudalics@gmx.at>
16383
16384 * help.el (with-help-window): Don't reference
16385 temp-buffer-show-specifiers in doc-string.
16386
08e1d82c
AS
163872011-10-31 Andreas Schwab <schwab@linux-m68k.org>
16388
16389 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
16390 menu-item.
16391
84bd6e9e
VJL
163922011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
16393
16394 * whitespace.el: New version 13.2.2.
16395 (whitespace-newline-mode): Disable properly. Reported by Sarah
16396 <EmacsWiki>.
16397
dba0634a
UJ
163982011-10-30 Ulf Jasper <ulf.jasper@web.de>
16399
16400 * net/newst-treeview.el: Remove "Time-stamp".
16401 (newsticker--group-manage-orphan-feeds): Do not call
16402 newsticker--treeview-tree-update.
db22a3c2
JB
16403 (newsticker-treeview-update, newsticker-treeview):
16404 Call newsticker--treeview-tree-update if necessary.
dba0634a 16405
3d8daefe
MR
164062011-10-30 Martin Rudalics <rudalics@gmx.at>
16407
16408 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
16409 (window-iso-combinations): Remove "iso-" infix.
16410 Suggested by Chong Yidong.
3d8daefe
MR
16411 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
16412 (window-max-delta-1, window-resize, window--resize-siblings)
16413 (window--resize-this-window, adjust-window-trailing-edge)
16414 (split-window, balance-windows-1)
16415 (shrink-window-if-larger-than-buffer):
16416 * calendar/calendar.el (calendar-generate-window):
db22a3c2 16417 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 16418
1bc4c3ae
SM
164192011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
16420
16421 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
16422 in place (bug#9907).
16423 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
16424 (eshell-rewrite-if-command, eshell-rewrite-for-command)
16425 (eshell-structure-basic-command, eshell-rewrite-while-command)
16426 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
16427 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
16428 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
16429 (eshell-do-pipelines-synchronously, eshell-eval-command):
16430 Use backquotes and prefer setq to set.
16431 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
16432 (eshell-macrop): Use functionp.
c1e2f5fa 16433 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 16434
30b65d9c
CY
164352011-10-30 Chong Yidong <cyd@gnu.org>
16436
16437 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
16438 instead of set-mark (Bug#9810).
16439
2d197ffb
CY
164402011-10-30 Chong Yidong <cyd@gnu.org>
16441
16442 * window.el (split-window-below, split-window-right): Rename from
16443 split-window-above-each-other and split-window-side-by-side
16444 respectively. All callers changed.
16445 (split-window-sensibly, split-window-sensibly): Use them.
16446 (split-window-keep-point): Doc fix.
16447
16448 * isearch.el: Add isearch-scroll property to split-window-below
16449 and split-window-right.
16450
16451 * follow.el (follow-mode):
16452 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
16453 * progmodes/ada-xref.el (ada-gdb-application):
16454 * emulation/vip.el (vip-buffer-in-two-windows):
16455 * image-dired.el (image-dired-dired-with-window-configuration):
16456 * dired-x.el (dired-do-find-marked-files):
16457 * dired.el (dired-pop-to-buffer):
16458 * bs.el (bs--show-with-configuration):
16459 * vc/emerge.el (emerge-setup-windows):
16460 * textmodes/two-column.el (2C-two-columns):
16461 * textmodes/reftex-toc.el (reftex-toc):
16462 * progmodes/gdb-mi.el (gdb-setup-windows):
16463 * progmodes/fortran.el (fortran-window-create):
16464 * net/newst-treeview.el (newsticker--treeview-window-init):
16465 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
16466 * emulation/tpu-edt.el (tpu-gold-map):
16467 * emulation/crisp.el (crisp-mode-map):
16468 * calendar/calendar.el (calendar-basic-setup): Callers changed.
16469
38bb2ca8
CY
164702011-10-29 Chong Yidong <cyd@gnu.org>
16471
aa4de341
CY
16472 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
16473
e1eb5385
CY
16474 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
16475
5d2ece3c
CY
16476 * textmodes/flyspell.el (flyspell-word): Fix char offset for
16477 forged Ispell output (Bug#7904).
16478
38bb2ca8
CY
16479 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
16480
d0af9f77
SM
164812011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
16482
16483 * doc-view.el: Avoid ugly errors about not finding nil.
16484 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
16485 (doc-view-dvipdf-program, doc-view-unoconv-program)
16486 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
16487 Avoid nil or absolute file name as default value.
16488 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
16489
52bedd34
AM
164902011-10-28 Alan Mackenzie <acm@muc.de>
16491
db22a3c2 16492 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 16493
7e43cfa5
AM
164942011-10-28 Alan Mackenzie <acm@muc.de>
16495
16496 Amend the handling of c-beginning/end-of-defun in nested declaration
16497 scopes.
16498
52bedd34
AM
16499 * progmodes/cc-vars.el (c-defun-tactic): Move here from
16500 cc-langs.el. Change it to a defcustom.
7e43cfa5 16501
52bedd34
AM
16502 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
16503 cc-vars.el.
7e43cfa5 16504
d0af9f77
SM
16505 * progmodes/cc-engine.el (c-beginning-of-statement-1):
16506 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 16507
52bedd34 16508 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 16509 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
16510 (c-widen-to-enclosing-decl-scope): New function.
16511 (c-while-widening-to-decl-block): New macro.
16512 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
16513 outward for defun boundaries, and correspondingly change symbol
16514 `respect-enclosure' to `go-outward'.
16515 (c-declaration-limits): Change algorithm to report only the "innermost"
16516 defun's boundaries.
16517
1a2ce9ee
DD
165182011-10-28 Deniz Dogan <deniz@dogan.se>
16519
16520 * net/rcirc.el (rcirc-mode): Use hard newlines.
16521
bc97a826
AM
165222011-10-28 Alan Mackenzie <acm@muc.de>
16523
16524 Amend to indent and fontify macros "which include their own semicolon"
16525 correctly, using the "virtual semicolon" mechanism.
16526
52bedd34 16527 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 16528
d0af9f77 16529 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 16530 Recode to scan one line at a time rather than having \n and \r
58179cce 16531 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 16532 (c-forward-label): Amend for virtual semicolons.
58179cce 16533 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 16534
52bedd34
AM
16535 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
16536 of the new C macros.
bc97a826 16537
52bedd34 16538 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
16539 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
16540 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
16541 (c-opt-cpp-macro-define): Make into a full language variable.
16542 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
16543 AWK Mode (including \n, \r) removed, no longer needed.
16544
d0af9f77
SM
16545 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
16546 Invoke c-make-macro-with-semi-re.
bc97a826 16547
52bedd34
AM
16548 * progmodes/cc-vars.el (c-macro-with-semi-re):
16549 (c-macro-names-with-semicolon): New variables.
58179cce 16550 (c-make-macro-with-semi-re): New function.
bc97a826 16551
7a6c0941
SM
165522011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
16553
16554 * vc/log-edit.el: Fill empty field rather than adding new one.
16555 (log-edit-add-field): New function.
16556 (log-edit-insert-changelog): Use it.
16557
b0c4cdcf
ML
165582011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
16559
16560 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
16561
ee1f1da9
SM
165622011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
16563
16564 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
16565 (gdb--check-interpreter): New function.
16566 (gdb): Use it.
16567
51bc5f8b
GM
165682011-10-27 Glenn Morris <rgm@gnu.org>
16569
416a2c45
GM
16570 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
16571 (least-positive-float, least-negative-float)
16572 (least-positive-normalized-float, least-negative-normalized-float)
16573 (float-epsilon, float-negative-epsilon):
16574 Remove unnecessary declarations.
16575
16576 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
16577 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
16578 (least-positive-float, least-negative-float)
16579 (least-positive-normalized-float, least-negative-normalized-float)
16580 (float-epsilon, float-negative-epsilon): Add doc-strings,
16581 based on those in cl.texi.
16582
51bc5f8b
GM
16583 * files.el (set-visited-file-name): If the major-mode changed,
16584 reload the local variables. (Bug#9796)
16585
15de15c6
CY
165862011-10-27 Chong Yidong <cyd@gnu.org>
16587
16588 * subr.el (change-major-mode-after-body-hook): New hook.
16589 (run-mode-hooks): Run it.
16590
ee1f1da9
SM
16591 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
16592 Use change-major-mode-before-body-hook.
15de15c6
CY
16593
16594 * simple.el (fundamental-mode):
16595 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
16596 change introducing fundamental-mode-hook.
16597
5430d399
JB
165982011-10-26 Juanma Barranquero <lekktu@gmail.com>
16599
acc825c5 16600 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 16601
ad74a69e
MA
166022011-10-26 Michael Albinus <michael.albinus@gmx.de>
16603
16604 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 16605 tramp.el explicitly. (Bug#7583)
ad74a69e 16606
71d4c2a5
SM
166072011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
16608
16609 * progmodes/octave-mod.el:
16610 * progmodes/octave-inf.el: Update maintainer.
16611
b1f6fa26
CY
166122011-10-26 Chong Yidong <cyd@gnu.org>
16613
16614 * subr.el (with-wrapper-hook): Rewrite doc.
16615
3f04efd6
MA
166162011-10-25 Michael Albinus <michael.albinus@gmx.de>
16617
16618 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 16619 filenames "/method:foo:". (Bug#9793)
3f04efd6 16620
410488d3
SM
166212011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
16622
16623 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
16624 (bug#9865).
16625
c1ebb47e
GM
166262011-10-24 Glenn Morris <rgm@gnu.org>
16627
16628 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
16629
7f5c46c7
MA
166302011-10-24 Michael Albinus <michael.albinus@gmx.de>
16631
16632 * notifications.el: Add the requirement of a running D-Bus session
16633 bus to the Commentary.
16634
db2440b6
JL
166352011-10-24 Juri Linkov <juri@jurta.org>
16636
16637 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
16638 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
16639 (Bug#9364)
16640
feecf435
JL
166412011-10-24 Juri Linkov <juri@jurta.org>
16642
16643 * info.el (Info-following-node-name-re): Add newline to the list
16644 of allowed characters for leading space. (Bug#9824)
16645
a3839de2
SM
166462011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
16647
acc825c5
SM
16648 * progmodes/octave-inf.el (inferior-octave-mode-map):
16649 Fix C-c C-h binding.
a3839de2
SM
16650 * progmodes/octave-mod.el (octave-help): Remove.
16651
09388e76
MA
166522011-10-23 Michael Albinus <michael.albinus@gmx.de>
16653
16654 Sync with Tramp 2.2.3.
16655
16656 * net/tramp-cache.el (top): Pacify byte-compiler using
16657 `init-file-user' and `site-run-file'.
16658
16659 * net/trampver.el: Update release number.
16660
86c60681
CY
166612011-10-23 Chong Yidong <cyd@gnu.org>
16662
16663 * files.el (toggle-read-only): Remove obsolete comment about
16664 version control.
16665
16666 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
16667 for toggle-read-only. Note that this hasn't called vc-next-action
16668 since 2008-05-02, though it wasn't documented at the time.
16669
a3839de2
SM
16670 * vc/ediff-init.el (ediff-toggle-read-only-function):
16671 Use toggle-read-only.
86c60681 16672
cd5495ff
AM
166732011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
16674
16675 Fix bug #9560, sporadic wrong indentation; improve instrumentation
16676 of c-parse-state.
16677
00b77525 16678 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 16679 correct faulty logical expression.
cd5495ff
AM
16680 (c-parse-state-state, c-record-parse-state-state):
16681 (c-replay-parse-state-state): New defvar/defuns.
16682 (c-debug-parse-state): Use new functions.
16683
42ee24ed
MR
166842011-10-22 Martin Rudalics <rudalics@gmx.at>
16685
16686 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 16687 last fix. Use window-in-direction correctly.
42ee24ed 16688
a7dee7e7
CY
166892011-10-21 Chong Yidong <cyd@gnu.org>
16690
16691 * progmodes/idlwave.el (idlwave-mode):
16692 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
16693 require-final-newline; that's done in prog-mode.
16694 Suggested by Stefan Monnier.
a7dee7e7 16695
e07b9a6d
MR
166962011-10-21 Martin Rudalics <rudalics@gmx.at>
16697
16698 * mouse.el (mouse-drag-window-above)
16699 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
16700 (mouse-drag-mode-line-1, mouse-drag-header-line)
16701 (mouse-drag-vertical-line-rightward-window): Remove.
16702 (mouse-drag-line): New function.
16703 (mouse-drag-mode-line, mouse-drag-header-line)
16704 (mouse-drag-vertical-line): Call mouse-drag-line.
16705 * window.el (window-at-side-p, windows-at-side): New functions.
16706
7e1361d9
UM
167072011-10-21 Ulrich Mueller <ulm@gentoo.org>
16708
16709 * tar-mode.el (tar-grind-file-mode):
16710 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
16711
30fcaf3a
CY
167122011-10-21 Chong Yidong <cyd@gnu.org>
16713
16714 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
16715 * progmodes/vera-mode.el (vera-mode):
16716 Use mode-require-final-newline.
30fcaf3a 16717
516eddb0
GM
167182011-10-20 Glenn Morris <rgm@gnu.org>
16719
db22a3c2 16720 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 16721
10d5f513
CS
167222011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
16723
16724 * emulation/cua-base.el (cua-set-mark): Fix case of string.
16725
ac6c8639
CY
167262011-10-20 Chong Yidong <cyd@gnu.org>
16727
16728 * emulation/cua-base.el (cua-mode):
16729 * mail/footnote.el (footnote-mode):
16730 * mail/mailabbrev.el (mail-abbrevs-mode):
16731 * net/xesam.el (xesam-minor-mode):
16732 * progmodes/bug-reference.el (bug-reference-mode):
16733 * progmodes/cap-words.el (capitalized-words-mode):
16734 * progmodes/compile.el (compilation-minor-mode)
16735 (compilation-shell-minor-mode):
16736 * progmodes/gud.el (gud-tooltip-mode):
16737 * progmodes/hideif.el (hide-ifdef-mode):
16738 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
16739 * progmodes/subword.el (subword-mode):
16740 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
16741 * progmodes/which-func.el (which-function-mode):
16742 * term/tvi970.el (tvi970-set-keypad-mode):
16743 * term/vt100.el (vt100-wide-mode):
16744 * textmodes/flyspell.el (flyspell-mode):
16745 * textmodes/ispell.el (ispell-minor-mode):
16746 * textmodes/nroff-mode.el (nroff-electric-mode):
16747 * textmodes/paragraphs.el (use-hard-newlines):
16748 * textmodes/refill.el (refill-mode):
16749 * textmodes/reftex.el (reftex-mode):
16750 * textmodes/rst.el (rst-minor-mode):
16751 * textmodes/sgml-mode.el (html-autoview-mode)
16752 (sgml-electric-tag-pair-mode):
16753 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
16754 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
16755 * emulation/crisp.el (crisp-mode):
16756 * emacs-lisp/eldoc.el (eldoc-mode):
16757 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
16758 minor mode behavior.
16759
aa42ab43
JL
167602011-10-19 Juri Linkov <juri@jurta.org>
16761
16762 * descr-text.el (describe-char): Add #x2010 and #x2011 to
16763 the list of hard-coded chars with escape-glyph face.
16764
89400f1d
SM
167652011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
16766
16767 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
16768
305c07f6
MA
167692011-10-19 Michael Albinus <michael.albinus@gmx.de>
16770
16771 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
16772 running process.
16773
13754b54
GM
167742011-10-19 Glenn Morris <rgm@gnu.org>
16775
16776 * vc/vc-bzr.el (vc-bzr-after-dir-status):
16777 Ignore ignored files. (Bug#9726)
16778
06e21633
CY
167792011-10-19 Chong Yidong <cyd@gnu.org>
16780
16781 Doc fix for minor modes, stating that an omitted argument enables
16782 the mode unconditionally when called from Lisp.
16783
16784 * abbrev.el (abbrev-mode):
16785 * allout.el (allout-mode):
16786 * autoinsert.el (auto-insert-mode):
16787 * autoarg.el (autoarg-mode, autoarg-kp-mode):
16788 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
16789 (global-auto-revert-mode):
16790 * battery.el (display-battery-mode):
16791 * composite.el (global-auto-composition-mode)
16792 (auto-composition-mode):
16793 * delsel.el (delete-selection-mode):
16794 * desktop.el (desktop-save-mode):
16795 * dired-x.el (dired-omit-mode):
16796 * dirtrack.el (dirtrack-mode):
16797 * doc-view.el (doc-view-minor-mode):
16798 * double.el (double-mode):
16799 * electric.el (electric-indent-mode, electric-pair-mode):
16800 * emacs-lock.el (emacs-lock-mode):
16801 * epa-hook.el (auto-encryption-mode):
16802 * follow.el (follow-mode):
16803 * font-core.el (font-lock-mode):
16804 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
16805 * help.el (temp-buffer-resize-mode):
16806 * hilit-chg.el (highlight-changes-mode)
16807 (highlight-changes-visible-mode):
16808 * hi-lock.el (hi-lock-mode):
16809 * hl-line.el (hl-line-mode, global-hl-line-mode):
16810 * icomplete.el (icomplete-mode):
16811 * ido.el (ido-everywhere):
16812 * image-file.el (auto-image-file-mode):
16813 * image-mode.el (image-minor-mode):
16814 * iswitchb.el (iswitchb-mode):
16815 * jka-cmpr-hook.el (auto-compression-mode):
16816 * linum.el (linum-mode):
16817 * longlines.el (longlines-mode):
16818 * master.el (master-mode):
16819 * mb-depth.el (minibuffer-depth-indicate-mode):
16820 * menu-bar.el (menu-bar-mode):
16821 * minibuf-eldef.el (minibuffer-electric-default-mode):
16822 * mouse-sel.el (mouse-sel-mode):
16823 * msb.el (msb-mode):
16824 * mwheel.el (mouse-wheel-mode):
16825 * outline.el (outline-minor-mode):
16826 * paren.el (show-paren-mode):
16827 * recentf.el (recentf-mode):
16828 * reveal.el (reveal-mode, global-reveal-mode):
16829 * rfn-eshadow.el (file-name-shadow-mode):
16830 * ruler-mode.el (ruler-mode):
16831 * savehist.el (savehist-mode):
16832 * scroll-all.el (scroll-all-mode):
16833 * scroll-bar.el (scroll-bar-mode):
16834 * server.el (server-mode):
16835 * shell.el (shell-dirtrack-mode):
16836 * simple.el (auto-fill-mode, transient-mark-mode)
16837 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
16838 (line-number-mode, column-number-mode, size-indication-mode)
16839 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
16840 * strokes.el (strokes-mode):
16841 * time.el (display-time-mode):
16842 * t-mouse.el (gpm-mouse-mode):
16843 * tool-bar.el (tool-bar-mode):
16844 * tooltip.el (tooltip-mode):
16845 * type-break.el (type-break-mode-line-message-mode)
16846 (type-break-query-mode):
16847 * view.el (view-mode):
16848 * whitespace.el (whitespace-mode, whitespace-newline-mode)
16849 (global-whitespace-mode, global-whitespace-newline-mode):
16850 * xt-mouse.el (xterm-mouse-mode): Doc fix.
16851
a3839de2
SM
16852 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
16853 Fix autogenerated docstring.
06e21633 16854
5214e501
JL
168552011-10-19 Juri Linkov <juri@jurta.org>
16856
16857 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
16858 by checking environment variables "DESKTOP_SESSION" and
16859 "XDG_CURRENT_DESKTOP". (Bug#9779)
16860
195f8db9
JL
168612011-10-19 Juri Linkov <juri@jurta.org>
16862
16863 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
16864 (browse-url-chromium-program, browse-url-chromium-arguments):
16865 New defcustoms.
16866 (browse-url-default-browser): Check for `browse-url-chromium' and
16867 call `browse-url-chromium-program'.
16868 (browse-url-chromium): New command. (Bug#9779)
16869
343a34ff
JB
168702011-10-18 Juanma Barranquero <lekktu@gmail.com>
16871
16872 * facemenu.el (list-colors-duplicates): On Windows, detect more
16873 duplicates by assuming that only colors matching "^System" are
16874 special "system colors". (Bug#9722)
16875
6978a151
SM
168762011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
16877
16878 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
16879 to distinguish the author from the committer.
16880
6a80b297
MA
168812011-10-18 Michael Albinus <michael.albinus@gmx.de>
16882
16883 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
16884
b31a5677
JK
168852011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
16886
16887 * international/mule.el (sgml-html-meta-auto-coding-function):
16888 Add support for detecting encoding in HTML5 specified only as
16889 <meta charset="UTF-8">. Implementation just makes http-equiv and
16890 content-type parts from HTML4 encoding string optional. (Bug#9716)
16891
80c6d77f
GM
168922011-10-18 Glenn Morris <rgm@gnu.org>
16893
16894 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
16895
08b0fee8
CY
168962011-10-18 Chong Yidong <cyd@gnu.org>
16897
16898 * faces.el (cursor): Doc fix.
16899
67e729a5
CY
169002011-10-17 Chong Yidong <cyd@gnu.org>
16901
16902 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
16903
343a34ff 169042011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
16905
16906 * dirtrack.el (dirtrack): Support shell buffers with path
16907 prefixes, e.g. tramp-based remote shells. (Bug#9647)
16908
0bc06380
TZ
169092011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
16910
16911 * json.el: Bump version to 1.3 and note change in History.
16912 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
16913
8b79f3e0
SM
169142011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
16915
5a7c536b
SM
16916 * comint.el (comint-insert-input, comint-send-input)
16917 (comint-get-old-input-default, comint-backward-matching-input)
16918 (comint-next-prompt): Use nil instead of `input' for field property of
16919 past user input (bug#114).
16920
96a8a0df
SM
16921 * minibuffer.el (completion--replace): Inherit surrounding properties
16922 (bug#114).
16923 (minibuffer-complete-and-exit): Use it.
16924
8b79f3e0
SM
16925 * comint.el (comint--table-subvert): Quote the all-completions output
16926 (bug#9160).
16927
b8f7ff0d
MR
169282011-10-17 Martin Rudalics <rudalics@gmx.at>
16929
8b79f3e0 16930 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 16931
b8f7ff0d 16932 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 16933 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
16934 entries and separate them from frame entries.
16935
c235b555
GM
169362011-10-15 Glenn Morris <rgm@gnu.org>
16937
16938 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
16939 Doc fixes.
16940
6bbfa6e1
CY
169412011-10-15 Chong Yidong <cyd@stupidchicken.com>
16942
8b79f3e0
SM
16943 * net/network-stream.el (network-stream-open-starttls):
16944 Improve detection of failure due to lack of TLS support.
ec5c990d 16945
6bbfa6e1
CY
16946 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
16947 putting the input text in front and in bold.
16948
98488977
SM
169492011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
16950
3d1337be
SM
16951 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
16952
ee0b45e4
SM
16953 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
16954 empty buffer.
16955
98488977
SM
16956 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
16957 unread-command-events rather than pushing yet-another event.
16958
186f4720
EZ
169592011-10-14 Eli Zaretskii <eliz@gnu.org>
16960
16961 * mail/sendmail.el (sendmail-query-once): Improve the wording of
16962 the explanation of the possible choices. Make the options passed
16963 to completing-read shorter.
16964
8b7a997c
AM
169652011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
16966
16967 * textmodes/flyspell.el (flyspell-large-region): Make sure
16968 extended character mode is used if defined (Bug#1339).
16969
12587bbb
EZ
169702011-10-13 Eli Zaretskii <eliz@gnu.org>
16971
16972 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
16973 character info for LRE, LRO, RLE, and RLO characters by appending
16974 an invisible PDF.
12587bbb 16975
bad41229
SM
169762011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
16977
16978 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
16979 even in case of error; add debug spec; simplify data flow.
16980 (with-timeout-handler): Remove.
16981
28dbc92f
MA
169822011-10-12 Michael Albinus <michael.albinus@gmx.de>
16983
16984 Fix Bug#6019, Bug#9315.
16985
16986 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
16987 complete `buffer-file-name', the local file name part could look
16988 remotely (for example on VMS).
16989
16990 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
16991 `tramp-run-real-handler'.
16992 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
16993 already quoted by '"'.
16994
16995 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
16996 Let `file-name-handler-alist' be nil, the local file name part
16997 could look remotely (for example on VMS).
16998
e1b0b23a
SM
169992011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
17000
17001 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
17002 from here...
17003 (flyspell-post-command-hook): ...to here.
17004
a120bde9
SM
170052011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
17006
17007 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
17008 if not needed.
17009 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
17010 using completion. Protect against "slow" callers.
17011 Remove the "message hack".
17012
7ce7717b
JL
170132011-10-11 Juri Linkov <juri@jurta.org>
17014
17015 * isearch.el (isearch-lazy-highlight-word): New variable.
17016 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
17017 Use it. (Bug#9727)
17018
c02ee9d6
GM
170192011-10-11 Glenn Morris <rgm@gnu.org>
17020
17021 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
17022 like f90-previous-statement does.
17023
93e616fd 170242011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17025
1f190e73 17026 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
17027 only in interactive use, to avoid error.
17028
af7b6078
SM
170292011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
17030
17031 * minibuffer.el (completion-file-name-table): Fix last change,
17032 i.e. ignore normal errors but not the other ones.
17033
0563dae9
MR
170342011-10-10 Martin Rudalics <rudalics@gmx.at>
17035
17036 * window.el (special-display-buffer-names)
17037 (special-display-regexps): Remove some remnants of earlier
17038 changes from doc-strings.
366ca7f3
MR
17039 (quit-windows-on): New function.
17040
17041 * vc/vc.el (vc-revert, vc-rollback):
17042 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
17043 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 17044 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 17045
49677495
MR
170462011-10-09 Martin Rudalics <rudalics@gmx.at>
17047
17048 * window.el (frame-auto-hide-function): Add version tag.
17049 (Bug#9699)
17050
56f2d1e1
MA
170512011-10-09 Michael Albinus <michael.albinus@gmx.de>
17052
17053 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
17054 condition.
17055
112a6592
LL
170562011-10-09 Leo Liu <sdl.web@gmail.com>
17057
17058 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
17059 (Bug#9701)
17060
0812589b
GM
170612011-10-08 Glenn Morris <rgm@gnu.org>
17062
17063 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
17064 before the first code statement zero indent. (Bug#9690)
17065
b2b0776e
CY
170662011-10-08 Chong Yidong <cyd@stupidchicken.com>
17067
17068 * simple.el (count-words-region): Always count in the region.
17069 Report the number of lines and characters too.
17070 (count-words): New command, which counts in the buffer if the
17071 region is inactive, as count-words-region used to.
17072 (count-words--message): New function. Handle plurals.
17073 (count-lines-region): Make it an alias for count-words-region.
17074
17075 * bindings.el (esc-map): Replace count-lines-region with
17076 count-words-region.
17077
c557cd6b
MR
170782011-10-08 Martin Rudalics <rudalics@gmx.at>
17079
17080 * window.el (window--delete): Delete dedicated frame
17081 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 17082 (switch-to-buffer): Fix doc-string typo.
c557cd6b 17083
61a57ef4 170842011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17085
3a7d293b 17086 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 17087
c3833279
CY
170882011-10-07 Chong Yidong <cyd@stupidchicken.com>
17089
17090 * bindings.el ([M-left],[M-right]): Bind to left-word and
17091 right-word respectively.
17092
21ce8245
GM
170932011-10-07 Glenn Morris <rgm@gnu.org>
17094
17095 * cus-start.el (debug-on-quit): Fix custom type.
17096
6d823bb2
LMI
170972011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
17098
0181e193
LMI
17099 * subr.el (define-key-after): Clarify that the function is not
17100 useful for non-menu keymaps.
17101
6d823bb2
LMI
17102 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
17103
8e3459ce 171042011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17105
21ce8245 17106 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 17107 in current minibuffer (Fix bug with recursive minibuffers).
17108
a1c2d21e
CY
171092011-10-06 Chong Yidong <cyd@stupidchicken.com>
17110
17111 * progmodes/gdb-mi.el (gdb): Doc fix.
17112
5a4cf282
MR
171132011-10-05 Martin Rudalics <rudalics@gmx.at>
17114
17115 * window.el (frame-auto-hide-function): New option replacing
17116 frame-auto-delete. Suggested by Stefan Monnier.
17117 (window--delete): Call frame-auto-hide-function instead of
17118 investigating frame-auto-delete.
c96111ea
MR
17119 (window-point-1, set-window-point-1): New functions.
17120 (window-in-direction, record-window-buffer, window-state-get-1)
17121 (display-buffer-record-window): Use window-point-1 instead of
17122 window-point.
17123 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 17124
9854542e
SM
171252011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
17126
17127 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
17128
8943cfb0
GM
171292011-10-05 Glenn Morris <rgm@gnu.org>
17130
17131 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
17132 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
17133
647ab967
LL
171342011-10-05 Leo Liu <sdl.web@gmail.com>
17135
17136 * subr.el (read-char-choice): Fix argument to buffer-live-p which
17137 works with buffer object.
17138
3ddfbced
SM
171392011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
17140
17141 * mpc.el (mpc-tool-bar-map): Add labels.
17142
bdfa5dd2
GM
171432011-10-04 Glenn Morris <rgm@gnu.org>
17144
17145 * calendar/holidays.el (calendar-check-holidays): Doc fix.
17146
0e2070b5
MR
171472011-10-04 Martin Rudalics <rudalics@gmx.at>
17148
17149 * window.el (window--delete): New function.
17150 (frame-auto-delete): Resuscitate option.
17151 (bury-buffer, replace-buffer-in-windows)
17152 (quit-window): Rewrite using window--delete.
17153 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
17154 Pass display-buffer-mark-dedicated to window--display-buffer-2
17155 (Bug#9639).
17156
3dc61a09
SM
171572011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
17158
915a9b64
SM
17159 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
17160 returns a list (bug#9554). Add remote file name completion.
17161 * comint.el (comint--table-subvert): Curry and get quote&unquote
17162 functions as arguments.
17163 (comint--complete-file-name-data): Adjust call accordingly.
17164 * pcomplete.el (pcomplete--table-subvert): Remove.
17165 (pcomplete-completions-at-point): Use comint--table-subvert instead.
17166
3dc61a09
SM
17167 * minibuffer.el (completion-table-case-fold): Use currying.
17168 (completion--styles-type, completion--cycling-threshold-type):
17169 New constants.
17170 (completion-styles, completion-category-overrides)
17171 (completion-cycle-threshold): Use them.
17172 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
17173 completion-table-case-fold.
17174
8ea0a993
SB
171752011-10-03 Stephen Berman <stephen.berman@gmx.net>
17176
17177 * minibuffer.el (completion-category-overrides): Fix type of styles
17178 and add more user friendly tags (bug#9660).
17179
8c24b7f6
SM
171802011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
17181
17182 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
17183 (mule-input-method-string): New widget.
17184 (default-input-method, language-info-custom-alist): Use it.
17185
428fe61a
SM
171862011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
17187
32c1fffd
SM
17188 * pcomplete.el: Require comint.
17189 (pcomplete--common-suffix): Remove.
17190 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
17191 (pcomplete--table-subvert): Sync with comint--table-subvert.
17192 (pcomplete--entries): Use comint-completion-file-name-table.
17193 * comint.el (comint-unquote-filename): Simplify.
17194 (comint-completion-file-name-table): New function (bug#9616).
17195 (comint--complete-file-name-data): Use it.
17196
428fe61a
SM
17197 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
17198 (pcmpl-gnu-tar-buffer): Remove.
17199 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
17200 around. Make sure pcomplete-suffix-list is only changed temporarily.
17201 Don't look inside the tar's file if it's too large.
428fe61a 17202
04c52e2f
CY
172032011-10-01 Chong Yidong <cyd@stupidchicken.com>
17204
ce3cefcc
CY
17205 * cus-edit.el (custom-mode-map):
17206 * epa.el (epa-key-list-mode-map):
17207 * man.el (Man-mode-map):
17208 * startup.el (splash-screen-keymap):
17209 * simple.el (special-mode-map): Use scroll-up-command and
17210 scroll-down-command.
17211
17212 * progmodes/idlw-help.el (idlwave-help-mode-map):
17213 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
17214 * net/newst-plainview.el (newsticker-mode-map):
17215 * emulation/ws-mode.el (wordstar-mode-map):
17216 * emulation/vi.el (vi-com-map):
17217 * calc/calc-graph.el (calc-graph-show-dumb):
17218 * term/sun.el (terminal-init-sun):
17219 * term/ns-win.el (global-map):
17220 * progmodes/grep.el (grep-mode-map):
17221 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
17222 * mail/rmail.el (rmail-mode-map):
17223 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
17224
04c52e2f
CY
17225 * custom.el (custom-safe-themes, load-theme): Treat value of t for
17226 custom-safe-themes as special.
17227
79adf8c8
JD
172282011-10-01 Julien Danjou <julien@danjou.info>
17229
17230 * notifications.el (notifications-notify): Fix docstring.
17231
63bd50d3
PS
172322011-10-01 Per Starbäck <per@starback.se>
17233
17234 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
17235
199e4c7e
MR
172362011-09-30 Martin Rudalics <rudalics@gmx.at>
17237
17238 * startup.el (command-line-1): Fix last fix by inserting
17239 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 17240 (Bug#9605) and (Bug#9636)
199e4c7e 17241
fe5f08dd
EZ
172422011-09-29 Eli Zaretskii <eliz@gnu.org>
17243
17244 * simple.el (line-move): If auto-hscroll-mode is disabled and the
17245 window is hscrolled, move by logical lines. (Bug#9607)
17246 (line-move-visual): Update the doc string to the above effect.
17247
b5516bbd
MR
172482011-09-29 Martin Rudalics <rudalics@gmx.at>
17249
ccee00c0
MR
17250 * window.el (display-buffer-record-window): When WINDOW is the
17251 selected window use `point' instead of `window-point'. (Bug#9626)
17252
b5516bbd
MR
17253 * startup.el (command-line-1): Use insert-before-markers when
17254 inserting initial-scratch-message. (Bug#9605)
ccee00c0 17255
b5516bbd
MR
17256 * help.el (help-window): Remove variable.
17257
52aa0014
GM
172582011-09-29 Glenn Morris <rgm@gnu.org>
17259
17260 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
17261
df9a7357
JB
172622011-09-29 Juanma Barranquero <lekktu@gmail.com>
17263
17264 * descr-text.el (describe-char-categories): Accept category
17265 descriptions more than one line long.
17266
a8406c20
SM
172672011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
17268
88d9610c
SM
17269 * simple.el (delete-trailing-whitespace): Fix last change.
17270
a5daf810
SM
17271 * progmodes/perl-mode.el (perl-syntax-propertize-function):
17272 Don't confuse "y => 3" as the beginning of a `y' operation.
17273
a8406c20
SM
17274 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
17275 object has more than 4 slots (bug#9613).
17276
a239d4e9
JB
172772011-09-28 Juanma Barranquero <lekktu@gmail.com>
17278
17279 * subr.el (with-output-to-temp-buffer):
17280 * net/quickurl.el (quickurl, quickurl-browse-url):
17281 Fix typos in docstrings.
17282
693fbdb6
EZ
172832011-09-27 Eli Zaretskii <eliz@gnu.org>
17284
17285 * minibuffer.el (completion-styles)
17286 (completion-category-overrides): Cross reference each other in doc
17287 strings.
17288
8b457e28
GM
172892011-09-27 Glenn Morris <rgm@gnu.org>
17290
17291 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
17292 to split-string. (Bug#9606)
17293
85a16208
LMI
172942011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
17295
17296 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
17297 (bug#9615).
17298
502f9ebd
CY
172992011-09-27 Chong Yidong <cyd@stupidchicken.com>
17300
17301 * emacs-lisp/package.el (list-packages): Fix echo area message.
17302
7690bdea
LL
173032011-09-27 Leo Liu <sdl.web@gmail.com>
17304
17305 * ido.el (ido-read-internal): Accept cons cell HIST arg.
17306
e2ee6f30
MA
173072011-09-25 Michael Albinus <michael.albinus@gmx.de>
17308
17309 * net/dbus.el (dbus-unregister-object): Don't release services for
17310 registered signals. (Bug#9581)
17311
f3f98342
TZ
173122011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
17313
17314 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
17315 function that picks between cfengine 2 and 3 support
17316 automatically. Update docs accordingly.
17317
dd7aa8dd
KH
173182011-09-22 Kenichi Handa <handa@m17n.org>
17319
17320 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
17321 ZERO.
17322 (indian-itrans-v5-table-for-tamil): New variable.
17323 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
17324
3f2b07f8
KM
173252011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
17326
17327 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
17328 that's true if the current command involved collapsing of text.
17329 It's reset to false at the beginning of the next command.
17330 (allout-post-command-business): Move the cursor to the beginning
17331 of entry if the cursor is hidden and collapsing activity just
17332 happened.
17333
371d6a61
CY
173342011-09-24 Chong Yidong <cyd@stupidchicken.com>
17335
17336 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
17337 tracking (Bug#9541).
17338
2ac2721a
UJ
173392011-09-24 Ulf Jasper <ulf.jasper@web.de>
17340
17341 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
17342 (newsticker-show-news): Automatically load html rendering package
17343 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
17344 because w3m-fill-column is let-bound" and the error "Symbol's value
17345 as variable is void: w3m-fill-column".
2ac2721a 17346
fac7ae53
MA
173472011-09-24 Michael Albinus <michael.albinus@gmx.de>
17348
17349 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
17350 Release services only if they are defined. (Bug#9581)
17351
e08b633b
RS
173522011-09-23 Richard Stallman <rms@gnu.org>
17353
e488d29c
RS
17354 * textmodes/paragraphs.el (forward-sentence): For backwards case,
17355 distinguish start of paragraph from start of its text.
17356
19c38752
RS
17357 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
17358
e08b633b
RS
17359 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
17360 (rmail-generate-viewer-buffer): Put that hook on view buffer.
17361 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
17362
0a39f27e
AS
173632011-09-23 Andreas Schwab <schwab@linux-m68k.org>
17364
17365 * international/mule-diag.el (mule-diag): Insert a newline after
17366 each fontset description.
17367
db4e950d
SM
173682011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
17369
17370 * simple.el (delete-trailing-whitespace):
17371 Document last change; simplify.
17372
eca3f3ea
PW
173732011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
17374
d68e189a
PW
17375 * simple.el (delete-trailing-whitespace): Also delete
17376 extra newlines at the end of the buffer.
17377
eca3f3ea
PW
17378 * textmodes/picture.el: Make motion commands obey shift-select-mode.
17379 (picture-newline): Use forward-line so as to ignore fields.
17380
01c157cc
SM
173812011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
17382
17383 * subr.el (with-wrapper-hook): Fix edebug spec.
17384
022de23e
LMI
173852011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
17386
17387 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
17388 (bug#4538).
17389
91683089
MA
173902011-09-23 Michael Albinus <michael.albinus@gmx.de>
17391
eca3f3ea
PW
17392 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
17393 Fix nasty bug using wrong cached values.
91683089 17394
5bdd6fa4
AM
173952011-09-23 Alan Mackenzie <acm@muc.de>
17396
17397 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
17398
97adfb97
CY
173992011-09-23 Chong Yidong <cyd@stupidchicken.com>
17400
17401 * window.el (pop-to-buffer): Ensure right window is selected if we
17402 chose another frame.
17403
d4ef2b50
EZ
174042011-09-22 Eli Zaretskii <eliz@gnu.org>
17405
17406 * simple.el (what-cursor-position): Use get-char-property-change
17407 and next-single-char-property-change, to be able to show display
17408 properties that come from overlays as well as text properties.
17409
72258fe5
CY
174102011-09-22 Chong Yidong <cyd@stupidchicken.com>
17411
17412 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
17413
17414 * cmuscheme.el (run-scheme, switch-to-scheme):
17415 * cus-edit.el (customize-group, custom-buffer-create)
17416 (customize-browse):
17417 * info.el (info):
17418 * shell.el (shell):
17419 * mail/sendmail.el (mail):
17420 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
17421
8f098516
RS
174222011-09-22 Richard Stallman <rms@gnu.org>
17423
17424 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
17425 move back only to line beg, don't move back over blank lines.
17426
e74f1bb6
MA
174272011-09-22 Michael Albinus <michael.albinus@gmx.de>
17428
17429 * files.el (copy-directory): Set directory attributes only in case
17430 they could be retrieved from the source directory. (Bug#9565)
17431
bfeef8b6
DK
174322011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
17433
17434 * progmodes/hideshow.el (hs-looking-at-block-start-p)
17435 (hs-find-block-beginning, hs-hide-level-recursive):
17436 Ignore strings as well as comments. (Bug#9502)
17437
7e423bb8
AS
174382011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
17439
17440 * progmodes/sql.el (sql-comint-postgres):
17441 Convert port number to a string. (Bug#9566)
17442
b4d72fcf
MR
174432011-09-22 Martin Rudalics <rudalics@gmx.at>
17444
17445 * window.el (quit-window): Undedicate window when switching to
17446 previous buffer. Reported by Thierry Volpiatto
17447 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
17448 (special-display-popup-frame): When popping up a new frame reset
17449 its previous buffers to nil. Simplify code.
b4d72fcf 17450
a7b88dc6
MA
174512011-09-21 Michael Albinus <michael.albinus@gmx.de>
17452
17453 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
17454 and process filter, as done also in `shell-command'.
17455
cf4eacfd
MR
174562011-09-21 Martin Rudalics <rudalics@gmx.at>
17457
eca3f3ea 17458 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
17459 Call set-window-start with NOFORCE argument t.
17460 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
17461 (quit-window): Reword doc-string. Handle new format of
17462 quit-restore parameter. Don't delete window if it has a
17463 previous buffer we can show instead of the present one.
17464 (display-buffer-record-window): Rewrite using a new format for
17465 the quit-restore window parameter
17466 (special-display-popup-frame, display-buffer-same-window)
17467 (display-buffer-reuse-window, display-buffer-pop-up-frame)
17468 (display-buffer-pop-up-window, display-buffer-use-some-window):
17469 Adapt symbol passed to display-buffer-record-window.
17470 * help.el (help-window-setup): Handle new format of quit-restore
17471 parameter.
17472
8d28cb95
SM
174732011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
17474
94ab793f
SM
17475 * faces.el (face-list): Fix docstring (bug#9564).
17476
8d28cb95
SM
17477 * window.el (display-buffer--action-function-custom-type):
17478 Don't include internal functions in the Custom interface.
17479
3820edeb
JL
174802011-09-20 Juri Linkov <juri@jurta.org>
17481
17482 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
17483 (Info-forward-node, Info-backward-node, Info-next-preorder)
17484 (Info-last-preorder): Use it. (Bug#9528)
17485
5147931d
JL
174862011-09-20 Juri Linkov <juri@jurta.org>
17487
17488 * info.el (Info-last-preorder): Visit last menu item only when
17489 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
17490
cf499a1a
JD
174912011-09-20 Julien Danjou <julien@danjou.info>
17492
17493 * password-cache.el (password-cache-remove): Remove entries even if the
17494 value is nil, so that password with a nil value (negative caching) is
17495 possible to invalidate.
17496
f84e2fe2
LM
174972011-09-20 Lawrence Mitchell <wence@gmx.li>
17498
17499 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
17500 all whitespace around breakpoint. (Bug#9553)
17501 (f90-find-breakpoint): Only break at whitespace inside a comment.
17502
78054a46
SM
175032011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
17504
17505 * minibuffer.el (completion-file-name-table): Keep track of errors.
17506 (completion-table-with-predicate): Handle the case where pred1 is nil.
17507 * pcomplete.el (pcomplete-completions-at-point): Simplify.
17508
345083b2
SM
175092011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
17510
e24e27be
SM
17511 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
17512 (debugger-return-value): Signal an error if the debugging context does
17513 not await any return value.
17514
345083b2
SM
17515 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
17516 * image-mode.el (image-toggle-display-text)
17517 (image-toggle-display-image): Stay away from evil `intangible'.
17518
08d355e3
LL
175192011-09-19 Leo Liu <sdl.web@gmail.com>
17520
17521 * replace.el (occur-revert-arguments): Make it permanent-local.
17522 (occur-mode): Don't call font-lock-defontify.
17523
f01da43f
CY
175242011-09-19 Chong Yidong <cyd@stupidchicken.com>
17525
17526 * net/ldap.el (ldap-search-internal): Don't push empty search
17527 result (Bug#9508).
17528
b6072fa6
SM
175292011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
17530
17531 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
17532
443d6696
MA
175332011-09-19 Michael Albinus <michael.albinus@gmx.de>
17534
17535 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
17536 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
17537
7cc6e154
JL
175382011-09-18 Juri Linkov <juri@jurta.org>
17539
17540 * buff-menu.el (Buffer-menu-mode-map):
17541 * dired.el (dired-mode-map):
17542 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
17543 (lisp-interaction-mode-map):
17544 * emacs-lisp/package.el (package-menu-mode-map):
17545 * epa.el (epa-key-list-mode-map):
17546 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
17547 (menu-bar-options-menu):
17548 * outline.el (outline-mode-menu-bar-map):
17549 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
17550 * vc/vc-dir.el (vc-dir-menu-map):
17551 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
17552 Capitalize non-function content words in menu item strings.
17553
17554 * dired.el (dired-mode-map): Add menu item for
17555 `image-dired-dired-toggle-marked-thumbs'.
17556
80302a81
JL
175572011-09-18 Juri Linkov <juri@jurta.org>
17558
17559 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
17560 to `isearch-case-fold-search' and restore its original value
17561 after the `isearch-mode' call.
17562
46c5cf66
JL
175632011-09-18 Juri Linkov <juri@jurta.org>
17564
17565 * progmodes/grep.el (grep-process-setup): Don't check code for 1
17566 because `zgrep' returns 1 for successful matches (bug#9226).
17567
d18b513b
JL
175682011-09-18 Juri Linkov <juri@jurta.org>
17569
17570 * info.el (Info-extract-menu-node-name): Check the second match
17571 for empty string (second test-case of bug#9528).
17572 (Info-last-preorder): Let-bind `Info-history' to nil to not add
17573 intermediate nodes to the history (first test-case of bug#9528).
17574
72753f87
JL
175752011-09-18 Juri Linkov <juri@jurta.org>
17576
17577 * info.el (Info-mode-syntax-table): New variable.
1154d12e 17578 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 17579
c9384295
JL
175802011-09-18 Juri Linkov <juri@jurta.org>
17581
1154d12e
JB
17582 * info.el (Info-file-supports-index-cookies):
17583 Increment line-beginning-position's arg from 3 to 4 because makeinfo
17584 outputs one more line for long file names (bug#4142).
c9384295 17585
d473dce8
CY
175862011-09-18 Chong Yidong <cyd@stupidchicken.com>
17587
17588 * newcomment.el (comment-normalize-vars): If prompting for
17589 comment-start, set comment-start-skip too (Bug#8424).
17590
2176854d
JB
175912011-09-18 Johan Bockgård <bojohan@gnu.org>
17592
17593 * icomplete.el: Fix previous fix of Bug#5849.
17594 (icomplete-mode): Don't set completion-show-inline-help.
17595 (icomplete-minibuffer-setup): Set completion-show-inline-help
17596 locally during icompletion.
17597
3aace4e4
CY
175982011-09-18 Chong Yidong <cyd@stupidchicken.com>
17599
c940224f
CY
17600 * woman.el (woman2-process-escapes): Don't delete unrecognized
17601 escapes (Bug#7843).
17602
3aace4e4
CY
17603 * files.el (inhibit-first-line-modes-regexps): Add image files.
17604 (hack-local-variables-prop-line): Return nil for malformed
17605 prop-lines (Bug#9044).
17606
710dec63
MA
176072011-09-18 Michael Albinus <michael.albinus@gmx.de>
17608
17609 * net/tramp.el (top): Don't require 'shell.
17610 (tramp-methods): Fix docstring.
17611 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
17612 Return complete remote file name. Handle "smb" case.
17613 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
17614 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
17615
17616 * net/tramp-compat.el (top): Require 'shell.
17617
17618 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
17619 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
17620 `tramp-current-host'.
17621 (tramp-get-remote-tmpdir): Remove.
17622
17623 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
17624 `tramp-tmpdir' entries.
17625 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
17626 (tramp-smb-handle-file-attributes): Ignore errors.
17627 (tramp-smb-wait-for-output): Check also for process end.
17628
5d5ac8ec
LMI
176292011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
17630
17631 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
17632 when sending QUIT (bug#9312).
17633
8c0f49f0
CY
176342011-09-17 Chong Yidong <cyd@stupidchicken.com>
17635
17636 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
17637 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
17638 occur-mode-display-occurrence.
17639 (occur-edit-mode): Add usage message.
17640 (occur-cease-edit): New command.
17641 (occur-after-change-function): Use text properties to find the
17642 position of the prefix text.
17643 (occur-engine): Set stickiness of prefix text properties.
17644
8f1383f7
GM
176452011-09-17 Glenn Morris <rgm@gnu.org>
17646
17647 * progmodes/etags.el (complete-tag):
17648 Fix call to completion-in-region. (Bug#9526)
17649
744ba0e3
JL
176502011-09-17 Juri Linkov <juri@jurta.org>
17651
17652 * textmodes/ispell.el (ispell-word): Add to the error message
17653 the word, ispell program name and current dictionary (bug#9121).
17654 (ispell-tex-arg-end): Capitalize "error" in the error message.
17655
d9bbf400
AS
176562011-09-17 Andreas Schwab <schwab@linux-m68k.org>
17657
17658 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
17659 check. (Bug#4251)
17660
8da11505
JL
176612011-09-17 Juri Linkov <juri@jurta.org>
17662
17663 * window.el (window-safe-min-height, window-safe-min-width):
17664 Fix typos (followup to bug#9522).
17665
a91adc7e
SJ
176662011-09-17 Sven Joachim <svenjoac@gmx.de>
17667
17668 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
17669
064f328a
EZ
176702011-09-16 Eli Zaretskii <eliz@gnu.org>
17671
17672 * simple.el (line-move): If goal-column is set, move by logical
17673 lines, not by display lines. (Bug#971)
17674 (next-line, previous-line, goal-column, line-move-visual): Doc fix
17675 to reflect the above change.
17676
e69df516
SM
176772011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
17678
17679 * image.el (imagemagick-register-types): Use regexp-opt.
17680
cbb0f9ab
CY
176812011-09-15 Chong Yidong <cyd@stupidchicken.com>
17682
17683 * window.el (display-buffer-base-action): Rename from
17684 display-buffer-default-action. Make default value empty.
17685 (display-buffer-overriding-action): Convert to defvar.
17686 (display-buffer-fallback-action): New var.
17687
25322144
CY
176882011-09-15 Chong Yidong <cyd@stupidchicken.com>
17689
17690 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
17691 declaration.
17692 (package--add-to-archive-contents): If there is a duplicate entry
17693 with an older version, remove it.
17694 (package-menu-mark-delete, package-menu-mark-install)
17695 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
17696 (package-menu-mark-obsolete-for-deletion):
17697 Use package-menu-get-status instead of a regexp search.
25322144
CY
17698 (package-menu-get-status): Use tabulated-list-entry.
17699 (package-menu-mark-upgrades): New command.
d770725a 17700 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
17701 (package-menu-execute): Do installation before deletion.
17702 (package-menu-refresh, package-menu-execute): Use derived-mode-p
17703 instead of checking major-mode.
17704 (package-menu--find-upgrades): New function.
17705
7520339c
LMI
177062011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
17707
17708 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
17709 passwords in the log buffer.
65a046c4
LMI
17710 (smtpmail-process-filter): Update the process marker so that the
17711 "broken by peer" status message is inserted in the right place.
7520339c 17712
d3c30954
SM
177132011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
17714
3fe48822
SM
17715 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
17716 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
17717 bibtex-completion-at-point-function.
17718 (bibtex-completion-at-point-function): Use them.
17719
1b8b3954
SM
17720 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
17721
d3c30954
SM
17722 * mpc.el (mpc-constraints-tag-lookup): New function.
17723 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
17724 also to browser "album|playlist".
17725
72779976
JL
177262011-09-14 Juri Linkov <juri@jurta.org>
17727
17728 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
17729 (isearch-edit-string): Use length of `isearch-string' when
17730 `isearch-fail-pos' returns nil.
17731 (isearch-message): Remove duplicate code and call
17732 `isearch-fail-pos' with arg `t'.
17733
a0bf2bcd
CY
177342011-09-14 Chong Yidong <cyd@stupidchicken.com>
17735
17bb0a2d
CY
17736 * replace.el (occur-mode-goto-occurrence): Don't force using other
17737 window (Bug#9499).
17738
a0bf2bcd
CY
17739 * dired-aux.el (dired-do-chmod): Don't provide initial input.
17740
f678e0b6
MR
177412011-09-14 Martin Rudalics <rudalics@gmx.at>
17742
17743 * window.el (display-buffer-window): Remove.
17744 (display-buffer-record-window): Use help-setup window parameter
17745 instead of variable display-buffer-window.
17746 (display-buffer-function, special-display-buffer-names)
17747 (special-display-function): Mention help-setup parameter instead
17748 of display-buffer-window in doc-string.
d3c30954
SM
17749 * help.el (help-window-setup): New argument help-window.
17750 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
17751 Reword some messages.
17752 (with-help-window): Pass window used for displaying the buffer
17753 to help-window-setup. Don't set display-buffer-window.
17754
8e39b2e8
GM
177552011-09-13 Glenn Morris <rgm@gnu.org>
17756
17757 * emacs-lisp/debug.el (debugger-make-xrefs):
17758 Preserve point. (Bug#9462)
17759
85e9c04b
CY
177602011-09-13 Chong Yidong <cyd@stupidchicken.com>
17761
17762 * window.el (window-deletable-p): Use next-frame.
17763
1b36ed6a
MR
177642011-09-13 Martin Rudalics <rudalics@gmx.at>
17765
17766 * window.el (window-auto-delete): Remove.
17767 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 17768 dedication and previous buffers.
1b36ed6a
MR
17769 (switch-to-prev-buffer): Don't delete window.
17770 (delete-windows-on): Delete a window's frame if and only if the
17771 window is dedicated.
17772 (replace-buffer-in-windows): Delete buffer's window or frame if
17773 and only if window is dedicated.
17774 (quit-window): Handle quit-restore as before last change.
4d61f28d 17775 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 17776
ef8ef9fb
CY
177772011-09-13 Chong Yidong <cyd@stupidchicken.com>
17778
17779 * window.el (window-deletable-p): Never delete the last frame on a
17780 given terminal.
17781
b2cba41e
GM
177822011-09-13 Glenn Morris <rgm@gnu.org>
17783
17784 * help.el (describe-key-briefly): Copy previous standard-output change.
17785
51553db6 177862011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
17787
17788 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
17789
b7556719
GM
177902011-09-13 Glenn Morris <rgm@gnu.org>
17791
17792 * emacs-lisp/lisp-mode.el (lisp-indent-function):
17793 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
17794
64b51947
CY
177952011-09-12 Chong Yidong <cyd@stupidchicken.com>
17796
17797 * dired-aux.el (dired-mark-read-string): Don't return default
17798 value on empty input (Bug#9361).
17799 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
17800 Omit initial minibuffer contents.
17801 (dired-do-chmod): Signal an error on empty input.
17802 (dired-mark-read-string): Don't return default on empty input.
17803
17804 * files.el (file-modes-symbolic-to-number): Doc fix.
17805
393a301e
SM
178062011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
17807
17808 * international/mule-cmds.el (ucs-completions): Remove.
17809 (read-char-by-name): Use complete-with-action instead; add metadata.
17810
fa5660f9
CY
178112011-09-11 Chong Yidong <cyd@stupidchicken.com>
17812
17813 * window.el (display-buffer--action-function-custom-type)
17814 (display-buffer--action-custom-type): New vars.
17815 (display-buffer-alist, display-buffer-default-action)
17816 (display-buffer-overriding-action): Add defcustom types.
17817
4a592f66
CY
17818 * frame.el (delete-other-frames): Doc fix (Bug#276).
17819
73d56dbd
LMI
178202011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17821
17822 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
17823
37ac18a3
CY
178242011-09-11 Chong Yidong <cyd@stupidchicken.com>
17825
17826 Change modes that used same-window-* vars to use switch-to-buffer.
17827
17828 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
17829 Use switch-to-buffer.
17830
17831 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
17832 (customize-browse, custom-buffer-create-other-window):
17833 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
17834
17835 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
17836 (Info-prev, Info-up, Info-speedbar-goto-node)
17837 (info-display-manual): Use switch-to-buffer.
17838 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
17839
17840 * mail/sendmail.el (mail): Use switch-to-buffer.
17841 (mail-recover): Use switch-to-buffer-other-window.
17842
17843 * cmuscheme.el (run-scheme, switch-to-scheme):
17844 * ielm.el (ielm):
17845 * shell.el (shell):
17846 * net/rlogin.el (rlogin):
17847 * net/telnet.el (telnet, rsh):
17848 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
17849
10195bd6
AS
178502011-09-11 Andreas Schwab <schwab@linux-m68k.org>
17851
17852 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
17853
b322f63a
LMI
178542011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17855
39d7fed6
LMI
17856 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
17857 so don't mention it (bug#9301).
ba5a81f1 17858 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 17859
ee0e9f11
LMI
17860 * faces.el (face-spec-set-match-display): Make `(type graphic)'
17861 match `x', `w32' and `ns', like the manual says (bug#9029).
17862
0b1c89c1 17863 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
17864 (process-kill-buffer-query-function): Mention the buffer name in
17865 the query.
0b1c89c1 17866
77549ea8
LMI
17867 * image-mode.el (image-next-line): The line parameter is mandatory
17868 (bug#9258).
17869
803ef892
LMI
17870 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
17871 which can be useful (bug#9301).
17872
12980837
LMI
17873 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
17874
91054f8f
LMI
17875 * subr.el (match-string): Mention that the current buffer should
17876 be the same as the search was done in (bug#9282).
17877
b322f63a
LMI
17878 * facemenu.el: Disable the remove-* commands if the mark isn't
17879 active (bug#9162).
17880
3199b96f
CY
178812011-09-10 Chong Yidong <cyd@stupidchicken.com>
17882
17883 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
17884 of display-buffer.
17885 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
17886
17887 * replace.el (occur-mode-goto-occurrence)
17888 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
17889 and display-buffer.
17890
17891 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
17892 display-buffer.
17893
17894 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
17895 special-display and same-window variables.
17896 (mail-other-window): Use switch-to-buffer-other-window.
17897 (mail-other-frame): USe switch-to-buffer-other-frame.
17898
393a301e
SM
17899 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
17900 Use display-buffer-other-frame.
3199b96f
CY
17901 (gdb-display-gdb-buffer): Use pop-to-buffer.
17902
17903 * progmodes/gud.el (gud-goto-info): Use info-other-window.
17904
17905 * progmodes/python.el: Don't set same-window-buffer-names.
17906
17907 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
17908
17909 * window.el (display-buffer-alist): Add *Python*.
17910
8319e0bf
CY
179112011-09-10 Chong Yidong <cyd@stupidchicken.com>
17912
17913 * window.el (display-buffer-alist): Add entry for buffers
17914 previously handled same-window-*.
17915 (display-buffer-alist, display-buffer-default-action)
17916 (display-buffer-overriding-action): Mark as risky.
17917 (display-buffer-alist): Document action function changes.
17918 (display-buffer--same-window-action)
17919 (display-buffer--other-frame-action): New variables.
17920 (switch-to-buffer, display-buffer-other-frame): Use them.
17921 (display-buffer): Rename reuse-frame entry to reusable-frames.
17922 (display-buffer-reuse-selected-window): Function deleted.
17923 (display-buffer-reuse-window): Handle reusable-frames alist entry.
17924 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
17925 (display-buffer-special): New function.
17926 (display-buffer--maybe-pop-up-frame-or-window): Rename from
17927 display-buffer-reuse-or-pop-window. Split off special-display
17928 part into display-buffer-special.
17929 (display-buffer-use-some-window): Don't perform any special
17930 pop-up-frames handling.
17931 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 17932 (display-buffer--maybe-same-window): Rename from
0d3ff375 17933 display-buffer-maybe-same-window.
8319e0bf 17934
919a69aa
CY
17935 * info.el: Don't set same-window-regexps.
17936 (info-setup): New function.
17937 (info-other-window, info): Call it.
17938
17939 * cus-edit.el: Don't set same-window-regexps.
17940 (customize-group): New argument.
17941 (customize-group-other-window): Use it.
17942 (customize-face, customize-face-other-window): Likewise.
17943 (custom-buffer-create-other-window): Use pop-to-buffer directly.
17944
8319e0bf
CY
17945 * net/rlogin.el:
17946 * net/telnet.el:
17947 * progmodes/gud.el: Don't set same-window-regexps.
17948
17949 * cmuscheme.el:
17950 * ielm.el:
17951 * shell.el:
17952 * mail/sendmail.el:
17953 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
17954
25173000
JL
179552011-09-10 Juri Linkov <juri@jurta.org>
17956
17957 * isearch.el (isearch-edit-string): Remove obsolete mention of
17958 `C-w' (`isearch-yank-word-or-char') from docstring.
17959 (isearch-query-replace): Fix typo in docstring (bug#9466).
17960
056e44ef
JL
179612011-09-10 Juri Linkov <juri@jurta.org>
17962
17963 * paren.el (show-paren-function): Don't show escaped parens.
17964 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
17965
c3760c17
EZ
179662011-09-10 Eli Zaretskii <eliz@gnu.org>
17967
17968 * mail/sendmail.el (mml-to-mime, mml-attach-file)
17969 (mm-default-file-encoding): Remove autoload forms, they are
17970 replaced with autoload cookies in mml.el and mm-encode.el.
17971 (mail-add-attachment): New command.
17972 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
17973 (mail-mode): Mention mail-insert-file and mail-add-attachment in
17974 the doc string.
17975 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
17976
fece895e
RT
179772011-09-10 Reuben Thomas <rrt@sc3d.org>
17978
e69df516
SM
17979 * simple.el (count-words-region): Use buffer if there's no region
17980 (bug#9429).
fece895e 17981
5e68ce4a
JL
179822011-09-09 Juri Linkov <juri@jurta.org>
17983
17984 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
17985 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
17986 (wdired-isearch-filter-read-only): New function. (Bug#6362)
17987
0a6b9622
AM
179882011-09-09 Alan Mackenzie <acm@muc.de>
17989
17990 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
17991 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
17992
14a29deb
EZ
179932011-09-09 Eli Zaretskii <eliz@gnu.org>
17994
17995 Fix for Savannah bug#9392.
17996 * simple.el (mail-encode-mml): New defvar.
17997
17998 * mail/rmail.el (mail-encode-mml): Add a defvar.
17999 (rmail-enable-mime-composing): Default to t.
18000 (rmail-forward): Use MIME method of forwarding only if both
18001 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
18002 Set mail-encode-mml non-nil if the MIME method was used.
18003
18004 * mail/sendmail.el (mml-to-mime): Add autoload form.
18005 (mail-encode-mml): Add a defvar.
18006 (mail-mode): Make mail-encode-mml buffer-local and initialize it
18007 to nil.
18008 (mail-send): If mail-encode-mml is non-nil, run the outgoing
18009 message through mml-to-mime, and reset mail-encode-mml to nil.
18010
28c45130
GM
180112011-09-09 Glenn Morris <rgm@gnu.org>
18012
18013 * woman.el (woman-if-body): When processing an .el block,
18014 do not delete the next .el block as well. (Bug#9447)
69f4b618 18015 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 18016
9b1c252e
MR
180172011-09-08 Martin Rudalics <rudalics@gmx.at>
18018
18019 * window.el (window-deletable-p): Make sure window is live before
18020 invoking window-prev-buffers.
18021
567457e3
LL
180222011-09-08 Leo Liu <sdl.web@gmail.com>
18023
18024 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
18025
97f05794
JL
180262011-09-08 Juri Linkov <juri@jurta.org>
18027
18028 * progmodes/compile.el (compilation-environment): Make it
18029 a defcustom (bug#8340).
18030
8b0874b5
MR
180312011-09-08 Martin Rudalics <rudalics@gmx.at>
18032
18033 * window.el (frame-auto-delete): Rename to window-auto-delete.
18034 Make it control auto-deletion of windows and/or frames.
18035 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 18036 for deleting window/frame. (Bug#9419)
8b0874b5
MR
18037 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
18038 Rewrite handling of case when window/frame can be deleted.
18039 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 18040 argument t. (Bug#9456)
8b0874b5 18041
4feb6e73
CY
180422011-09-07 Chong Yidong <cyd@stupidchicken.com>
18043
18044 * help-mode.el (help-mode): Restore autoload.
18045
91ab9c13
JL
180462011-09-07 Juri Linkov <juri@jurta.org>
18047
18048 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
18049 `compilation-environment'. Set buffer-local
18050 `compilation-environment' to `thisenv' later after (funcall mode).
18051 (Bug#8340)
18052
18053 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
18054 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
18055 instead of replacing its value. (Bug#8340)
18056
0527e251
JL
180572011-09-07 Juri Linkov <juri@jurta.org>
18058
18059 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
18060 based on text properties put by `grep-filter' instead of matching
18061 escape sequences.
18062 (grep-mode): Set buffer-local `compilation-error-screen-columns'
18063 to the value of `grep-error-screen-columns' (bug#9438).
18064
249f792c
JL
180652011-09-07 Juri Linkov <juri@jurta.org>
18066
18067 * simple.el (next-error-highlight, next-error-highlight-no-select):
18068 Doc fix (bug#9432).
18069
ff7271b9
OT
180702011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
18071
18072 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
18073 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
18074
183fc730
LL
180752011-09-07 Leo Liu <sdl.web@gmail.com>
18076
18077 * net/rcirc.el (rcirc-mode): Conditionally initialize
18078 rcirc-input-ring.
18079
77694924
SM
180802011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
18081
18082 * emacs-lisp/find-func.el (find-function-C-source): Only set
18083 find-function-C-source-directory after checking that we found a source
18084 file there (bug#9440).
18085
d809b8eb
AM
180862011-09-06 Alan Mackenzie <acm@muc.de>
18087
18088 * isearch.el (isearch-other-meta-char): Wherever a key list is
18089 unread, "unread" the prefix arg, too. This fixes bug #8901.
18090
453de99f
OG
180912011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
18092
18093 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
18094
90439906
JL
180952011-09-05 Juri Linkov <juri@jurta.org>
18096
18097 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
18098
f62bd846
JL
180992011-09-05 Juri Linkov <juri@jurta.org>
18100
18101 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
18102 keeping point where processing of grep matches begins, and
18103 continue to delete remaining escape sequences from the same point.
18104 (grep-filter): Make leading zero optional in "0?1;31m" because
18105 git-grep emits "\033[1;31m" escape sequences unlike expected
18106 "\033[01;31m" as GNU Grep does (bug#9408).
18107 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
18108
045820ec
JL
181092011-09-05 Juri Linkov <juri@jurta.org>
18110
18111 * subr.el (y-or-n-p): Capitalize "yes".
18112
f5e29b9b
MA
181132011-09-04 Michael Albinus <michael.albinus@gmx.de>
18114
18115 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
18116 `tramp-cache-unload-hook' where appropriate.
18117 (tramp-methods): Rename `tramp-remote-sh' to
18118 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
18119 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
18120
18121 * net/tramp-sh.el (top): Don't require 'shell.
18122 (tramp-methods): Add `tramp-remote-shell' and
18123 `tramp-remote-shell-args' entries.
18124 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
18125 (tramp-sh-handle-shell-command): Remove.
18126 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
18127 Use `tramp-remote-shell'.
18128
2784c434
CY
181292011-09-03 Chong Yidong <cyd@stupidchicken.com>
18130
393a301e 18131 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
18132 (sendmail-query-once): Save directly to send-mail-function.
18133 Update message-send-mail-function too.
18134
18135 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
18136
464cdf56
CS
181372011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
18138
18139 * progmodes/python.el (python-mode-map): Use correct function to
18140 start python interpreter from menu-bar (as reported by Geert
18141 Kloosterman).
18142 (inferior-python-mode-map): Fix typo.
393a301e 18143 (python-shell-map): Remove.
464cdf56 18144
d37e5c87
DD
181452011-09-03 Deniz Dogan <deniz@dogan.se>
18146
18147 * net/rcirc.el (rcirc-print): Simplify code for
18148 rcirc-scroll-show-maximum-output. There is no need to walk
18149 through all windows to find the right one.
18150
f3ada0ee
CS
181512011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
18152
18153 * help.el (help-return-method): Doc fix.
18154
1f3c99ca
MR
181552011-09-03 Martin Rudalics <rudalics@gmx.at>
18156
18157 * window.el (window-deletable-p): Don't return a non-nil value
18158 when there's a buffer that was shown in the window before.
18159 (Bug#9419)
393a301e
SM
18160 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
18161 Set window's previous buffers to nil.
1f3c99ca 18162
a3cf097f
EZ
181632011-09-03 Eli Zaretskii <eliz@gnu.org>
18164
18165 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
18166 newline before and after the tag line, so it doesn't interfere
18167 with determining the paragraph direction of bidirectional text.
18168
3d03de90
LL
181692011-09-03 Leo Liu <sdl.web@gmail.com>
18170
18171 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
18172
c3313451
CY
181732011-09-02 Chong Yidong <cyd@stupidchicken.com>
18174
393a301e 18175 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
18176 (pop-to-buffer): Change interactive spec. Pass second argument
18177 directly to display-buffer.
18178 (display-buffer): Fix interactive spec. Use functionp to
18179 distinguish between a function and a list of functions.
18180
18181 * abbrev.el (edit-abbrevs):
18182 * arc-mode.el (archive-extract):
18183 * autoinsert.el (auto-insert):
18184 * bookmark.el (bookmark-bmenu-list):
18185 * files.el (find-file):
18186 * view.el (view-buffer):
18187 * progmodes/compile.el (compilation-goto-locus):
18188 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
18189
89894cd8
CY
181902011-09-02 Chong Yidong <cyd@stupidchicken.com>
18191
18192 * window.el (display-buffer-alist): Doc fix.
18193 (display-buffer): Add docstring. Don't treat
18194 display-buffer-default specially.
18195 (display-buffer-reuse-selected-window)
18196 (display-buffer-same-window, display-buffer-maybe-same-window)
18197 (display-buffer-reuse-window, display-buffer-pop-up-frame)
18198 (display-buffer-pop-up-window)
18199 (display-buffer-reuse-or-pop-window)
18200 (display-buffer-use-some-window): New functions.
18201 (display-buffer-default-action): Use them.
393a301e 18202 (display-buffer-default): Delete.
89894cd8
CY
18203 (pop-to-buffer-1): Fix choice of actions.
18204
ae0bc9fb
SM
182052011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
18206
18207 * minibuffer.el (completion--insert-strings): Don't get confused by
18208 completion entries that end with an LF char.
18209
e9d90883
EZ
182102011-09-01 Eli Zaretskii <eliz@gnu.org>
18211
18212 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
18213
437014c8
CY
182142011-09-01 Chong Yidong <cyd@stupidchicken.com>
18215
18216 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
18217 (display-buffer-same-window, display-buffer-other-window):
18218 New functions.
437014c8
CY
18219 (pop-to-buffer-1): New function. Use the above.
18220 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 18221 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
18222
18223 * view.el (view-buffer-other-window, view-buffer-other-frame):
18224 Just use pop-to-buffer.
18225
a5e063d5
TV
182262011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18227
18228 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
18229
793d32bb
WH
182302011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
18231
18232 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
18233
d65e4c15
RS
182342011-08-31 Richard Stallman <rms@gnu.org>
18235
18236 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
18237 of the separation of rmail-view-buffer from rmail-buffer.
18238 If you say no to "replace original", the decrypt is in the
18239 view buffer. If you say yes, the decrypt goes into the
18240 rmail buffer also.
18241
f818cd2a
MR
182422011-08-31 Martin Rudalics <rudalics@gmx.at>
18243
18244 * window.el (display-buffer-window): Rewrite doc-string.
18245 (display-buffer-record-window): New function.
18246 (display-buffer-macro-specifiers)
18247 (display-buffer-even-window-sizes, display-buffer-set-height)
18248 (display-buffer-set-width, display-buffer-in-window)
18249 (display-buffer-reuse-window, display-buffer-split-specifiers)
18250 (display-buffer-side-specifiers, display-buffer-split-window-1)
18251 (display-buffer-split-window, display-buffer-split-atom-window)
18252 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
18253 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
18254 (display-buffer-other-window-means-other-frame)
18255 (display-buffer-normalize-special)
18256 (display-buffer-normalize-default)
18257 (display-buffer-normalize-argument)
18258 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
18259 (display-buffer-normalize-specifiers, display-buffer-frame)
18260 (display-buffer-same-window, display-buffer-same-frame)
18261 (display-buffer-other-window)
18262 (display-buffer-same-frame-other-window)
18263 (display-buffer-other-frame, pop-to-buffer-same-window)
18264 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
18265 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
18266 (switch-to-buffer-same-frame)
18267 (switch-to-buffer-other-window-same-frame)
18268 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
18269 (display-buffer-alist-set-1, display-buffer-alist-set-2)
18270 (display-buffer-alist-set): Remove.
18271 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
18272 (special-display-regexps, special-display-function):
18273 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
18274 parameter.
18275 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
18276 (special-display-frame-alist, special-display-popup-frame)
18277 (same-window-buffer-names, same-window-regexps, same-window-p)
18278 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
18279 (split-window-preferred-function, split-height-threshold)
18280 (split-width-threshold, window-splittable-p)
18281 (split-window-sensibly, window--try-to-split-window)
18282 (window--frame-usable-p, even-window-heights)
18283 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
18284 (window--display-buffer-2, display-buffer-other-frame):
18285 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
18286 (display-buffer-default, display-buffer-assq-regexp): New functions.
18287 (display-buffer-alist): Rewrite doc-string.
18288 (display-buffer-default-action)
18289 (display-buffer-overriding-action): New variables.
18290 (display-buffer, switch-to-buffer): Rewrite.
18291 (pop-to-buffer): Restore Emacs 23 behavior but use
18292 window-normalize-buffer-to-display.
18293 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
18294 Restore Emacs 23 behavior but use
18295 window-normalize-buffer-to-switch-to.
18296 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
18297 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
18298 Rewrite using Emacs 23 options.
f818cd2a 18299
5bc3b51d
MA
183002011-08-31 Michael Albinus <michael.albinus@gmx.de>
18301
18302 * net/tramp.el (tramp-root-regexp): Remove.
18303 (tramp-completion-file-name-regexp-unified)
18304 (tramp-completion-file-name-regexp-separate)
18305 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 18306 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
18307 (tramp-drop-volume-letter): Simplify definition.
18308 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 18309
b1a4f8e1
SM
183102011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
18311
18312 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
18313 (bug#9356).
18314
5664fa7b
RT
183152011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
18316
b1a4f8e1 18317 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 18318
9a45d6c3
JL
183192011-08-29 Juri Linkov <juri@jurta.org>
18320
18321 * isearch.el (isearch-done): Don't display message "Mark saved"
18322 when arg `edit' is non-nil to prevent its flicker in the echo area.
18323
fb87e0fb
CY
183242011-08-28 Chong Yidong <cyd@stupidchicken.com>
18325
18326 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
18327 obsolete packages for deletion.
18328
09ac1c2a
CS
183292011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
18330
18331 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 18332 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
18333 view-mode from help-mode.
18334 (help-xref-override-view-map): Remove.
18335 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
18336 view-mode is not used anymore.
18337
7a1ff57f
CY
183382011-08-28 Chong Yidong <cyd@stupidchicken.com>
18339
18340 * server.el (server-port): Doc fix.
18341
b9696605
CY
18342 * cus-theme.el (custom-theme-choose-mode): Inherit from
18343 special-mode (Bug#9124).
18344 (custom-theme-choose-mode-map): Add special-mode to parent.
18345
ef8cdf8c
AM
183462011-08-28 Alan Mackenzie <acm@muc.de>
18347
18348 * progmodes/cc-fonts.el
18349 (c-make-font-lock-BO-decl-search-function): New function.
18350 (c-basic-matchers-after - "Fontify the clauses after various
18351 keywords"): Extract the three keyword lists for the 3 erroneous
18352 constructs from the list of four, and use the new function above
18353 in place of an old one.
18354
27de4e20
DD
183552011-08-28 Deniz Dogan <deniz@dogan.se>
18356
18357 * net/rcirc.el (rcirc-insert-prev-input)
18358 (rcirc-insert-next-input): Remove unused argument.
18359
356a3681
SM
183602011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
18361
18362 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
18363
3fc9b218
AM
183642011-08-27 Alan Mackenzie <acm@muc.de>
18365
18366 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
18367 handle function pointer parameters properly.
18368
538a061c
MR
183692011-08-27 Martin Rudalics <rudalics@gmx.at>
18370
18371 * window.el (display-buffer-reuse-window): Fix case where
18372 selected window was reused with non-nil OTHER-WINDOW argument.
18373 (Bug#9381)
18374
35b1c40c
DD
183752011-08-27 Deniz Dogan <deniz@dogan.se>
18376
18377 * net/rcirc.el (rcirc-check-auth-status): Adding support for
18378 oftc's NickServ messages.
18379
2f6a3e79
GM
183802011-08-27 Glenn Morris <rgm@gnu.org>
18381
18382 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
18383
7254299e
CY
183842011-08-26 Chong Yidong <cyd@stupidchicken.com>
18385
18386 * emacs-lisp/package.el (package-install): Call package-initialize
18387 if called interactively.
18388
f8ccf167
LL
183892011-08-26 Leo Liu <sdl.web@gmail.com>
18390
18391 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
18392
3e8cd5ce
JL
183932011-08-25 Juri Linkov <juri@jurta.org>
18394
18395 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
18396 `search-whitespace-regexp' (bug#9364).
18397
93eb7113
JL
183982011-08-25 Juri Linkov <juri@jurta.org>
18399
18400 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
18401 `regexp-search-ring' to their global values to protect from
18402 updating by `read-from-minibuffer' (bug#9185).
18403
f65d1611
JL
184042011-08-25 Juri Linkov <juri@jurta.org>
18405
18406 * textmodes/ispell.el (ispell-command-loop): Add newline
18407 at the end of the "Use option `i'..." line.
18408
f1cf7a31
JL
184092011-08-25 Juri Linkov <juri@jurta.org>
18410
18411 * battery.el (display-battery-mode): If `battery-status-function'
18412 or `battery-mode-line-format' is nil, display the message and set
18413 `display-battery-mode' to nil (bug#9363).
18414
0c95fcf7
EZ
184152011-08-25 Eli Zaretskii <eliz@gnu.org>
18416
18417 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
18418 bidi-string-mark-left-to-right; they are unnecessary now.
18419
a2ebe600
DD
184202011-08-25 Deniz Dogan <deniz@dogan.se>
18421
18422 * net/quickurl.el: Documentation typo fixes.
18423
e4ed06f1
CY
184242011-08-25 Chong Yidong <cyd@stupidchicken.com>
18425
18426 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
18427
e5f1c99e
GM
184282011-08-25 Glenn Morris <rgm@gnu.org>
18429
b2948976
GM
18430 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
18431
e5f1c99e
GM
18432 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
18433 (smtpmail-via-smtp): Handle nil response from smtp.
18434
f22f4808
JL
184352011-08-24 Juri Linkov <juri@jurta.org>
18436
18437 * proced.el (proced-marked): Inherit from `error' instead of
18438 `font-lock-warning-face'.
18439
18440 * ibuffer.el (ibuffer-marked-face): Change default face from
18441 `font-lock-warning-face' to `warning'.
18442 (ibuffer-deletion-face): Change default face from
18443 `font-lock-type-face' to `error'.
18444
18445 * battery.el (battery-update): Use the face `error' instead of
18446 `font-lock-warning-face' (bug#6117).
18447
6a93965e
JL
184482011-08-24 Juri Linkov <juri@jurta.org>
18449
18450 * faces.el (success): Change face color from "Green3" to
18451 "ForestGreen" on light background (bug#9353).
18452
1ed43b09
CY
184532011-08-24 Chong Yidong <cyd@stupidchicken.com>
18454
5664fa7b
RT
18455 * window.el (quit-window): Rename from quit-restore-window.
18456 Use same arglist as old quit-window.
1ed43b09
CY
18457 (frame-auto-delete): Doc fix.
18458
18459 * view.el (view-mode-exit): Use quit-window.
18460
11dcdbb2
JL
184612011-08-24 Juri Linkov <juri@jurta.org>
18462
18463 * isearch.el (isearch-ring-adjust1): Start visiting previous
18464 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
18465 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
18466 for empty search string (when the last search string is reused
18467 automatically) to adjust the isearch ring to the last element and
18468 prepare the correct index for further M-p commands (bug#9185).
18469
de62b4df
KH
184702011-08-24 Kenichi Handa <handa@m17n.org>
18471
18472 * international/ucs-normalize.el: If decomposition property of
18473 CHAR is the default one (i.e. a list of CHAR itself), treat it as
18474 nil.
18475 (nfd, nfkd): Likewise.
18476
963b492b
SM
184772011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
18478
18479 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
18480 from process filters aren't reliably transmitted to the surrounding
18481 accept-process-output.
18482 (mpc-proc-check): New function.
18483 (mpc-proc-sync): Use it (bug#8293)
18484
93b6b5e1
SM
184852011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
18486
18487 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
18488 Add compatibility functions (bug#9313).
18489
bca633fb
EZ
184902011-08-23 Eli Zaretskii <eliz@gnu.org>
18491
b177498a
EZ
18492 * cus-start.el (all): Add entry for bidi-paragraph-direction.
18493
6df6ae42 18494 * international/uni-bidi.el: Regenerate.
bca633fb 18495
0902a04e
KH
184962011-08-23 Kenichi Handa <handa@m17n.org>
18497
18498 * international/charprop.el:
18499 * international/uni-bidi.el:
18500 * international/uni-category.el:
18501 * international/uni-combining.el:
18502 * international/uni-comment.el:
18503 * international/uni-decimal.el:
18504 * international/uni-decomposition.el:
18505 * international/uni-digit.el:
18506 * international/uni-lowercase.el:
18507 * international/uni-mirrored.el:
18508 * international/uni-name.el:
18509 * international/uni-numeric.el:
18510 * international/uni-old-name.el:
18511 * international/uni-titlecase.el:
18512 * international/uni-uppercase.el: Regenerate.
18513
3bbf23bc
MR
185142011-08-23 Martin Rudalics <rudalics@gmx.at>
18515
18516 * help.el (help-window-setup): Fix message displayed when other
18517 window is reused. (Bug#9341)
18518
b3fd59bd
SM
185192011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
18520
1802e444
SM
18521 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
18522 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
18523
b3fd59bd
SM
18524 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
18525 Mark obsolete.
18526 * shell.el (shell-parse-pcomplete-arguments): New function.
18527 (shell-completion-vars): Use it instead (bug#9160).
18528
4eb61348
SM
185292011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
18530
867cab74
SM
18531 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
18532 strings and comments (bug#9333).
18533
4eb61348
SM
18534 * emacs-lisp/debug.el (debug-arglist): New function.
18535 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
18536 (debug-on-entry-1): Handle interpreted closures (bug#9120).
18537
262a1439
JL
185382011-08-22 Juri Linkov <juri@jurta.org>
18539
56ee679c
JL
18540 * progmodes/compile.el (compilation-mode-font-lock-keywords):
18541 Revert regexp that highlights output switches to its old
18542 pre-2010-10-28 value and remove one `?' from it (bug#9319).
18543
262a1439
JL
18544 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
18545 to check for empty output (bug#9226).
18546
f13f86fb
CY
185472011-08-22 Chong Yidong <cyd@stupidchicken.com>
18548
18549 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
18550 symbol-constituent as the default, as that stops font-lock from
18551 working properly (Bug#8843).
18552
c65c9622
LMI
185532011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
18554
18555 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
18556 `coding-system-for-*' around the process open call to avoid
18557 auth-source side effects.
e7f2c178 18558 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
18559 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
18560 probe hangs.
c65c9622 18561
23a8a5ab
CY
185622011-08-21 Chong Yidong <cyd@stupidchicken.com>
18563
ff98b2dd
CY
18564 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
18565
23a8a5ab
CY
18566 * emacs-lisp/find-func.el (find-function-noselect): New arg
18567 lisp-only.
18568
18569 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
18570 signal an error for built-in functions (Bug#6664).
18571
f5e3c598
LMI
185722011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
18573
18574 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
18575 (smtpmail-try-auth-methods): Use it.
18576
a3f2468a
CY
185772011-08-21 Chong Yidong <cyd@stupidchicken.com>
18578
2c34e8da
CY
18579 * font-lock.el (font-lock-fontify-region)
18580 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
18581 (font-lock-default-unfontify-buffer)
18582 (font-lock-default-fontify-region)
18583 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
18584
b3fd59bd
SM
18585 * progmodes/compile.el (compilation-error-properties):
18586 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
18587 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
18588 `ant' regexp.
ee31aabc 18589
a3f2468a
CY
18590 * net/browse-url.el (browse-url-firefox): Don't call
18591 browse-url-firefox-sentinel unless using -remote (Bug#9328).
18592
8e999f70
GM
185932011-08-20 Glenn Morris <rgm@gnu.org>
18594
c21a496a
GM
18595 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
18596
59ee0542
GM
18597 * tutorial.el (tutorial--default-keys): Update some default bindings.
18598
8e999f70
GM
18599 * files.el (hack-local-variables): Fully ignore case for "mode:".
18600
e3715033
AM
186012011-08-20 Alan Mackenzie <acm@muc.de>
18602
18603 Resolve invalid use of a regexp in regexp-opt.
18604
4d61f28d
JB
18605 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
18606 detection for a java annotation.
e3715033 18607
4d61f28d 18608 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
18609 detection for a java annotation.
18610
4d61f28d
JB
18611 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
18612 handling for java.
e3715033
AM
18613 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
18614
04ed2e9c
CY
186152011-08-20 Chong Yidong <cyd@stupidchicken.com>
18616
18617 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
18618 (Bug#9274).
18619
826cee64
AM
186202011-08-20 Alan Mackenzie <acm@muc.de>
18621
58179cce 18622 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
18623 such a construct. Mainly for when jit-lock etc. starts a chunk
18624 here.
18625
58179cce 18626 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 18627 variable.
58179cce 18628 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
18629 c-make-font-lock-search-function.
18630 (c-make-font-lock-search-function): Use the above function.
18631 (c-make-font-lock-context-search-function): New function.
18632 (c-cpp-matchers): Enhance the preprocessor expression case with
18633 the above function
18634 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
18635 which takes an expression.
18636
18637 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
18638
13009bd8
MR
186392011-08-20 Martin Rudalics <rudalics@gmx.at>
18640
18641 * window.el (display-buffer-reuse-window)
18642 (display-buffer-pop-up-window): Don't reuse or split a side
18643 window.
18644
9234ff7f
GM
186452011-08-19 Glenn Morris <rgm@gnu.org>
18646
18647 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 18648 Downcase "Mode:". (Bug#9331)
9234ff7f 18649
f635daa1
CY
186502011-08-18 Chong Yidong <cyd@stupidchicken.com>
18651
18652 * international/characters.el: Add L and R categories.
18653
18654 * subr.el (bidi-string-mark-left-to-right): Rename from
18655 string-mark-left-to-right. Use category search.
18656
18657 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
18658
bc987f8b
JL
186592011-08-18 Juri Linkov <juri@jurta.org>
18660
18661 * faces.el (error, warning, success): New faces with definitions
18662 copied from old default values of `font-lock-warning-face',
18663 `compilation-warning', `compilation-info' (bug#6117).
18664
18665 * font-lock.el (font-lock-warning-face): Inherit from `error'.
18666
18667 * progmodes/compile.el (compilation-error): Inherit from `error'.
18668 (compilation-warning): Inherit from `warning'.
18669 (compilation-info): Inherit from `success'.
18670
18671 * dired.el (dired-marked): Inherit from `warning'.
18672 (dired-flagged): Inherit from `error'.
18673
57173b96
LMI
186742011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
18675
3e79eb87
LMI
18676 * mail/smtpmail.el (auth-source): Require to avoid problems with
18677 binding variables (bug#9298). Also clean up some unused
18678 autoloads.
18679
b3fd59bd
SM
18680 * net/network-stream.el (network-stream-open-starttls):
18681 Support using starttls.el without using gnutls-cli.
57173b96 18682
02b404de
JL
186832011-08-17 Juri Linkov <juri@jurta.org>
18684
18685 * progmodes/grep.el (rgrep): Handle the case when
18686 `grep-find-command' is a cons cell (bug#9278).
18687
8c9177f2
MR
186882011-08-17 Martin Rudalics <rudalics@gmx.at>
18689
18690 * window.el (display-buffer-pop-up-frame): Run frame creation
18691 function with BUFFER current (as special-display-popup-frame
18692 does). Reported by Drew Adams.
18693
3644a0ab
DU
186942011-08-17 Daiki Ueno <ueno@unixuser.org>
18695
18696 * epa-mail.el: Simplify GnuPG group expansion using
18697 epg-expand-group.
18698 (epa-mail-group-alist, epa-mail-group-modtime)
18699 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
18700 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
18701 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
18702 Remove.
18703
5e617bc2 187042011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
18705
18706 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
18707
9c4aeabf
AM
187082011-08-16 Alan Mackenzie <acm@muc.de>
18709
18710 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
18711 Correct, to avoid the inside of macros.
18712
3a99bf64
RS
187132011-08-16 Richard Stallman <rms@gnu.org>
18714
04963aa8
RS
18715 * epa-mail.el: Handle GnuPG group definitions.
18716 (epa-mail-group-alist, epa-mail-group-modtime)
18717 (epa-mail-gnupg-conf-file): New variables.
18718 (epa-mail-parse-groups, epa-mail-sync-groups)
18719 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
18720 (epa-mail-expand-recipients): New functions.
18721 (epa-mail-encrypt): Call epa-mail-expand-recipients.
18722
177549d0
RS
18723 * mail/rmail.el (rmail-epa-decrypt): New command.
18724
fe38beef
RS
18725 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
18726 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
18727 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
18728 (epa-decrypt-armor-in-region): Make error message clearer.
18729
934eacb9
SM
187302011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
18731
18732 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
18733 and "a2b" to "ab" for `prefix'.
18734
d024fb4e
CY
187352011-08-14 Chong Yidong <cyd@stupidchicken.com>
18736
18737 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
18738 filter groups.
de148fee
CY
18739 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
18740 Fourquet (Bug#8804).
d024fb4e 18741
62f1ca49
JB
187422011-08-12 Juanma Barranquero <lekktu@gmail.com>
18743
18744 * startup.el (argi): Declare as global variable (bug#9275).
18745
9ccaaa4b
CY
187462011-08-12 Chong Yidong <cyd@stupidchicken.com>
18747
18748 * subr.el (string-mark-left-to-right): Search the entire string
18749 for RTL script, not just the terminating character. Doc fix.
18750
a3dae87a
SM
187512011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
18752
6cd18349
SM
18753 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
18754 New function.
18755 (js--regexp-literal, js-syntax-propertize-function): Remove.
18756 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
18757 (js-mode-map): Don't rebind electric keys.
18758 (js-insert-and-indent): Remove.
18759 (js-mode): Setup electric-layout and electric-indent instead.
18760
a3dae87a
SM
18761 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
18762
9d5cb631
DU
187632011-08-12 Daiki Ueno <ueno@unixuser.org>
18764
18765 * epa.el (epa-progress-callback-function): Fix the logic of
18766 displaying progress.
18767 * epa-file.el (epa-file-insert-file-contents): Make progress
18768 display more user-friendly.
18769 (epa-file-write-region): Ditto.
18770
3e26a4a2
CY
187712011-08-10 Chong Yidong <cyd@stupidchicken.com>
18772
18773 * subr.el (string-mark-left-to-right): New function.
18774
18775 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
18776 Use string-mark-left-to-right.
18777 (list-buffers-noselect): Caller changed.
18778
a3dae87a
SM
18779 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
18780 Use string-mark-left-to-right.
3e26a4a2
CY
18781 (tabulated-list-print): Recenter after moving point.
18782
ac8cf6e6
JL
187832011-08-10 Juri Linkov <juri@jurta.org>
18784
18785 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
18786 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
18787 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
18788
8d96c9a4
CY
187892011-08-09 Chong Yidong <cyd@stupidchicken.com>
18790
18791 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
18792 (Bug#7554).
18793
7be1c708 187942011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
18795
18796 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
18797 character. (Bug#6594)
18798
37e11a63
CY
187992011-08-08 Chong Yidong <cyd@stupidchicken.com>
18800
839dde57
CY
18801 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
18802 (image-dired--with-db-file): New macro.
18803 (image-dired-write-tags, image-dired-remove-tag)
18804 (image-dired-create-gallery-lists, image-dired-write-comments)
18805 (image-dired-get-comment, image-dired-mark-tagged-files)
18806 (image-dired-list-tags, image-dired-gallery-generate): Use it.
18807 (image-dired-gallery-generate): Use insert-file-contents.
18808
37e11a63
CY
18809 * time.el (display-time-world-list, display-time-world-display):
18810 * time-stamp.el (time-stamp-string):
18811 * vc/add-log.el (add-change-log-entry): Use setenv instead of
18812 set-time-zone-rule (Bug#7337).
18813
0b4946c4
DU
188142011-08-08 Daiki Ueno <ueno@unixuser.org>
18815
18816 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
18817 (epg-error-to-string, epg-errors-to-string): New function.
18818 (epg-wait-for-completion): Reverse errors list.
18819 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
18820 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
18821 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
18822 (epg-sign-keys, epg-generate-key-from-file)
18823 (epg-generate-key-from-string): Format errors by using
18824 epg-errors-to-string (bug#9255).
18825 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
18826
75bfc667
JL
188272011-08-07 Juri Linkov <juri@jurta.org>
18828
18829 * faces.el (list-faces-display): Remove extra angle bracket
18830 from `help-mode-map'.
18831
18832 * info.el (Info-history-toc-nodes): Doc fix.
18833
18834 * longlines.el (longlines-mode): Doc fix.
18835
673e08bb
SM
188362011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
18837
4640dd88
SM
18838 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
18839 of statements and in a few more cases (bug#9183).
18840
673e08bb
SM
18841 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
18842 New functions.
18843 (cl-transform-lambda): Use them (bug#9239).
18844
89b3f019
MR
188452011-08-05 Martin Rudalics <rudalics@gmx.at>
18846
18847 * window.el (display-buffer-same-window)
18848 (display-buffer-same-frame, display-buffer-other-window)
18849 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
18850 (pop-to-buffer-other-window)
18851 (pop-to-buffer-same-frame-other-window)
18852 (pop-to-buffer-other-frame): Make them defuns.
18853 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
18854
640c8776
SM
188552011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
18856
18857 * subr.el (make-composed-keymap): Move from C. Change calling
18858 convention, and improve docstring to bring attention to a subtle point.
18859 * minibuffer.el (completing-read-default): Adjust accordingly.
18860
63648a95
MA
188612011-08-03 Michael Albinus <michael.albinus@gmx.de>
18862
18863 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
18864 (tramp-open-shell): Use `tramp-shell-quote-argument'.
18865
18866 * net/trampver.el: Update release number.
18867
b796c9b7
SM
188682011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
18869
18870 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
18871 "in" (bug#9190).
18872
2239d7d5
LMI
188732011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18874
e07dd7c3
LMI
18875 * mail/sendmail.el (sendmail-query-once): Restore the current
18876 buffer after querying (bug#9074).
18877
0e6a2bd7
LMI
18878 * dired.el (dired-flagged): Use different faces for marked and
18879 flagged files (bug#6117).
18880
ce887515
LMI
18881 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
18882 (bug#4433).
18883
92f2affc
LMI
18884 * ido.el (ido-mode): Switch off the message if called
18885 non-interactively.
18886
57d5aff0
LMI
18887 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
18888 before 587, since it appears that that's more likely to work for
18889 more people.
18890
98cd6c18 18891 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 18892 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
18893 exist.
18894
b96dec83
LMI
18895 * info.el: Remove the `Info-beginning-of-buffer' function
18896 (bug#8325).
18897
b796c9b7
SM
18898 * net/network-stream.el (network-stream-open-starttls):
18899 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 18900
d90e2ea0
MR
189012011-08-01 Martin Rudalics <rudalics@gmx.at>
18902
18903 * window.el (display-buffer-in-window): Don't set dedicated status
18904 of window here (Bug#9215).
18905 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
18906 (display-buffer-pop-up-side-window)
b796c9b7 18907 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 18908
cca09170
SM
189092011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
18910
18911 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
18912 before binding generated-autoload-file.
18913
027b979c
DD
189142011-08-01 Deniz Dogan <deniz@dogan.se>
18915
18916 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
18917
3c7ee4f3
MA
189182011-07-30 Michael Albinus <michael.albinus@gmx.de>
18919
18920 Sync with Tramp 2.2.2.
18921
18922 * net/trampver.el: Update release number.
18923
2cc8e51a
JL
189242011-07-30 Juri Linkov <juri@jurta.org>
18925
18926 * dired-aux.el (dired-touch-initial): Remove function.
18927 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
18928 current time, and `default' to the last modification time of the
18929 current marked file (bug#6887).
18930
a514d856
JM
189312011-07-28 Jose E. Marchesi <jemarch@gnu.org>
18932
18933 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 18934 numeric argument to read-number (bug#9163).
a514d856 18935
8a7eddd7
MA
189362011-07-27 Michael Albinus <michael.albinus@gmx.de>
18937
18938 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
18939 connection process, it could be nil.
18940
1ddd96f5
LL
189412011-07-27 Leo Liu <sdl.web@gmail.com>
18942
18943 Simplify url handling in rcirc-mode.
18944
18945 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
18946 (rcirc-browse-url-at-mouse): Remove.
18947 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
18948
b248a85d
AM
189492011-07-26 Alan Mackenzie <acm@muc.de>
18950
18951 Fontify bitfield declarations properly.
18952
18953 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
18954 (c-symbol-chars): Now exported as a lang variable.
18955 (c-not-primitive-type-keywords): New lang variable.
18956
18957 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
18958 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 18959 parsed as a bitfield declaration.
b248a85d 18960
b796c9b7
SM
18961 * progmodes/cc-engine.el (c-beginning-of-statement-1):
18962 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
18963 (c-punctuation-in): New function.
18964 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
18965 declarations properly.
18966
68575ab0
UJ
189672011-07-26 Ulf Jasper <ulf.jasper@web.de>
18968
18969 * calendar/icalendar.el (icalendar--all-events): Take care of
18970 multiple vcalendars in a single file.
b796c9b7 18971 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 18972
0f0a88b9
DD
189732011-07-25 Deniz Dogan <deniz@dogan.se>
18974
18975 * image.el (insert-image): Clarifying docstring.
18976
0b3f36df
MA
189772011-07-24 Michael Albinus <michael.albinus@gmx.de>
18978
18979 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
18980 `tramp-send-command-and-check' if there is no error.
18981 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
18982
a9901f61
AM
189832011-07-22 Alan Mackenzie <acm@muc.de>
18984
18985 Prevent cc-langs.elc being loaded at run time.
18986
18987 * progmodes/cc-mode.el: Remove two autoload forms which loaded
18988 cc-langs.
18989
4d61f28d 18990 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
18991 "(require 'cc-langs)". Quote a form so it will evaluate at
18992 (cc-mode's) compilation time.
18993
11d074b2
MA
189942011-07-22 Michael Albinus <michael.albinus@gmx.de>
18995
18996 * net/tramp.el (tramp-file-name-handler): Avoid recursive
18997 loading. (Bug#9114)
18998
938b94c8
MR
189992011-07-21 Martin Rudalics <rudalics@gmx.at>
19000
19001 * window.el (display-buffer-pop-up-window)
19002 (display-buffer-pop-up-side-window)
19003 (display-buffer-in-side-window): Call display-buffer-set-height
19004 and display-buffer-set-width after setting the new window's
b796c9b7 19005 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 19006
bfa4f190
SS
190072011-07-20 Sam Steingold <sds@gnu.org>
19008
19009 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
19010 (etags-tags-included-tables): Call `convert-standard-filename' on
19011 the file names contained in TAGS so that windows Emacs can handle
19012 TAGS files created by cygwin ctags.
19013
8ca42262
LMI
190142011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
19015
19016 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
19017 which apparently didn't work.
19018
5db2afd2 190192011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 19020
5db2afd2
RW
19021 * proced.el (proced-send-signal): For *Marked Processes* buffer
19022 put point at beginning of buffer.
19023
92e15d10
SB
190242011-07-19 Stephen Berman <stephen.berman@gmx.net>
19025
19026 * proced.el (proced-format): Make header lines align with the text
19027 (bug#1779).
19028
1bfd59e5
LMI
190292011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
19030
19031 * view.el (view-buffer): Allow running in `special' modes if we're
19032 visiting a file (bug#8615).
19033
f5aae37c
MR
190342011-07-19 Martin Rudalics <rudalics@gmx.at>
19035
19036 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
19037 (display-buffer-alist-set-1, display-buffer-alist-set-2):
19038 New functions.
f5aae37c
MR
19039 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
19040 more accurately.
19041
bf2c1571
AM
190422011-07-18 Alan Mackenzie <acm@muc.de>
19043
19044 Fontify declarators properly when, e.g., a jit-lock chunk begins
19045 inside a declaration.
19046
19047 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
19048
b796c9b7
SM
19049 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
19050 New function.
bf2c1571
AM
19051 (c-complex-decl-matchers): Insert reference to
19052 c-font-lock-enclosing-decls.
19053
19054 * progmodes/cc-engine.el (c-backward-single-comment):
19055 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
19056 to nil around calls to (forward-comment -1).
19057
4e190b80
LMI
190582011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
19059
12dc863d
LMI
19060 * image.el (put-image): Doc typo fix.
19061
a762e966
LMI
19062 * progmodes/etags.el (tags-search): Doc typo fix.
19063
4e190b80
LMI
19064 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
19065 password if we get errors 550 to 554.
19066
f019fb21
LMI
190672011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
19068
b796c9b7 19069 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 19070
81746738
LMI
19071 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
19072 indentation character (bug#6380).
19073
3ee3a1b5
LMI
19074 * files.el (buffer-offer-save): Made permanently local (bug#6241).
19075
c82f64de
LMI
19076 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
19077 to clarify what the problem is (bug#4291).
19078
f019fb21
LMI
19079 * simple.el (current-kill): Clarify what
19080 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
19081 (auto-fill-mode): Document `auto-fill-function' in relation to
19082 `auto-fill-mode' (bug#2470).
f019fb21 19083
0794775d
LM
190842011-07-16 Lawrence Mitchell <wence@gmx.li>
19085
19086 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
19087 method if slot is read-only (bug#9035).
19088
be39b8cc
MR
190892011-07-16 Martin Rudalics <rudalics@gmx.at>
19090
b796c9b7 19091 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 19092 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
19093 selected before, see discussion of (Bug#8615), (Bug#6954).
19094 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 19095
6ccf7859
GM
190962011-07-15 Glenn Morris <rgm@gnu.org>
19097
19098 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 19099 Respect help-form.
6ccf7859 19100
87e86684
LM
191012011-07-09 Lawrence Mitchell <wence@gmx.li>
19102
19103 * net/gnutls.el (gnutls-min-prime-bits): New variable.
19104 (gnutls-negotiate): Use it.
19105
d6066239
LMI
191062011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
19107
b796c9b7
SM
19108 * net/gnutls.el (gnutls-negotiate):
19109 Upcase `gnutls-algorithm-priority'.
d6066239 19110
bd23ebc0
GM
191112011-07-15 Glenn Morris <rgm@gnu.org>
19112
c65bca65
GM
19113 * jka-compr.el (jka-compr-verbose): Move from here...
19114 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
19115 Add missing :version tag.
19116 * info.el: No need to require jka-compr when compiling.
bd23ebc0 19117
478615cc
LMI
191182011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
19119
7b41decb
LMI
19120 * net/gnutls.el (gnutls-algorithm-priority): New variable.
19121 (gnutls-negotiate): Use it.
19122
dbc44fcd
LMI
19123 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
19124
06789f97
LMI
19125 * info.el (Info-beginning-of-buffer): New command.
19126 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
19127 announcing `b' as the key (bug#8325).
ab896c37 19128 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 19129
c39da690
LMI
19130 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
19131
3aa5f34b
LMI
19132 * international/mule-cmds.el
19133 (describe-specified-language-support): Make the error message
19134 clearer (bug#8905).
19135
4bf0979f
LMI
19136 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
19137
478615cc
LMI
19138 * isearch.el (isearch-barrier): Add a doc string, since it's
19139 mentioned in a function doc string (bug#8678).
19140
75c68aa1
MR
191412011-07-15 Martin Rudalics <rudalics@gmx.at>
19142
19143 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
19144 buffer argument (Bug#9083) and self-identifying label argument.
19145
a7c33da2
GM
191462011-07-15 Glenn Morris <rgm@gnu.org>
19147
19148 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
19149
2f5c6024
LMI
191502011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
19151
19152 * man.el (Man-fontify-manpage): Fix message when formatting the
19153 man page (bug#7929).
19154
0bb23927 191552011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
19156
19157 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
19158 argument LRM; if non-nil, append an invisible LRM character to the
19159 buffer name.
19160 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
19161 last argument non-nil, when formatting buffer names.
0bb23927
EZ
19162 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
19163 paragraph direction.
cce4b0a7 19164
621ef9ab
LMI
191652011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
19166
d1583c48
LMI
19167 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
19168 the man page name (bug#7929).
19169
6a57fb5f
LMI
19170 * image.el (put-image): Mention the `put-image' overlay property
19171 (bug#7834).
19172
d7956b14
LMI
19173 * scroll-bar.el (set-scroll-bar-mode): Mention that
19174 `scroll-bar-mode' lists the values (bug#7772).
19175
5b2d4a66
LMI
19176 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
19177 command (bug#7729).
19178
7509a874
LMI
19179 * rect.el (apply-on-rectangle): Return the point after the last
19180 operation.
19181 (string-rectangle): Go to the point after the last operation
19182 (bug#7522).
19183
4fe74b19
LMI
19184 * printing.el (pr-toggle-region): Clarify the documentation
19185 slightly (bug#7493).
19186
b796c9b7
SM
19187 * time.el (display-time-update):
19188 Allow `display-time-mail-function' to return nil (bug#7158).
19189 Fix suggested by Detlev Zundel.
ab283561 19190
fc233c9d
LMI
19191 * vc/diff.el (diff): Clarify the order the file names are read
19192 (bug#7111).
19193
43f5740b
LMI
19194 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
19195 the doc string (bug#7015).
19196
f2182a76
LMI
19197 * font-lock.el (font-lock-maximum-decoration): Mention what
19198 numeric levels mean (bug#6935).
19199
621ef9ab
LMI
19200 * startup.el (initial-buffer-choice): Don't mention the `none'
19201 selection, which is against policy.
19202
adc47434
MR
192032011-07-14 Martin Rudalics <rudalics@gmx.at>
19204
b796c9b7
SM
19205 * window.el (display-buffer-normalize-special):
19206 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 19207
7e5bfb8f
EZ
192082011-07-14 Eli Zaretskii <eliz@gnu.org>
19209
19210 * subr.el (version<, version<=, version=): Mention "-CVS" and
19211 "-12345" alpha version numbers.
19212
27fa387a
CY
192132011-07-14 Chong Yidong <cyd@stupidchicken.com>
19214
19215 * bindings.el: Add advertised binding for set-mark-command
19216 (Bug#5772).
19217
8bdfa064
CY
192182011-07-14 Chong Yidong <cyd@stupidchicken.com>
19219
19220 * bindings.el (mode-line-other-buffer):
19221 * bookmark.el (bookmark-bmenu-2-window):
19222 * bs.el (bs-cycle-next, bs-cycle-previous):
19223 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
19224 switch-to-buffer.
19225
19226 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 19227 Delete.
8bdfa064 19228
5eba16a3
JB
192292011-07-14 Juanma Barranquero <lekktu@gmail.com>
19230
19231 * follow.el (follow-debug-message, follow-redisplay):
19232 * jka-cmpr-hook.el (with-auto-compression-mode):
19233 Fix typos in docstrings.
19234
15853710
LMI
192352011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19236
a28e4607
LMI
19237 * subr.el (with-silent-modifications): Clarify somewhat what the
19238 macro inhibits (bug#6525).
19239
15853710
LMI
19240 * simple.el (eval-expression): Note what it does if called
19241 interactively (bug#6495).
19242
bee0fcef
CY
192432011-07-13 Chong Yidong <cyd@stupidchicken.com>
19244
b796c9b7
SM
19245 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
19246 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
19247
19248 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19249 Remove switch-to-buffer.
19250
58274504
LMI
192512011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19252
bd2fcc8d
LMI
19253 * files.el (make-directory): Clarify that an error will be raised
19254 if there's an error (bug#6397).
19255
0f04b32c
LMI
19256 * startup.el (initial-buffer-choice): Add `none' as a choice
19257 (bug#6234).
19258
465c5fc8
LMI
19259 * subr.el (add-hook): Clarify section about buffer-local hooks
19260 (bug#6218).
19261
58274504
LMI
19262 * dired.el (dired-flagged): Clarify doc string (bug#6117).
19263
bead9a43
JB
192642011-07-13 Juanma Barranquero <lekktu@gmail.com>
19265
19266 * tabify.el (untabify): Preserve the current column so that point
19267 doesn't move (bug#6032).
19268
3af98a7b
LMI
192692011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19270
b796c9b7
SM
19271 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
19272 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 19273
6240145a
GM
192742011-07-13 Glenn Morris <rgm@gnu.org>
19275
19276 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
19277 (dired-insert-directory): Give a message the first time
19278 if ls is found not to support --dired.
19279
1d8c2ccc
LMI
192802011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19281
19282 * simple.el (toggle-truncate-lines): Clarify what is toggled
19283 (bug#5580). Text by Drew Adams.
19284
5fc4038e
CY
192852011-07-13 Chong Yidong <cyd@stupidchicken.com>
19286
19287 * simple.el (blink-matching-open): Make the error message from the
19288 last change less verbose.
19289
bf6012e5
DN
192902011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
19291
19292 * font-lock.el (font-lock-comment-face): Use the high contrast
19293 "yellow" color for font-lock-comment-face on low color terminals
19294 using a dark background color (bug#4221).
19295
343c3b5a
LMI
192962011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19297
7e9505c5
LMI
19298 * dired.el (dired-insert-set-properties): Make the doc string
19299 reflect what it does now (bug#5325).
19300
c26fdcf5
LMI
19301 * simple.el (blink-matching-open): Say that we were unable to find
19302 the match within the limit, if we're limited (bug#5122).
19303
bb388cc5
LMI
19304 * international/mule-cmds.el (prefer-coding-system): Add an
19305 example (bug#4869).
19306
343c3b5a
LMI
19307 * progmodes/etags.el (tags-search): Document `file-list-form'
19308 (bug#4731).
19309
2a517d45
LM
193102011-07-13 Lawrence Mitchell <wence@gmx.li>
19311
19312 * net/browse-url.el (browse-url-default-browser)
19313 (browse-url-browser-function): Make the default browser choice a
19314 bit more logical (bug#4300). Also clean up the doc string.
19315
b6c78ef2
JB
193162011-07-13 Juanma Barranquero <lekktu@gmail.com>
19317
19318 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
19319 binary endings (bug#4440).
19320
1c4dd947
LMI
193212011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19322
a2014063
LMI
19323 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
19324 which can be pretty annoying (bug#8971).
19325
9c9c2d88
LMI
19326 * jka-compr.el (jka-compr-verbose): New variable, and use
19327 throughout (bug#8971).
19328
1c4dd947
LMI
19329 * info.el (Info-find-file): Fall back on the installation
19330 directory if we can't find the info node anywhere else.
19331
a1c9f41b
SO
193322011-07-13 Sergei Organov <osv@javad.com> (tiny change)
19333
19334 * vc/vc.el (vc-revert-file):
19335 Don't set file time-stamp in the past. (Bug#5181)
19336
536f3d36
LMI
193372011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
19338
7152b011
LMI
19339 * files.el (after-find-file): Give a better error message when
19340 trying to find a symlink that points to a file that doesn't exist
19341 (bug#4398).
19342
536f3d36
LMI
19343 * progmodes/cc-vars.el: Remove (probably) misleading comment
19344 (bug#4396).
19345
460c0fba
JB
193462011-07-12 Johan Bockgård <bojohan@gnu.org>
19347
19348 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
19349
7a6bda45
CY
193502011-07-12 Chong Yidong <cyd@stupidchicken.com>
19351
19352 * mouse-sel.el: Hack restoring functionality, while keeping
19353 compatibility with 2010-07-03 changes to mouse selection.
19354 (mouse-sel-primary-overlay): New var.
19355 (mouse-sel-selection-alist): Use it.
19356 (mouse-sel-mode): Doc fix; remove points that are default features
19357 of mouse.el.
19358
c79598ef
JB
193592011-07-12 Johan Bockgård <bojohan@gnu.org>
19360
19361 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19362 Fix previous fix (bug#2490).
19363
ff8be6ef
RW
193642011-07-12 Roland Winkler <winkler@gnu.org>
19365
b796c9b7
SM
19366 * textmodes/bibtex.el (bibtex-initialize):
19367 Use pop-to-buffer-same-window.
ff8be6ef
RW
19368 (bibtex-search-entries): Fix interactive call.
19369
296ba3ee
LMI
193702011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
19371
f5242a02 19372 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
19373 Fontise bytecomp Error lines more correctly (bug#2490).
19374 Fix suggested by Johan Bockgård.
f5242a02 19375
296ba3ee
LMI
19376 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
19377
19378 * dired-x.el (dired-guess-default): Use `delete-dups'.
19379
f69fd0d2
CY
193802011-07-12 Chong Yidong <cyd@stupidchicken.com>
19381
19382 * dired.el (dired-mark-prompt):
19383 * dired-aux.el (dired-read-shell-command): Doc fix.
19384
eab5dc07
LMI
193852011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19386
b796c9b7
SM
19387 * mail/sendmail.el (sendmail-query-once):
19388 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
19389 emacs -Q.
19390
19391 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
19392
eab5dc07
LMI
19393 * cus-edit.el (custom-file): Take an optional no-error variable.
19394 (customize-save-variable): Set the variable, and give a warning if
19395 running under "emacs -q".
19396
a1e65d42
JB
193972011-07-11 Juanma Barranquero <lekktu@gmail.com>
19398
19399 * loadhist.el (unload-feature-special-hooks):
19400 Add `auto-coding-functions', `fill-nobreak-predicate' and
19401 `find-directory-functions' (bug#5327).
19402
1d52da10
LMI
194032011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19404
be958f1d
LMI
19405 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
19406
5bedb26c
LMI
19407 * cus-edit.el (custom-guess-name-alist): -alist variables should
19408 use the `alist' type (bug#3120). Suggested by Drew Adams.
19409
1d52da10
LMI
19410 * printing.el: Add documentation to all the `pr-toggle-' commands.
19411
cd394be1 194122011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
19413
19414 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
19415 backends where it makes sense (bug#2623).
19416
dcc88d8a
LMI
194172011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19418
c3de9feb
LMI
19419 * dired-x.el (dired-guess-default): Remove duplicate shell command
19420 entries (bug#2028).
8a93078b 19421 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 19422 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 19423
dcc88d8a
LMI
19424 * subr.el (remove-duplicates): New conveniency function.
19425
505e3645
LMI
194262011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
19427
19428 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
19429 (bug#1526).
19430
194312011-07-10 Martin Rudalics <rudalics@gmx.at>
19432
19433 * window.el (display-buffer-normalize-default): Don't invert
19434 meaning of even-window-heights. Reported by Eli Zaretskii
19435 <eliz@gnu.org>.
19436
455e4fa1
BR
194372011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
19438
19439 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
19440
8e0bc3e9
CY
194412011-07-10 Chong Yidong <cyd@stupidchicken.com>
19442
19443 * window.el (display-buffer): Fix arguments to
19444 display-buffer-reuse-window in last change.
19445
fa7c3228
CY
19446 * faces.el (link): Use a less saturated blue on light backgrounds.
19447
19448 * startup.el (fancy-startup-text, fancy-about-text)
19449 (fancy-startup-tail): Use font-lock faces, for background safety.
19450
c0a7f300
BN
194512011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
19452
b796c9b7
SM
19453 * emulation/viper-cmd.el (viper-change-state-to-vi):
19454 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 19455
4dc2a129
MR
194562011-07-09 Martin Rudalics <rudalics@gmx.at>
19457
19458 * window.el (display-buffer-default-specifiers): Remove.
19459 (display-buffer-macro-specifiers): Remove default specifiers.
19460 (display-buffer-alist): Default to nil.
b796c9b7 19461 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
19462 (display-buffer-pop-up-window): Allow splitting internal
19463 windows. Check whether a live window was created.
19464 (display-buffer-other-window-means-other-frame)
19465 (display-buffer-normalize-arguments): Rename to
19466 display-buffer-normalize-argument and rewrite. Set the
19467 other-window specifier.
19468 (display-buffer-normalize-special): New function.
19469 (display-buffer-normalize-options): Rename to
19470 display-buffer-normalize-default and rewrite.
19471 (display-buffer-normalize-options-inhibit): Remove.
19472 (display-buffer-normalize-specifiers): Rewrite.
19473 (display-buffer): Process other-window specifier and call
19474 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
19475 more faithfully.
b796c9b7 19476 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 19477 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
19478 (display-buffer-in-window, display-buffer-alist-set):
19479 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
19480 <tassilo@member.fsf.org>.
19481
2d43b8c9
LL
194822011-07-09 Leo Liu <sdl.web@gmail.com>
19483
19484 * register.el (insert-register): Restore accidental change on
19485 2011-06-26. (Bug#9028)
19486
7f9b7c53
GM
194872011-07-09 Glenn Morris <rgm@gnu.org>
19488
19489 * subr.el (remq): Handle the empty list. (Bug#9024)
19490
f042cfd8
AS
194912011-07-08 Andreas Schwab <schwab@linux-m68k.org>
19492
19493 * mail/sendmail.el (send-mail-function): No longer delay custom
19494 initialization.
19495 * custom.el (custom-initialize-delay): Doc fix.
19496
856b2f11
SM
194972011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
19498
19499 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
19500
afae1d68
MA
195012011-07-08 Michael Albinus <michael.albinus@gmx.de>
19502
19503 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
19504 human-friendly prompt.
19505
0757af94
SM
195062011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
19507
19508 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
19509 provided by a particular plugin.
19510
d760b731
LMI
195112011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
19512
19513 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
19514 save customizations (with "emacs -Q"), just set the variable
19515 instead of erroring out.
19516
19517 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
19518
cd79ce90
JL
195192011-07-08 Juri Linkov <juri@jurta.org>
19520
19521 * arc-mode.el (archive-zip-expunge, archive-zip-update)
19522 (archive-zip-update-case): Use 7z if found by `executable-find'.
19523 The order of searching the available programs is the same as in
19524 `archive-zip-extract' (bug#8968).
19525
14cc04aa
CY
195262011-07-07 Chong Yidong <cyd@stupidchicken.com>
19527
19528 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
19529 (menu-bar-options-menu): Tweak descriptions.
19530
0a1848ec
LMI
195312011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
19532
19533 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
19534 menu items into verb phrases (bug#1421). Also refill to fit under
19535 80 columns.
19536
f5bd0689
CY
195372011-07-07 Chong Yidong <cyd@stupidchicken.com>
19538
538e85c6
CY
19539 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
19540 (Info-read-node-name): Doc fix (Bug#1084).
19541
f5bd0689
CY
19542 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
19543 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
19544 (end-of-sexp, beginning-of-sexp)
19545 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
19546 (forward-symbol, forward-same-syntax, word-at-point)
19547 (sentence-at-point): Doc fix (Bug#1144).
19548
56ec5115
LMI
195492011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
19550
f3f8e37f
LMI
19551 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
19552 should cover it (bug#1281).
19553
0757af94 19554 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 19555
e9fce1ac 19556 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
19557 negotiation fails, then possibly try again with a non-encrypted
19558 connection (bug#9017).
19559
56ec5115
LMI
19560 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
19561 be used.
19562
c2f9aec8
RS
195632011-07-07 Richard Stallman <rms@gnu.org>
19564
19565 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
19566 property, and handle its changed format.
19567 Look for the correct line number.
19568 Use file's line contents (but not past first =) to find
19569 correct line in message.
19570
ef7b981d 195712011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
19572
19573 * international/characters.el (build-unicode-category-table):
19574 Delete it.
0757af94 19575 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 19576
0757af94 19577 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
19578 to src/chartab.c.
19579 (get-char-code-property): Call unicode-property-table-internal to
19580 load a file. Call get-unicode-property-internal where necessary.
19581 (put-char-code-property): Call unicode-property-table-internal to
19582 load a file. Call put-unicode-property-internal where necessary.
19583 put-unicode-property-internal where necessary.
0757af94
SM
19584 (char-code-property-description):
19585 Call unicode-property-table-internal to load a file.
c805dec0
KH
19586
19587 * international/charprop.el:
19588 * international/uni-bidi.el:
19589 * international/uni-category.el:
19590 * international/uni-combining.el:
19591 * international/uni-comment.el:
19592 * international/uni-decimal.el:
19593 * international/uni-decomposition.el:
19594 * international/uni-digit.el:
19595 * international/uni-lowercase.el:
19596 * international/uni-mirrored.el:
19597 * international/uni-name.el:
19598 * international/uni-numeric.el:
19599 * international/uni-old-name.el:
19600 * international/uni-titlecase.el:
19601 * international/uni-uppercase.el: Regenerate.
19602
19603 * loadup.el: Load international/charprop.el before
19604 international/characters.
19605
e14b388a
CY
196062011-07-07 Chong Yidong <cyd@stupidchicken.com>
19607
19608 * window.el (next-buffer, previous-buffer): Signal an error if
19609 called from a minibuffer window.
19610
19611 * bindings.el: Revert 2011-07-04 change.
19612
354cf0ba
RS
196132011-07-06 Richard Stallman <rms@gnu.org>
19614
19615 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
19616 (rmail-mime-insert-bulk, rmail-mime-insert-text):
19617 Treat markers like ints.
19618 (rmail-mime-entity): Doc fix.
19619
a48868a7
LMI
196202011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
19621
4906cd3d
LMI
19622 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
19623 defcustom again for backwards compatibility.
19624
e0457abe
LMI
19625 * simple.el (shell-command-on-region): Fill.
19626
d67f7e1f
LMI
19627 * dired-aux.el (dired-kill-line): Add a doc string.
19628
fe204702
LMI
19629 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
19630 to "\\sw\\|\\s_" (bug#358).
19631
a48868a7
LMI
19632 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
19633 (dired-unmark-backward): Ditto.
19634 (dired-flag-backup-files): Ditto.
19635
19636 * dired-x.el (dired-mark-sexp): Ditto.
19637
aa8a705c
RS
196382011-07-06 Richard Stallman <rms@gnu.org>
19639
19640 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
19641 (rmail-mime-entity): New arg TRUNCATED.
19642 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
19643 New functions.
19644 (rmail-mime-save): Warn if entity is truncated.
19645 (rmail-mime-toggle-hidden): Likewise, for showing.
19646 (rmail-mime-process-multipart): Record when an entity is truncated.
19647
a9a936b9
RS
19648 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
19649 if ENTITY is a string.
19650
1f2b92cb
LMI
196512011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
19652
f4f73198 19653 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
19654 of faces when `M-C-x'-ing their definitions (bug#8378).
19655 Also clean up the code slightly.
f4f73198 19656
12b16734 19657 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 19658 because that makes the colors go away.
12b16734 19659
f0691d22
LMI
19660 * mail/sendmail.el (send-mail-function): Change the default to
19661 `sendmail-query-once'.
9e87df06 19662 (sendmail-query-once): Add an autoload cookie.
f0691d22 19663
1f2b92cb
LMI
19664 * net/network-stream.el (network-stream-open-starttls): Try using
19665 a plain connection even if the server offered STARTTLS, and we
19666 kinda wanted to use it, if Emacs doesn't have any STARTTLS
19667 capability. This should make smtpmail.el work in slightly more
19668 configurations.
19669
1cdd2a1b
MA
196702011-07-06 Michael Albinus <michael.albinus@gmx.de>
19671
19672 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
19673 New defun.
19674 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
19675
fbcc67e2
MM
196762011-07-06 Michael R. Mauger <mmaug@yahoo.com>
19677
19678 * progmodes/sql.el: Version 3.0
0757af94 19679 (sql-product-alist): Add product :completion-object,
fbcc67e2 19680 :completion-column, and :statement attributes.
0757af94 19681 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 19682 (sql-mode-syntax-table): Mark all punctuation.
0757af94 19683 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
19684 ansi keywords.
19685 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 19686 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
19687 (sql-oracle-show-reserved-words): New function for development.
19688 (sql-product-font-lock): Simplify for source code buffers.
19689 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
19690 New functions.
19691 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
19692 (sql-mode-map): Add statement movement functions.
19693 (sql-ansi-statement-starters, sql-oracle-statement-starters):
19694 New variable.
fbcc67e2
MM
19695 (sql-statement-regexp, sql-beginning-of-statement)
19696 (sql-end-of-statement, sql-signum): New functions.
0757af94 19697 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
19698 (sql-show-sqli-buffer): Bug fix.
19699 (sql-interactive-mode): Store connection data as buffer local.
0757af94 19700 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
19701 with sql-interactive-mode.
19702 (sql-save-connection): Save buffer local settings.
0757af94 19703 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
19704 (sql-product-interactive): Bug fix.
19705 (sql-preoutput-hold): New variable.
19706 (sql-interactive-remove-continuation-prompt): Bug fixes.
19707 (sql-debug-redirect): New variable.
19708 (sql-str-literal): New function.
19709 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 19710 Redesign.
fbcc67e2
MM
19711 (sql-oracle-save-settings, sql-oracle-restore-settings)
19712 (sql-oracle-list-all, sql-oracle-list-table): New functions.
19713 (sql-completion-object, sql-completion-column)
19714 (sql-completion-sqlbuf): New variables.
19715 (sql-build-completions-1, sql-build-completions)
19716 (sql-try-completion): New functions.
19717 (sql-read-table-name): Use them.
19718 (sql-contains-names): New buffer local variable.
19719 (sql-list-all, sql-list-table): Use it.
19720 (sql-oracle-completion-types): New variable.
19721 (sql-oracle-completion-object, sql-sqlite-completion-object)
19722 (sql-postgres-completion-object): New functions.
19723
d4eaeab1
GM
197242011-07-06 Glenn Morris <rgm@gnu.org>
19725
19726 * window.el (pop-to-buffer): Doc fix.
19727
322b7dab 197282011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
19729
19730 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
19731
322b7dab 197322011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 19733
322b7dab 19734 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 19735
322b7dab 19736 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 19737
605dd5bf
CY
197382011-07-05 Chong Yidong <cyd@stupidchicken.com>
19739
19740 * button.el (button): Inherit from link face. Suggested by Dan
19741 Nicolaescu.
19742
7dbfa719
SM
197432011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
19744
3db614b0
SM
19745 * progmodes/gdb-mi.el: Fit in 80 columns.
19746 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
19747 switch-to-buffer.
19748
7dbfa719
SM
19749 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
19750 if imenu is simply not configured (bug#8941).
19751
919d884a
KM
197522011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
19753
19754 * allout.el (allout-post-undo-hook): New allout outline-change
19755 event hook to signal undo activity.
19756 (allout-post-command-business): Run allout-post-undo-hook if an
19757 undo just occurred.
7dbfa719
SM
19758 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
19759 * allout-widgets.el (allout-widgets-after-undo-function):
19760 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
19761 in the vicinity of an undo.
19762 (allout-widgets-mode): Include allout-widgets-after-undo-function
19763 on the new allout-post-undo-hook.
19764
450a0f09
SM
197652011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
19766
19767 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
19768 Let define-derived-mode define it.
19769 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
19770 cycles of abbrev-table inheritance (bug#8998).
19771
2de69e00
RW
197722011-07-05 Roland Winkler <winkler@gnu.org>
19773
19774 * textmodes/bibtex.el: Add support for biblatex.
19775 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
19776 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
19777 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
19778 (bibtex-entry-alist, bibtex-field-alist): New variables.
19779 (bibtex-entry-field-alist): Obsolete alias for
19780 bibtex-BibTeX-entry-alist.
19781 (bibtex-entry-alist, bibtex-field-alist): New widgets.
19782 (bibtex-set-dialect): New command.
19783 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
19784 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
19785 Bind via bibtex-set-dialect.
2de69e00
RW
19786 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
19787 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
19788 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
19789 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
19790 Define via bibtex-set-dialect.
450a0f09
SM
19791 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
19792 Obey bibtex-no-opt-remove-re.
2de69e00
RW
19793 (bibtex-vec-push, bibtex-vec-incr): New functions.
19794 (bibtex-format-entry, bibtex-field-list)
19795 (bibtex-print-help-message, bibtex-validate)
19796 (bibtex-search-entries): Use new format of bibtex-entry-alist.
19797
2dcdbdd9
SM
197982011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
19799
19800 * progmodes/compile.el (compilation-goto-locus):
19801 * net/tramp-cmds.el (tramp-append-tramp-buffers):
19802 * bs.el (bs-cycle-next, bs-cycle-previous):
19803 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
19804 * bindings.el (mode-line-other-buffer):
19805 * autoinsert.el (auto-insert):
19806 * arc-mode.el (archive-extract):
19807 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
19808
b27640fe
JB
198092011-07-05 Juanma Barranquero <lekktu@gmail.com>
19810
19811 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
19812 Fix check of `emacs-lock-unlockable-modes'.
19813 Coerce true values of `emacs-lock--try-unlocking' to t.
19814
53bbe3ad
JB
198152011-07-05 Juanma Barranquero <lekktu@gmail.com>
19816
19817 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
19818 * emacs-lock.el: New file.
19819
1d3cdbc7
JD
198202011-07-05 Julien Danjou <julien@danjou.info>
19821
19822 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
19823 than `boundp' to check if face is set.
19824
9173deec
JB
198252011-07-05 Juanma Barranquero <lekktu@gmail.com>
19826
19827 * register.el (registerv-make):
19828 * window.el (window-min-height): Fix typos in docstrings.
19829
869795d6
JD
198302011-07-05 Jan Djärv <jan.h.d@swipnet.se>
19831
9173deec 19832 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
19833 Update doc string.
19834
b768cdcd
JB
198352011-07-04 Juanma Barranquero <lekktu@gmail.com>
19836
19837 * server.el (server-execute): Catch quit and call
19838 `server-return-error' to pass the error back to emacsclient and
19839 close the connection (bug#8942).
19840
13aa217b
KM
198412011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
19842
19843 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
19844 insecure exception for current topic. Also note that auto-saves
19845 are handled differently.
19846
5d3385a0 19847 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
19848 State variables for tracking auto-save inhibition situation.
19849
19850 (allout-write-contents-hook-handler): Rename from
19851 'allout-write-file-hook-handler', and describe how it depends on
19852 write-contents-functions sensitivity to non-nil value to prevent
19853 file write.
19854
19855 (allout-auto-save-hook-handler): Remove. auto-save does not check
19856 this in individual buffers, only in the starting buffer, so this
19857 is not the right way for us to inhibit auto-save in a buffer
19858 according to its condition.
19859
19860 (allout-mode): Use new allout-write-contents-hook-handler, and
19861 only with write-contents-functions. Remove auto-save provisions -
19862 they're implemented elsewhere.
19863
19864 (allout-before-change-handler): If undo is in progress, note that
19865 for attention of allout-post-command-business.
19866
19867 (allout-post-command-business): If the command we're following was
19868 an undo, check for change in the status of encrypted items and
19869 adjust auto-save inhibitions accordingly.
19870
19871 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
19872 according to whether there are or aren't any plain-text topics
19873 pending encryption.
19874
2dcdbdd9 19875 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
19876 Adjust buffer-saved-size and some allout state to inhibit auto-saves
19877 if there are plain-text topics pending encryption.
13aa217b
KM
19878
19879 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
19880 buffer-saved-size and some allout state to not inhibit auto-saves
19881 if there are no longer any plain-text topics pending encryption.
19882
0757af94
SM
19883 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
19884 No longer provide for exemption of the current topic.
13aa217b 19885
ac89b32c
JL
198862011-07-04 Juri Linkov <juri@jurta.org>
19887
19888 Add 7z operations to delete and save changed members (bug#8968).
19889 * arc-mode.el (archive-7z-expunge, archive-7z-update):
19890 New defcustoms.
19891 (archive-7z-write-file-member): New function.
19892 (archive-7z-summarize): Fix the number of dashes in the
19893 listing output.
19894
8fa39615
SM
198952011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
19896
19897 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
19898 (bug#8958).
19899
2f11b3f1
CY
199002011-07-04 Chong Yidong <cyd@stupidchicken.com>
19901
d66fef2b
CY
19902 * bindings.el: Ignore next-buffer and previous-buffer in
19903 minibuffer-local-map.
19904
2f11b3f1
CY
19905 * font-lock.el (font-lock-builtin-face): Change light background
19906 color to dark slate blue (Bug#6693).
19907
f932a347
WD
199082011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
19909
19910 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
19911
c8af70e1
SM
199122011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
19913
19914 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
19915 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19916 Add switch-to-buffer.
19917
f158badc
LMI
199182011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
19919
19920 * isearch.el (isearch-search-fun-function): Clarify further the
19921 meaning of the function returned.
19922
6d95bd46
MA
199232011-07-04 Michael Albinus <michael.albinus@gmx.de>
19924
19925 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
19926
19927 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
19928 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
19929 Use it.
19930 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
19931 `tramp-default-remote-path' does not exist.
19932 (tramp-send-command-and-read): New optional argument NOERROR.
19933 (tramp-open-connection-setup-interactive-shell)
19934 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
19935 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
19936 (tramp-process-sentinel): Flush also process' connection property.
19937 (tramp-sh-handle-start-file-process): Do not set process
19938 sentinel. It is done now ...
19939 (tramp-maybe-open-connection): ... here. (Bug#8929)
19940
909e6b67
MK
199412011-07-04 MON KEY <monkey@sandpframing.com>
19942
19943 * play/animate.el (animate-string): Doc fixes and allow changing
19944 the buffer name (bug#5417).
19945
199462011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
19947
c8af70e1 19948 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 19949
f34755dc
PE
199502011-07-04 Paul Eggert <eggert@cs.ucla.edu>
19951
396cec72
PE
19952 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
19953 This is simpler and helps future-proof the code.
19954 (timer-until): Use time-subtract and float-time.
08235028 19955 (timer--time-less-p): Use time-less-p.
f34755dc 19956
56e6cc31
JB
199572011-07-04 Juanma Barranquero <lekktu@gmail.com>
19958
3abb79e5
JB
19959 * type-break.el (timep): Use the value of `float-time' to avoid a
19960 byte-compiler warning.
19961
56e6cc31
JB
19962 * server.el (server-eval-and-print): Return any result, even nil.
19963
7b9430b4
PE
199642011-07-03 Paul Eggert <eggert@cs.ucla.edu>
19965
19966 * type-break.el: Accept time formats that the builtins accept.
19967 (timep, type-break-time-difference): Accept any format that
19968 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
19969 This is simpler and helps future-proof the code.
19970 (type-break-time-difference): Round rather than ignoring
19971 subseconds components.
19972
3034e9e7
LMI
199732011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19974
19975 * info.el (Info-apropos-matches): Make non-interactive, since it
19976 doesn't seem to do anything useful as a command (bug#8829).
19977
1485f4c0
CY
199782011-07-03 Chong Yidong <cyd@stupidchicken.com>
19979
19980 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 19981 Move from faces.el.
1485f4c0
CY
19982 (frame-default-terminal-background): New function.
19983
19984 * custom.el (custom-push-theme): Don't record faces in `changed'
19985 theme; this doesn't work correctly for per-frame face settings.
19986 (disable-theme): Use face-set-after-frame-default to reset faces.
19987 (custom--frame-color-default): New function.
19988
9fa3dd45
LMI
199892011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19990
c8af70e1 19991 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
19992 (bug#8769).
19993
6cbbc20c
KR
199942011-03-29 Kevin Ryde <user42@zip.com.au>
19995
19996 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19997 `perl-Test2' extend to match possible "fail #N" rep count
19998 (bug#8377).
19999
c7f98048
LMI
200002011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20001
65676592
LMI
20002 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
20003 `smtpmail-via-smtp' now returns the error instead of nil.
20004
c7f98048
LMI
20005 * isearch.el (isearch-search-fun-function): Clarify the doc string
20006 (bug#8101).
20007
56e6cc31 200082011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
20009
20010 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
20011 unnecessary spaces (bug#8987).
20012
2b216704
LMI
200132011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20014
20015 * net/network-stream.el (open-network-stream): Use the
20016 :end-of-capability command thoughout.
20017
200182011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
20019
20020 * net/network-stream.el (open-network-stream): Add the
20021 :end-of-capability command parameter, used by pop3.el.
20022
36adf6ce
LMI
200232011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20024
1ca0da0e
LMI
20025 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
20026
fc00f69c
LMI
20027 * fringe.el (fringe-query-style): Remove redundant text " (type ?
20028 for list)" (bug#6475).
20029
28fd8759 20030 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 20031 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
20032 an error (bug#6297).
20033
0dd8b6da
LMI
20034 * man.el (Man-reference-regexp): Allow matching possible
20035 word-wrapped references (bug#6289).
20036
ce1438d6
LMI
20037 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
20038 for consistency with the other vc buffers (bug#6197).
20039 (vc-checkin): Ditto.
20040
20041 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
20042
36adf6ce
LMI
20043 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
20044
e83cc1f7
LMI
200452011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
20046
8a20ca4c
LMI
20047 * custom.el (defcustom): Clarify that :set is only used in the
20048 Customize user interface (bug#6089).
20049
83319045
LMI
20050 * progmodes/flymake.el (flymake-mode): If the buffer isn't
20051 associated with a file, refuse to run instead of erroring out
20052 (bug#6084).
20053
a8392169
LMI
20054 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
20055 the doc string, since it appears that using `fill-column' always
20056 controls the width (bug#7845).
20057
e83cc1f7
LMI
20058 * simple.el (shell-command-on-region): Say where the error output
20059 went if `shell-command-default-error-buffer' is set (bug#6857).
20060
e47ca23b
KM
200612011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
20062
20063 * allout.el (allout-yank-processing): Adjust cursor position for
20064 backwards-deleted space.
20065
20066 (allout-rebullet-heading): Register changes with
20067 allout-exposure-changed-hook, so the modified topic is properly
20068 decorated.
20069
5cf56143
LMI
200702011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
20071
08549772
LMI
20072 * minibuffer.el (completion-in-region): Document PREDICATE
20073 (bug#7136).
20074
48e96771
LMI
20075 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
20076 of keyword/argument pairs (bug#6904).
20077
c8af70e1
SM
20078 * replace.el (multi-occur):
20079 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 20080
e17d05e2
LMI
200812011-07-02 Drew Adams <drew.adams@oracle.com>
20082
20083 * dired.el (dired-mark-if): Make the message about whether it's
20084 marking or unmarking clearer (bug#8523).
20085
063b0e45
LMI
200862011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
20087
20088 * disp-table.el (display-table-print-array): New function.
20089 (describe-display-table): Use it to print the vectors more pretty
20090 (Bug#8859).
20091
28545e04
MR
200922011-07-02 Martin Rudalics <rudalics@gmx.at>
20093
20094 * window.el (window-state-get-1): Don't assign clone numbers.
20095 Add clone-of item to list of window parameters.
20096 (window-state-put-2): Don't process clone numbers.
20097 (display-buffer-alist): Fix doc-string.
20098
3349e122
SM
200992011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
20100
20101 * subr.el (remq): Don't allocate if it's not needed.
20102 (keymap--menu-item-binding, keymap--menu-item-with-binding)
20103 (keymap--merge-bindings): New functions.
20104 (keymap-canonicalize): Use them to refine the canonicalization.
20105 * minibuffer.el (minibuffer-local-completion-map)
20106 (minibuffer-local-must-match-map): Move initialization from C.
20107 (minibuffer-local-filename-completion-map): Move initialization from C;
20108 don't inherit from anything here.
20109 (minibuffer-local-filename-must-match-map): Make obsolete.
20110 (completing-read-default): Use make-composed-keymap to combine
20111 minibuffer-local-filename-completion-map with either
20112 minibuffer-local-must-match-map or
20113 minibuffer-local-filename-completion-map.
20114
d224ac83
GM
201152011-07-01 Glenn Morris <rgm@gnu.org>
20116
3de63bf8
GM
20117 * type-break.el (type-break-time-sum): Use dolist.
20118
d224ac83
GM
20119 * textmodes/flyspell.el (flyspell-word-search-backward):
20120 Replace CL function.
20121
1a1e3f32
SM
201222011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
20123
fe3f64d5
SM
20124 * mouse.el (mouse--strip-first-event): New function.
20125 (function-key-map): Use it to map fringe clicks to normal clicks
20126 by default.
20127
eb604e34
SM
20128 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
20129 (vc-bzr-revision-completion-table): Add support for annotate and date.
20130
1a1e3f32
SM
20131 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
20132 inherit from parent.
20133
5bd35902
LMI
201342011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
20135
ace6c69c 20136 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 20137 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 20138
191e2bed
LMI
20139 * dired.el (dired-mode): Fix up the doc string as suggested by
20140 Drew Adams (bug#8817).
20141
5bd35902
LMI
20142 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
20143 cookie, since the manual says that it should be possible to add
20144 this function to `find-file-hook' (bug#8709).
20145
eee8207a
TZ
201462011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
20147
20148 * progmodes/cfengine.el: Moved all cfengine3.el functionality
20149 here. Noted Ted Zlatanov as the maintainer.
20150 (cfengine-common-settings, cfengine-common-syntax): New functions
20151 to set up common things between `cfengine-mode' and
20152 `cfengine3-mode'.
20153 (cfengine3-mode): New mode.
20154 (cfengine3-defuns cfengine3-defuns-regex
20155 (cfengine3-class-selector-regex cfengine3-category-regex)
20156 (cfengine3-vartypes cfengine3-font-lock-keywords)
20157 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 20158 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 20159
36b148cf
MA
201602011-07-01 Michael Albinus <michael.albinus@gmx.de>
20161
20162 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
20163
20164 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
20165
0bf4ba9a
MR
201662011-07-01 Martin Rudalics <rudalics@gmx.at>
20167
20168 * window.el (same-window-buffer-names, same-window-regexps)
20169 (same-window-p, special-display-frame-alist)
20170 (special-display-popup-frame, special-display-function)
20171 (special-display-buffer-names, special-display-regexps)
20172 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
20173 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
20174 (split-window-preferred-function, split-height-threshold)
20175 (split-width-threshold, even-window-heights)
20176 (display-buffer-mark-dedicated, window-splittable-p)
20177 (split-window-sensibly, window-safely-shrinkable-p):
20178 Un-obsolete.
20179 (display-buffer): Don't spread args with function specifier
20180 because special-display-popup-frame won't like it.
20181
35837f51
PE
201822011-07-01 Paul Eggert <eggert@cs.ucla.edu>
20183
d0672f86
PE
20184 Time-stamp simplifications and fixes.
20185 These improve accuracy slightly, and future-proof the code
20186 against some potential changes to current-time format.
20187
b9444d97
PE
20188 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
20189 by using time-since and float-time.
20190
0ef923dc
PE
20191 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
20192 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
20193 + NNN microseconds".
20194
2f81380d
PE
20195 * type-break.el (type-break-time-sum): Rewrite using time-add.
20196
845b5c3e
PE
20197 * play/hanoi.el (hanoi-current-time-float): Remove.
20198 All uses replaced by float-time.
20199
ee6f1be0
PE
20200 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
20201 This yields a more-accurate answer.
20202 (rng-time-to-float): Remove; no longer needed.
20203
fe955043
PE
20204 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
20205
5777162a
PE
20206 * calendar/timeclock.el (timeclock-seconds-to-time):
20207 Defalias to seconds-to-time, since they're the same thing.
20208
3103f8b6 20209 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 20210 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
20211 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
20212
0e61a35f
SM
202132011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
20214
20215 * window.el (bury-buffer): Don't iconify the only frame.
20216 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
20217 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
20218
ddd63a1e
CY
202192011-07-01 Chong Yidong <cyd@stupidchicken.com>
20220
0e61a35f
SM
20221 * eshell/em-smart.el (eshell-smart-display-navigate-list):
20222 Add mouse-yank-primary.
ddd63a1e 20223
055f4923
TZ
202242011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
20225
20226 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
20227
6a2fb145
SM
202282011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
20229
20230 * emacs-lisp/find-func.el (find-library--load-name): New fun.
20231 (find-library-name): Use it to find relative load names when provided
20232 absolute file name (bug#8803).
20233
fd4983f2
LMI
202342011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
20235
887d14ad
LMI
20236 * textmodes/flyspell.el (flyspell-word): Consider words that
20237 differ only in case as potential doublons (bug#5687).
20238
c53dc7fc
LMI
20239 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
20240 Remove two rather uninteresting debugging-like messages to make
20241 debbugs.el more silent.
20242
fd4983f2
LMI
20243 * comint.el (comint-password-prompt-regexp): Accept "Response" as
20244 a password-like phrase.
20245
7a71b18d 202462011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
20247
20248 * progmodes/cc-guess.el: New file.
20249
6a2fb145 20250 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
20251
20252 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
20253 derived from `c-basic-common-init'.
20254
20255 * progmodes/cc-mode.el (top-level): Require cc-guess.
20256 (c-basic-common-init): Use `cc-choose-style-for-mode'.
20257
1fa280a3
LM
202582011-06-30 Lawrence Mitchell <wence@gmx.li>
20259
20260 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
20261
e6597158
AM
202622011-06-30 Alan Mackenzie <acm@muc.de>
20263
1fa280a3
LM
20264 * progmodes/cc-engine.el (c-guess-continued-construct):
20265 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
20266 lock is disabled. Name this case as "CASE G".
20267
68ba37fb
KM
202682011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
20269
20270 * allout.el (allout-yank-processing): Fix injection of extra space
20271 between bullet and non-whitespace character in first topic when
20272 pasting, ensuring that the actual spacing in the pasted topic
20273 following the bullet char is preserved. This extra space was
20274 causing pasted encrypted topics to get a decrypted status even
20275 when the content was actually still encrypted. Now the decryption
20276 status from before the paste is preserved.
20277
20278 (allout-flag-region): Set all allout overlays so they evaporate
20279 when reduced to zero length (evanescent), to prevent overlay
20280 leakage.
20281
887a0b34
GM
202822011-06-30 Glenn Morris <rgm@gnu.org>
20283
94b9acce
GM
20284 * w32-fns.el (w32-charset-info-alist): Declare.
20285
1d9b46d4
GM
20286 * find-dired.el (find-grep-options): Simplify.
20287
cc232200
GM
20288 * term/ns-win.el (ns-set-resource): Declare.
20289
28e77c46
GM
20290 * ses.el (row, col): Declare dynamic variables honestly.
20291
887a0b34
GM
20292 * textmodes/reftex-parse.el (index-tags): Declare.
20293
658d8eb8
CY
202942011-06-30 Chong Yidong <cyd@stupidchicken.com>
20295
20296 * cus-edit.el (customize-push-and-save): New function.
20297
20298 * files.el (hack-local-variables-confirm): Use it.
20299
1fa280a3
LM
20300 * custom.el (load-theme): New arg NO-CONFIRM.
20301 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
20302 (custom-enabled-themes): Doc fix.
20303
20304 * cus-theme.el (customize-create-theme)
20305 (custom-theme-merge-theme): Callers to load-theme changed.
20306
bb617717
LMI
203072011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
20308
d61bdd5d
LMI
20309 * thingatpt.el (thing-at-point-short-url-regexp): Require that
20310 short URLs have at least one dot in them (bug #7614).
20311
bb617717
LMI
20312 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
20313 nil, because using a pty is apparently too slow (bug #895).
20314
2f31f37a
LMI
203152011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
20316
20317 * mail/sendmail.el (sendmail-query-once): New function.
20318 (sendmail-query-once-function): New variable.
20319
3076b24e
GM
203202011-06-29 Glenn Morris <rgm@gnu.org>
20321
faf2a174
GM
20322 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
20323
3076b24e
GM
20324 * ses.el (top-level): Require cl when compiling.
20325 (ses-set-localvars): Fix error statement.
20326 Call it at compile time to silence a storm of warnings.
20327
5386012d
MR
203282011-06-29 Martin Rudalics <rudalics@gmx.at>
20329
20330 * window.el (normalize-live-buffer): Rename to
20331 window-normalize-buffer.
20332 (normalize-live-frame): Rename to window-normalize-frame.
20333 (normalize-any-window): Rename to window-normalize-any-window.
20334 (normalize-live-window): Rename to window-normalize-live-window.
20335 (make-window-atom): Rename to window-make-atom.
20336 (window-resize-reset): Rename to window--resize-reset.
20337 (window-resize-reset-1): Rename to window--resize-reset-1.
20338 (resize-mini-window): Rename to window--resize-mini-window.
20339 (resize-subwindows-skip-p): Rename to
20340 window--resize-subwindows-skip-p.
20341 (resize-subwindows-normal): Rename to
20342 window--resize-subwindows-normal.
20343 (resize-subwindows): Rename to window--resize-subwindows.
20344 (resize-other-windows): Rename to window--resize-siblings.
20345 (resize-this-window): Rename to window--resize-this-window.
20346 (resize-root-window): Rename to window--resize-root-window.
20347 (resize-root-window-vertically): Rename to
20348 window--resize-root-window-vertically.
20349 (normalize-buffer-to-display): Rename to
20350 window-normalize-buffer-to-display.
20351 (normalize-buffer-to-switch-to): Rename to
20352 window-normalize-buffer-to-switch-to.
20353 Correspondingly update all callers of the functions listed
20354 above.
20355 (display-buffer-alist, display-buffer-normalize-arguments)
20356 (display-buffer-normalize-options, display-buffer)
20357 (display-buffer-alist-set): Use "function" instead of
20358 "fun-with-args".
20359
1176868d
CY
203602011-06-28 Chong Yidong <cyd@stupidchicken.com>
20361
20362 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
20363 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
20364 debbugs.gnu.org. Mention acknowledgment email.
20365
20a7a65f
LMI
203662011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
20367
20368 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
20369 buffer multibyteness, since it shouldn't matter.
20370
5f45cca5
MR
203712011-06-28 Martin Rudalics <rudalics@gmx.at>
20372
20373 * window.el (display-buffer-in-side-window): Handle dedicated
20374 windows as in display-buffer-reuse-window.
20375 (display-buffer-normalize-alist): Use value of override
20376 specifier.
20377 (display-buffer-normalize-specifiers): Use value of
20378 other-window-means-other-frame specifier.
20379 (display-buffer-alist): Rewrite some texts in widgets.
20380 (display-buffer): Spread arguments when calling function
20381 specified by fun-with-args.
20382
ad85fe1f
DD
203832011-06-28 Deniz Dogan <deniz@dogan.se>
20384
1fa280a3
LM
20385 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
20386 Unnest `let'.
da68c4c8 20387
ad85fe1f
DD
20388 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
20389 selectors (Bug#5732).
ec49bd31 20390 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 20391
a08cc025
JA
203922011-06-27 Jari Aalto <jari.aalto@cante.net>
20393
20394 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
20395 (eshell-ls-date-format): New defcustom.
20396 (eshell-ls-file): Use it.
20397
e2b551c5
SM
203982011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
20399
20400 * help-fns.el (describe-variable): Fix message for terminal-local vars.
20401
8982b231
KY
204022011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
20403
20404 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
20405 (ange-ftp-make-tmp-name): New arg.
20406 (ange-ftp-file-local-copy): Use it.
20407
36c9fa27
J
204082011-06-27 Jambunathan K <kjambunathan@gmail.com>
20409
20410 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
20411 no-conversion (Bug#8870).
20412
d68443dc
MR
204132011-06-27 Martin Rudalics <rudalics@gmx.at>
20414
20415 * window.el (window-right, window-left, window-child)
20416 (window-child-count, window-last-child)
20417 (window-iso-combination-p, walk-window-tree-1)
20418 (window-atom-check-1, window-tree-1, delete-window)
20419 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
20420 new naming conventions - window-vchild, window-hchild,
20421 window-next and window-prev are now called window-top-child,
20422 window-left-child, window-next-sibling and window-prev-sibling
20423 respectively.
d615d6d2
MR
20424 (resize-window-reset): Rename to window-resize-reset.
20425 (resize-window-reset-1): Rename to window-resize-reset-1.
20426 (resize-window): Rename to window-resize.
20427 (window-min-height, window-min-width)
20428 (resize-mini-window, resize-this-window, resize-root-window)
20429 (resize-root-window-vertically, adjust-window-trailing-edge)
20430 (enlarge-window, shrink-window, maximize-window)
20431 (minimize-window, delete-window, quit-restore-window)
20432 (split-window, balance-windows, balance-windows-area-adjust)
20433 (balance-windows-area, window-state-put-2)
20434 (display-buffer-even-window-sizes, display-buffer-set-height)
20435 (display-buffer-set-width, set-window-text-height)
20436 (fit-window-to-buffer): Rename all "resize-window" prefixed
20437 calls to use the "window-resize" prefix convention.
20438 (display-buffer-alist): Fix symbol for label specifier.
20439 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
20440 corresponding specifier.
20441 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 20442
b6458526
VB
204432011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
20444
20445 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
20446 convention.
20447 (ses-call-printer): Does not pass an empty string to formatter when the
20448 cell is empty to keep from barking printer Calc math-format-value.
20449
d31fd9ac
RS
204502011-06-27 Richard Stallman <rms@gnu.org>
20451
43d5bf84
RS
20452 * battery.el (battery-mode-line-limit): New variable.
20453 (battery-update): Handle it.
20454
d31fd9ac
RS
20455 * mail/rmailmm.el (rmail-mime-process-multipart):
20456 Handle truncated messages.
20457
819a6054
GM
204582011-06-27 Glenn Morris <rgm@gnu.org>
20459
20460 * progmodes/flymake.el (flymake-err-line-patterns):
20461 Allow for column numbers in the ant/javac pattern. (Bug#8866)
20462
cedc73f2
VB
204632011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
20464
819a6054 20465 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
20466 (ses--clean-!, ses--clean-_): New functions.
20467 (ses-range): Add configurability of readout order, and conversion
20468 to Calc vector.
20469
5e5d49b6
VB
20470 * ses.el (ses-repair-cell-reference-all): New function.
20471 (ses-cell-symbol): Set macro as safe, so that it can be used in
20472 formulas.
20473
56e6cc31 20474 * ses.el: Update cycle detection algorithm.
90ca8b49 20475 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 20476 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
20477 (ses-set-localvars): New function.
20478 (ses-make-cell): Add property-list as a cell element.
20479 (ses-cell-property-get-fun, ses-cell-property-get)
20480 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
20481 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
20482 New functions.
90ca8b49
VB
20483 (ses-cell-property-set, ses-cell-property-pop)
20484 (ses-cell-property-get-handle): New macro.
20485 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
20486 New aliases, used for code readability.
20487 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
20488 cycle detection.
20489 (ses-self-reference-early-detection): New defcustom.
fac916bf 20490 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
20491 (ses-mode): Use ses-set-localvars.
20492 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
20493 before lauching the update processing.
20494 (ses-initialize-Dijkstra-attempt): New function.
20495 (ses-recalculate-cell): Update for cycle detection based on
20496 Dijkstra algorithm.
20497
2bb63e81
VB
20498 * ses.el: Fix commenting and indenting convention.
20499
c9d29fb8
SM
205002011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
20501
20502 * bs.el (bs-cycle-next): Complete last change.
20503
d8e4b68b
JB
205042011-06-27 Drew Adams <drew.adams@oracle.com>
20505
20506 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
20507
40098786
LMI
205082011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
20509
c9d29fb8
SM
20510 * net/network-stream.el (network-stream-open-starttls):
20511 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
20512 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
20513
40098786
LMI
20514 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
20515 to binary to possibly avoid line encoding issues on Windows (among
20516 other things).
20517
468d09d4
LMI
205182011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
20519
20520 * net/network-stream.el (open-network-stream): Return an :error
20521 saying what the problem was, if possible.
20522
20523 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
20524 server.
20525
20526 * net/network-stream.el (network-stream-open-starttls): If we
20527 wanted to use STARTTLS, and the server offered it, but we weren't
20528 able to because we had no STARTTLS support, then close the connection.
20529 (open-network-stream): Return an :error element, if present.
20530
16f07dd7
CY
205312011-06-26 Chong Yidong <cyd@stupidchicken.com>
20532
88821ca0
CY
20533 * hl-line.el (hl-line-sticky-flag): Doc fix.
20534 (global-hl-line-sticky-flag): New option (Bug#8323).
20535 (global-hl-line-highlight): Obey it.
20536
16f07dd7
CY
20537 * vc/vc.el (vc-revert-show-diff): Default to t.
20538
6b5ccddf
KM
205392011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
20540
c9d29fb8
SM
20541 * allout-widgets.el (allout-widgets-post-command-business):
20542 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
20543 undecorated when an isearch is continued past, and isearch
20544 automatically collapses them. This leads to "widget leaks", where
20545 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
20546 hidden widgets can slow down cursor travel, substantially.
20547 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
20548 so we're doing without this nicety.
20549
20550 (allout-widgets-tally-string): Don't try to do a hash-table-count
20551 of allout-widgets-tally when it's nil. This eliminates spurious "Error
20552 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
20553 *Messages* when allout-widgets-maintain-tally is t.
20554
355f2e07
MR
205552011-06-26 Martin Rudalics <rudalics@gmx.at>
20556
20557 * window.el (display-buffer-normalize-argument): Rename to
20558 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
20559 LABEL argument. Respect special-display-function when popping up
20560 a new frame. Fix code searching for a window showing the buffer
20561 on another frame.
c9d29fb8
SM
20562 (display-buffer-normalize-specifiers):
20563 Call display-buffer-normalize-arguments.
355f2e07
MR
20564 (display-buffer-in-window): Don't undedicate the window if its
20565 buffer remains the same.
20566 Reported by Drew Adams <drew.adams@oracle.com>.
20567 (display-buffer-alist): Add choice for same-window macro
20568 specfier.
20569 (display-buffer): Mention special meaning of LABEL argument in
20570 doc-string. Fix quoting. Don't pop up a new frame even as
20571 fallback.
20572
7ca8fc42
JB
205732011-06-26 Juanma Barranquero <lekktu@gmail.com>
20574
20575 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
20576 avoid deleting the current window in some cases (bug#8911).
20577
bc312254
AS
205782011-06-26 Andreas Schwab <schwab@linux-m68k.org>
20579
20580 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
20581 (Bug#8934)
20582
2db18f3f
LMI
205832011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
20584
c9d29fb8
SM
20585 * net/network-stream.el (network-stream-open-starttls):
20586 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
20587 (network-stream-open-tls): Ditto.
20588
6302e0d3
LL
205892011-06-26 Leo Liu <sdl.web@gmail.com>
20590
20591 * register.el (registerv): New struct.
20592 (registerv-make): New function.
c9d29fb8
SM
20593 (jump-to-register, describe-register-1, insert-register):
20594 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
20595 struct. (Bug#8415)
20596
5fdd4046
CY
205972011-06-26 Chong Yidong <cyd@stupidchicken.com>
20598
2afef60a
CY
20599 * vc/vc.el (vc-revert-show-diff): New defcustom.
20600 (vc-diff-internal): New arg specifying diff buffer.
20601 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
20602 reuse an existing *vc-diff* buffer (Bug#8927).
20603
5fdd4046
CY
20604 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
20605
e93db24a
GM
206062011-06-26 Glenn Morris <rgm@gnu.org>
20607
20608 * progmodes/f90.el (f90-critical-indent): New option.
20609 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
20610 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
20611 (f90-mode): Doc fix.
20612 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
20613 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
20614 (f90-beginning-of-block, f90-next-block, f90-indent-region)
20615 (f90-match-end): Handle block, critical.
20616
eefff499
GM
206172011-06-25 Glenn Morris <rgm@gnu.org>
20618
f6ba4cc9
GM
20619 * calendar/diary-lib.el (diary-included-files): Doc fix.
20620 (diary-include-files): New function, extracted from
20621 diary-include-other-diary-files and diary-mark-included-diary-files.
20622 (diary-include-other-diary-files, diary-mark-included-diary-files):
20623 Just call diary-include-files.
20624 (diary-mark-entries): Reset diary-included-files on first call.
20625
16712304
GM
20626 * calendar/diary-lib.el (diary-mark-entries)
20627 (diary-mark-included-diary-files):
20628 Visit included diary-files in temp buffers.
20629
5d8e0d43
GM
20630 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
20631 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
20632 (f90-start-block-re, f90-imenu-generic-expression)
20633 (f90-looking-at-program-block-start, f90-no-block-limit):
20634 Add support for submodules.
20635
ccf7a5d5
GM
20636 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
20637 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 20638
11fdef7d 206392011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
20640
20641 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
20642 buffer-file-type before setting its value, to avoid disastrous
eefff499 20643 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 20644
74f53697
JB
206452011-06-25 Juanma Barranquero <lekktu@gmail.com>
20646
20647 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
20648
20649 * ses.el (ses-unload-function):
20650 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
20651
20652 * proced.el (proced-unload-function):
20653 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
20654
18a4ce5e
AR
206552011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
20656
20657 * server.el (server-create-window-system-frame): Add parameters arg.
20658 (server-process-filter): Doc fix. Handle frame-parameters.
20659
519d22cc
JB
206602011-06-25 Juanma Barranquero <lekktu@gmail.com>
20661
20662 Fix bug#8730, bug#8781.
20663
20664 * loadhist.el (unload--set-major-mode): New function.
20665 (unload-feature): Use it.
20666
20667 * progmodes/python.el (python-after-info-look): Add autoload cookie.
20668 (python-unload-function): New function.
20669
c206f5b0
SM
206702011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
20671
20672 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
20673
f9ad64f3
GS
206742011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
20675
20676 * net/browse-url.el (browse-url-firefox-program): Add icecat to
20677 the candidates list.
20678
7d0da90e
JB
206792011-06-24 Juanma Barranquero <lekktu@gmail.com>
20680
20681 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
20682
14b4e83d
RS
206832011-06-23 Richard Stallman <rms@gnu.org>
20684
20685 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
20686 (rmail-variables): Set next-error-move-function.
20687 (rmail-what-message): Take argument POS.
20688 (rmail-next-error-move): New function.
20689
273d2baf
SM
206902011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
20691
20692 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
20693 messages for adjacent non-terminals.
20694
56c2cc9a
RS
206952011-06-23 Richard Stallman <rms@gnu.org>
20696
20697 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 20698 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
20699 (rmail-start-mail): Don't specify use of rmail-mail-return;
20700 that's done by mail-bury now.
20701 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 20702
d59eb518
MA
207032011-06-23 Michael Albinus <michael.albinus@gmx.de>
20704
20705 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
20706 SIZE is a number.
20707
02cfc6d6
MR
207082011-06-23 Martin Rudalics <rudalics@gmx.at>
20709
20710 * window.el (get-lru-window, get-mru-window)
20711 (get-largest-window): Never return a minibuffer window.
20712 (display-buffer-pop-up-window): Fix a bug that could lead to
20713 reusing the minibuffer window.
20714 (display-buffer): Pass original specifier argument to
20715 display-buffer-function instead of the normalized one.
20716 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
20717
4e323265
LL
207182011-06-22 Leo Liu <sdl.web@gmail.com>
20719
20720 * minibuffer.el (completing-read-function)
1f9f395d 20721 (completing-read-default): Move from minibuf.c.
4e323265 20722
7a70468f
RS
207232011-06-22 Richard Stallman <rms@gnu.org>
20724
50718fc2
RS
20725 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
20726 to Rmail even if not started by a special Rmail command.
20727
7a70468f
RS
20728 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
20729 Copy the buffer currently showing just one message.
20730
297dde5a
RW
207312011-06-22 Roland Winkler <winkler@gnu.org>
20732
20733 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
20734 (bibtex-clean-entry): First delete the old key so that a
20735 customized algorithm for generating the new key does not get
20736 confused by the old key.
20737 (bibtex-url): Obey regexp of first step.
20738 (bibtex-search-entries): Do not use add-to-list with local
20739 list-var.
20740
97bb1093
LMI
207412011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
20742
20743 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
20744 stored a user name, then query for the password first, instead of
20745 waiting for SMTP to give an error message and the trying again.
20746
1c0f1a19
JD
207472011-06-22 Lawrence Mitchell <wence@gmx.li>
20748
20749 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
20750 BUFFER in call-process.
20751
396f7c9d
LMI
207522011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
20753
20754 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
20755 QUIT twice.
ddb7ffee
LMI
20756 (smtpmail-try-auth-methods): Require user name and password from
20757 auth-source.
396f7c9d 20758
8998d1b3
MR
207592011-06-22 Martin Rudalics <rudalics@gmx.at>
20760
20761 * window.el (display-buffer-default-specifiers)
20762 (display-buffer-alist): Remove entries for pop-up-frame-alist.
20763 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 20764 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
20765
20766 * frame.el (pop-up-frame-alist, pop-up-frame-function)
20767 (special-display-frame-alist, special-display-popup-frame):
20768 Remove duplicate declarations. These are now in window.el.
20769
4ea31e07
LMI
207702011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
20771
c9d29fb8
SM
20772 * mail/smtpmail.el (smtpmail-via-smtp):
20773 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
20774 server supports it. SMTP servers that support STARTTLS commonly
20775 require it.
20776
20777 * net/network-stream.el (network-stream-open-starttls): Support
20778 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 20779 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 20780
95f41d9a
LMI
20781 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
20782 upgrades with `open-network-stream', and rely solely on
20783 auth-source for all credentials. Big changes throughout the file,
20784 but in particular:
c9d29fb8
SM
20785 (smtpmail-auth-credentials): Remove.
20786 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
20787 (smtpmail-via-smtp): Check for servers saying they want AUTH after
20788 MAIL FROM, too.
95f41d9a 20789
c9d29fb8
SM
20790 * net/network-stream.el (network-stream-open-starttls):
20791 Provide support for client certificates both for external and built-in
4ea31e07
LMI
20792 STARTTLS.
20793 (auth-source): Require.
20794 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
20795 (network-stream-certificate): Change cert-cert to cert and
20796 cert-key to key.
4ea31e07 20797
065ec2c7
MA
207982011-06-21 Michael Albinus <michael.albinus@gmx.de>
20799
20800 * net/tramp-cache.el (top): Don't load the persistency file when
20801 "emacs -Q" has been called.
20802
cd93b359
DR
208032011-06-21 Tim Harper <timcharper@gmail.com>
20804
d8e4b68b
JB
20805 * term/ns-win.el (ns-initialize-window-system):
20806 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
20807 resource to NO as it is not yet supported by the NS port.
20808
ae9c0411
JB
208092011-06-21 Juanma Barranquero <lekktu@gmail.com>
20810
20811 * misc.el (list-dynamic-libraries--refresh): Compute header here...
20812 (list-dynamic-libraries): ...not here.
20813
7f3f739f
LL
208142011-06-21 Leo Liu <sdl.web@gmail.com>
20815
20816 * subr.el (sha1): Implement sha1 using secure-hash.
20817
327c8fb1
MR
208182011-06-21 Martin Rudalics <rudalics@gmx.at>
20819
20820 * window.el (display-buffer-alist): In default value do not
20821 enforce searching a window on any but the selected frame.
20822 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
20823 (display-buffer-select-window): Remove function.
20824 (display-buffer-in-window): When a window on another frame gets
20825 reused, do not select it any more but just raise its frame if
20826 necessary (Bug#8851) and (Bug#8856).
20827 (display-buffer-normalize-options): Handle pop-up-frames related
20828 options more faithfully.
20829 (pop-to-buffer): Don't rely on `display-buffer' selecting the
20830 window if it is on another frame.
c9d29fb8
SM
20831 (display-buffer-alist, display-buffer-default-specifiers):
20832 Don't make new frame unsplittable by default.
9e9de014
MR
20833 (display-buffer-normalize-argument): Fix doc-string typo and use
20834 'same-frame-other-window instead of 'other-window when associating
20835 with display-buffer-macro-specifiers.
327c8fb1 20836
7cf3f556
VB
208372011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
20838
20839 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
20840 New functions.
20841 (5x5-mode-map, 5x5-mode-menu): Bind them.
20842 (5x5-draw-grid): Tweak the solver's rendering.
20843
60a406cf
SM
208442011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
20845
20846 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
20847 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
20848
d8e4b68b 208492011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
20850
20851 * menu-bar.el: Use function variable instead of switch-to-buffer.
20852 (menu-bar-select-buffer-function): New variable.
60a406cf 20853 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 20854
478d6f95
SM
208552011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
20856
20857 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
20858 variable's status.
20859
ca530739
JD
208602011-06-20 Jan Djärv <jan.h.d@swipnet.se>
20861
20862 * x-dnd.el (x-dnd-version-from-flags)
20863 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
20864 and long as number (Bug#8899).
20865 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
20866
bcd70d97
SM
208672011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
20868
60a406cf 20869 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
20870 (completion-try-completion, completion-all-completions): Compute the
20871 metadata argument if it's missing; make it optional (bug#8795).
20872
60a406cf 20873 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
20874 (widget-complete): Use new :completion-function property.
20875 (widget-completions-at-point): New function.
20876 (default): Use :completion-function instead of :complete.
60a406cf
SM
20877 (widget-default-completions): Rename from widget-default-complete;
20878 Rewrite.
bcd70d97
SM
20879 (widget-string-complete, widget-file-complete, widget-color-complete):
20880 Remove functions.
20881 (file, symbol, function, variable, coding-system, color):
20882 * international/mule-cmds.el (default-input-method, charset)
20883 (language-info-custom-alist):
20884 * cus-edit.el (face): Use new property :completions.
20885
20886 * progmodes/pascal.el (pascal-completions-at-point): New function.
20887 (pascal-mode): Use it.
20888 (pascal-mode-map): Use completion-at-point.
20889 (pascal-toggle-completions): Make obsolete.
20890 (pascal-complete-word, pascal-show-completions):
20891 * progmodes/octave-mod.el (octave-complete-symbol):
20892 Redefine as obsolete alias.
20893 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
20894 Signal absence of completion info for old Octave,
20895 (inferior-octave-complete): Redefine as obsolete alias.
20896 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
20897 (meta-completions-at-point): Rename from meta-complete-symbol and
20898 adapt it for use on completion-at-point-functions.
20899 (meta-common-mode): Use it.
20900 (meta-looking-at-backward, meta-match-buffer): Remove.
20901 (meta-complete-symbol): Redefine as obsolete alias.
20902 (meta-common-mode-map): Use completion-at-point.
20903 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
20904 (makefile-mode-map): Use completion-at-point.
20905 (makefile-completions-at-point): Rename from makefile-complete and
20906 adapt it for use on completion-at-point-functions.
20907 (makefile-mode): Use it.
20908 (makefile-complete): Redefine as obsolete alias.
20909
aebf69c8
DD
209102011-06-20 Deniz Dogan <deniz@dogan.se>
20911
20912 * net/rcirc.el: Delete trailing whitespaces once and for all.
20913
bfbbb27d
DC
209142011-06-20 Daniel Colascione <dan.colascione@gmail.com>
20915
20916 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
20917
d264a46b
CY
209182011-06-19 Chong Yidong <cyd@stupidchicken.com>
20919
4ca009e5
CY
20920 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
20921
d264a46b
CY
20922 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
20923
fbf5b3ce
MR
209242011-06-19 Martin Rudalics <rudalics@gmx.at>
20925
20926 * window.el (display-buffer-other-window-means-other-frame):
20927 Call display-buffer-normalize-alist.
20928 (display-buffer-normalize-specifiers-1): Rename to
20929 display-buffer-normalize-argument. New argument other-frame.
20930 Rewrite.
20931 (display-buffer-normalize-specifiers-2): Rename to
20932 display-buffer-normalize-options.
20933 (display-buffer-normalize-alist-1): New function.
20934 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
20935 display-buffer-normalize-alist.
20936 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
20937 (display-buffer-normalize-options-inhibit): New variable.
20938 (display-buffer-normalize-specifiers): Rewrite calling
20939 display-buffer-normalize-alist,
20940 display-buffer-normalize-argument, and
20941 display-buffer-normalize-options. Don't call the latter if
20942 display-buffer-normalize-options-inhibit is non-nil.
20943 (frame-auto-delete): New option.
20944 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
20945 (window-list-no-nils, window-state-ignored-parameters)
20946 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
20947 (window-state-put-1, window-state-put-2, window-state-put):
20948 New functions.
9a028c23
MR
20949 (display-buffer-normalize-options): Move special-display-p group
20950 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 20951
6d10d800
CY
209522011-06-18 Chong Yidong <cyd@stupidchicken.com>
20953
6420d28b
CY
20954 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
20955 groups (Bug#8776).
20956 (rx-submatch-n): New function.
20957 (rx): Document it.
20958
ddb8b596
CY
20959 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
20960 (Bug#8768).
20961
20962 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
20963
77080289
CY
20964 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
20965
61dfb316
CY
20966 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
20967 anytime existing face settings are present (Bug#8889).
20968
6d10d800
CY
20969 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
20970 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
20971 Remove unused argument.
20972
be3fb2b8
MR
209732011-06-18 Martin Rudalics <rudalics@gmx.at>
20974
bcd70d97
SM
20975 * window.el (display-buffer-default-specifiers):
20976 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
20977 pop-up-window-min-width, and another reuse-window specifier
20978 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
20979 (display-buffer-normalize-specifiers-2):
20980 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
20981 pop-up-windows is unset. Add a reuse-window specifier for the
20982 case popping up a new window fails.
20983 (special-display-popup-frame): Remove double quoting.
28dec25a 20984 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 20985
1c6d8c76
SM
209862011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
20987
20988 * shell.el (shell-completion-vars): Set pcomplete-termination-string
20989 according to comint-completion-addsuffix.
20990
20991 * pcomplete.el: Convert to lexical binding and fix bug#8819.
20992 (pcomplete-suffix-list): Mark as obsolete.
20993 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
20994 pcomplete-seen in the closure.
20995 (pcomplete-comint-setup): Setup completion-at-point as well.
20996 (pcomplete--entries): New function.
20997 (pcomplete--env-regexp): New var.
20998 (pcomplete-entries): Rewrite to work with partial-completion and
20999 without relying on pcomplete-suffix-list.
21000 (pcomplete-pare-list): Remove, unused.
21001
25aef8b8
MR
210022011-06-17 Martin Rudalics <rudalics@gmx.at>
21003
21004 * window.el (display-buffer-alist): Set pop-up-window-min-height
21005 and pop-up-window-min-width in default value. Reported by
21006 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
21007 other-window-means-other-frame.
21008 (display-buffer-macro-specifiers): Comment out entry for
21009 other-window specifier.
21010 (display-buffer-other-window-means-other-frame): New function.
21011 (display-buffer-normalize-specifiers-1): New arguments
21012 buffer-name and label. Treat other-window case specially.
21013 (display-buffer-normalize-specifiers-2): Treat other-window case
21014 specially.
21015 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
21016 (display-buffer-normalize-specifiers):
21017 Call display-buffer-normalize-specifiers-3.
25aef8b8 21018
dbad4f69
MR
210192011-06-17 Martin Rudalics <rudalics@gmx.at>
21020
21021 * window.el (same-window-p): Fix two typos introduced when
21022 adding with-no-warnings.
d1067961
MR
21023 (display-buffer-normalize-specifiers-1): Don't check
21024 pop-up-frames for 'unset initialization.
21025 (display-buffer-normalize-specifiers-2): Major rewrite using
21026 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
21027 (pop-up-frames, display-buffer-reuse-frames)
21028 (display-buffer-mark-dedicated): Don't initialize to 'unset.
21029 Suggested by David Engster <deng@randomsample.de>.
21030 (even-window-heights): Initialize to 'unset.
21031 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
21032 (display-buffer-macro-specifiers): Don't pop up a new frame in the
21033 other window case.
dbad4f69 21034
9b9c9e3a
MR
210352011-06-16 Martin Rudalics <rudalics@gmx.at>
21036
bcd70d97
SM
21037 * window.el (display-buffer-normalize-specifiers-1):
21038 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 21039 second argument of display-buffer (Bug#8865).
981d5c09
MR
21040 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
21041 (switch-to-buffer-other-window-same-frame)
21042 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
21043 Adams (Bug#8875).
9c2755e9
MR
21044 (display-buffer): Don't check noninteractive when calling
21045 display-buffer-pop-up-frame.
21046 (display-buffer-pop-up-frame): Never pop up a frame in
21047 noninteractive mode (Bug#8857).
67222e1d
MR
21048 (enlarge-window, shrink-window): Don't report an error when the
21049 window can't be resized as requested (Bug#8862).
9b9c9e3a 21050
2b75be67
SM
210512011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
21052
9ffdd3ba
SM
21053 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
21054
cb581a67
SM
21055 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
21056
2b75be67
SM
21057 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
21058
8c0e3589
AM
210592011-06-15 Alan Mackenzie <acm@muc.de>
21060
cb581a67
SM
21061 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
21062 for declarators, disable knr checking to speed up for normal files.
21063 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 21064
b96e6cde
LMI
210652011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
21066
4bba86e6
LMI
21067 * net/network-stream.el (open-network-stream): Add the keyword
21068 :always-query-capabilities for the case where you want to force a
21069 `plain' network connection, but the protocol still requires the
21070 capabilitiy command (i.e., SMTP and EHLO).
21071
2b75be67 21072 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
21073 consistency with other `-live-p' functions.
21074
efdcdbf8
SM
210752011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
21076
21077 * window.el (same-window-buffer-names, same-window-regexps)
21078 (special-display-frame-alist, special-display-popup-frame)
21079 (special-display-function, special-display-buffer-names)
21080 (special-display-regexps, pop-up-frame-alist)
21081 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
21082 (pop-up-windows, split-window-preferred-function)
21083 (split-height-threshold, split-width-threshold, even-window-heights)
21084 (display-buffer-mark-dedicated): Don't encourage the use of
21085 display-buffer-alist from Elisp code.
21086
c5cde042
DN
210872011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
21088
21089 * progmodes/python.el (python-mode): Derive from prog-mode.
21090 * progmodes/ps-mode.el (ps-mode):
21091 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 21092 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
21093 * progmodes/ld-script.el (ld-script-mode): Likewise.
21094
baa1c9ab
MR
210952011-06-15 Martin Rudalics <rudalics@gmx.at>
21096
21097 * window.el (display-buffer-alist): Trim default value to avoid
21098 popping up a new frame (Bug#8857) or reusing an arbitrary window
21099 on another frame.
21100 (display-buffer): Do not fall back on popping up a new frame in
21101 batch mode (Bug#8857).
21102
c5dd5a51
CY
211032011-06-14 Chong Yidong <cyd@stupidchicken.com>
21104
21105 * cus-theme.el (describe-theme-1): Use custom-theme-p.
21106 (custom-theme-summary): New function.
21107 (customize-themes): Use it.
21108
d647b7c4
GM
211092011-06-13 Glenn Morris <rgm@gnu.org>
21110
21111 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
21112
9481c002
MR
211132011-06-13 Martin Rudalics <rudalics@gmx.at>
21114
357f93d2
MR
21115 * help.el (help-window): Remove variable.
21116 (help-window-point-marker, temp-buffer-max-height)
21117 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
21118 (help-print-return-message): Don't set help-window.
21119 (resize-temp-buffer-window): Rewrite cod eand doc-string.
21120 (help-window-setup-finish): Remove.
21121 (help-window-display-message, help-window-setup)
21122 (with-help-window): Major rewrite based on new
21123 display-buffer-window variable.
21124
21125 * help-mode.el (help-mode-finish): Remove help-window related
21126 code.
21127
21128 * view.el (view-exits-all-viewing-windows): Remove reference to
21129 view-return-to-alist in doc-string.
21130 (view-return-to-alist): Make obsolete.
21131 (view-buffer): Call pop-to-buffer-same-window and remove
21132 undo-window code.
21133 (view-buffer-other-window): Call pop-to-buffer-other-window and
21134 simplify code. Ignore second argument.
21135 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
21136 simplify code. Ignore second argument.
21137 (view-return-to-alist-update): Make obsolete.
21138 (view-mode-enter): Rename second argument to QUIT-RESTORE.
21139 Rewrite using quit-restore window parameters.
2b75be67
SM
21140 (view-mode-exit): Rename second argument to EXIT-ONLY.
21141 Rewrite using quit-restore-window.
357f93d2
MR
21142 (View-exit, View-exit-and-edit, View-leave, View-quit)
21143 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
21144 appropriate arguments.
21145 (view-end-message): Use quit-restore window parameter.
21146
9481c002
MR
21147 * window.el (display-buffer-function): Rewrite doc-string.
21148 (display-buffer-window, display-buffer-alist): New variables.
21149 (display-buffer-split-specifiers)
21150 (display-buffer-side-specifiers)
21151 (display-buffer-macro-specifiers): New constants.
21152 (display-buffer-even-window-sizes, display-buffer-set-height)
21153 (display-buffer-set-width, display-buffer-select-window)
21154 (display-buffer-in-window, display-buffer-reuse-window)
21155 (display-buffer-split-window-1, display-buffer-split-window)
21156 (display-buffer-split-atom-window, display-buffer-pop-up-window)
21157 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
21158 (display-buffer-in-side-window, normalize-buffer-to-display)
21159 (display-buffer-normalize-specifiers-1)
21160 (display-buffer-normalize-specifiers-2)
2b75be67
SM
21161 (display-buffer-normalize-specifiers, display-buffer-frame):
21162 New functions.
9481c002
MR
21163 (display-buffer): Major rewrite.
21164 (display-buffer-other-window, display-buffer-other-frame)
21165 (pop-to-buffer, switch-to-buffer-other-window)
21166 (switch-to-buffer-other-frame): Rewrite.
21167 (display-buffer-same-window, display-buffer-same-frame)
21168 (display-buffer-same-frame-other-window)
21169 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
21170 (pop-to-buffer-other-window)
21171 (pop-to-buffer-same-frame-other-window)
21172 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
21173 (switch-to-buffer-other-window-same-frame): New functions.
21174 (same-window-p, special-display-p): Rewrite disabling warnings.
21175 Make obsolete.
21176 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
21177 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
21178 Make obsolete
21179 (same-window-buffer-names, same-window-regexps)
21180 (special-display-frame-alist, special-display-popup-frame)
21181 (special-display-function, special-display-buffer-names)
21182 (special-display-regexps, pop-up-frame-alist)
21183 (pop-up-frame-function, split-window-preferred-function)
21184 (split-height-threshold, split-width-threshold)
21185 (even-window-heights): Make obsolete.
21186
9db51aca
GM
211872011-06-12 Glenn Morris <rgm@gnu.org>
21188
21189 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 21190 Misc simplifications.
9db51aca 21191
39cffb44
MR
211922011-06-12 Martin Rudalics <rudalics@gmx.at>
21193
21194 * window.el (window-safely-shrinkable-p): Restore function which
21195 was inadvertently removed in change from 2011-06-11. Declare as
21196 obsolete.
21197
2b75be67
SM
21198 * calendar/calendar.el (calendar-generate-window):
21199 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
21200 window-safely-shrinkable-p.
21201
a8955be7
GM
212022011-06-12 Glenn Morris <rgm@gnu.org>
21203
21204 * progmodes/fortran.el (fortran-mode-syntax-table):
21205 * progmodes/f90.el (f90-mode-syntax-table):
21206 Set % to punctuation. (Bug#8820)
21207 (f90-find-tag-default): Remove, no longer needed.
21208
f0d4059d
DC
212092011-06-12 Daniel Colascione <dan.colascione@gmail.com>
21210
21211 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
21212
1100a63c
CY
212132011-06-11 Chong Yidong <cyd@stupidchicken.com>
21214
21215 * image.el (image-animated-p): Return animation delay in seconds.
21216 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
21217 (image-animate-timeout): Remove DELAY argument. Don't assume
21218 every subimage has the same delay; get it from image-animated-p.
21219 (image-animate): Caller changed.
21220
def722bf
MA
212212011-06-11 Michael Albinus <michael.albinus@gmx.de>
21222
21223 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
21224 to ignored backtrace functions.
21225
0a2bb1a9
GM
212262011-06-11 Glenn Morris <rgm@gnu.org>
21227
21228 * calendar/appt.el (appt-disp-window-function): Doc fix.
21229 (appt-check): Handle overlapping appointments. (Bug#8337)
21230
6198ccd0
MR
212312011-06-11 Martin Rudalics <rudalics@gmx.at>
21232
21233 * window.el (window-tree-1, window-tree): New functions, moving
21234 the latter to window.el.
21235 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
21236 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
21237 (bw-refresh-edges): Remove.
21238 (balance-windows-1, balance-windows-2): New functions.
21239 (balance-windows): Rewrite in terms of window tree functions,
21240 balance-windows-1 and balance-windows-2.
21241 (bw-adjust-window): Remove.
21242 (balance-windows-area-adjust): New function with functionality of
21243 bw-adjust-window but using resize-window.
2b75be67
SM
21244 (set-window-text-height): Rewrite doc-string.
21245 Use normalize-live-window and resize-window.
21246 (enlarge-window-horizontally, shrink-window-horizontally):
21247 Rename argument to DELTA.
6198ccd0
MR
21248 (window-buffer-height): New function.
21249 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
21250 Rewrite using new window resize routines.
2b75be67
SM
21251 (kill-buffer-and-window, mouse-autoselect-window-select):
21252 Use ignore-errors instead of condition-case.
6198ccd0
MR
21253 (quit-window): Call delete-frame instead of delete-windows-on
21254 for the only buffer on frame.
21255
9397e56f
MR
212562011-06-10 Martin Rudalics <rudalics@gmx.at>
21257
21258 * loadup.el (top-level): Load window before files for the sake
21259 of replace-buffer-in-windows.
21260
21261 * files.el (read-buffer-to-switch)
21262 (switch-to-buffer-other-window)
2b75be67
SM
21263 (switch-to-buffer-other-frame, display-buffer-other-frame):
21264 Move to window.el.
9397e56f
MR
21265
21266 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
21267 (previous-buffer): Move to window.el.
21268
21269 * bindings.el (unbury-buffer): Move to window.el.
21270
21271 * window.el (delete-other-windows-vertically): Move after
21272 definition of delete-other-windows.
21273 (other-window, delete-windows-on, replace-buffer-in-windows):
21274 Move here from window.c.
21275 (record-window-buffer, unrecord-window-buffer)
21276 (set-window-buffer-start-and-point, switch-to-prev-buffer)
21277 (switch-to-next-buffer): New functions.
21278 (get-next-valid-buffer, last-buffer, next-buffer): Move here
21279 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
21280 (previous-buffer): Move here from simple.el.
21281 Call switch-to-prev-buffer.
9397e56f
MR
21282 (bury-buffer): Move here from buffer.c. Switch to previous
21283 buffer when window cannot be deleted.
21284 (unbury-buffer): Move here from bindings.el.
21285 (ctl-x-map): Move binding for other-window from window.c to
21286 here.
21287 (read-buffer-to-switch, switch-to-buffer-other-window)
21288 (switch-to-buffer-other-frame): Move here from files.el.
21289 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
21290 (switch-to-buffer): Move here from buffer.c.
21291 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 21292
562dd5e9
MR
212932011-06-10 Martin Rudalics <rudalics@gmx.at>
21294
21295 * window.el (window-min-height, window-min-width): Move here
21296 from window.c. Add defcustoms and rewrite doc-strings.
21297 (resize-mini-window, resize-window): New functions.
21298 (adjust-window-trailing-edge, enlarge-window, shrink-window):
21299 Move here from window.c.
21300 (maximize-window, minimize-window): New functions.
21301 (delete-window, delete-other-windows, split-window): Move here
21302 from window.c.
21303 (window-split-min-size): New function.
21304 (split-window-keep-point): Mention split-window-above-each-other
21305 instead of split-window-vertically.
2b75be67 21306 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
21307 Rename split-window-vertically to split-window-above-each-other
21308 and provide defalias for old definition.
21309 (split-window-side-by-side, split-window-horizontally):
21310 Rename split-window-horizontally to split-window-side-by-side
21311 and provide defalias for the old definition.
562dd5e9
MR
21312 (ctl-x-map): Move bindings for delete-window,
21313 delete-other-windows and enlarge-window here from window.c.
21314 Replace bindings for split-window-vertically and
21315 split-window-horizontally by bindings for
21316 split-window-above-each-other and split-window-side-by-side.
21317
21318 * cus-start.el (all): Remove entries for window-min-height and
21319 window-min-width. Add entries for window-splits and
21320 window-nest.
21321
f0da764a
GM
213222011-06-09 Glenn Morris <rgm@gnu.org>
21323
80675c21
GM
21324 * calendar/appt.el (appt-mode-line): New function.
21325 (appt-check, appt-disp-window): Use it.
21326
f0da764a
GM
21327 * files.el (hack-one-local-variable-eval-safep):
21328 Allow minor-modes with explicit +/-1 arguments.
21329
59f623b7
TZ
213302011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
21331
21332 * term/xterm.el (xterm): Add defgroup.
21333 (xterm-extra-capabilities): Add defcustom to supply known xterm
21334 capabilities, skip querying them, or query them (default).
21335 (terminal-init-xterm): Use it.
21336 (terminal-init-xterm-modify-other-keys): New function to set up
21337 modifyOtherKeys support to simplify `terminal-init-xterm'.
21338
9aab8e0d
MR
213392011-06-09 Martin Rudalics <rudalics@gmx.at>
21340
21341 * window.el (resize-window-reset, resize-window-reset-1)
21342 (resize-subwindows-skip-p, resize-subwindows-normal)
21343 (resize-subwindows, resize-other-windows, resize-this-window)
21344 (resize-root-window, resize-root-window-vertically)
21345 (window-deletable-p, window-or-subwindow-p)
21346 (frame-root-window-p): New functions.
21347
e8b08aee
GM
213482011-06-09 Glenn Morris <rgm@gnu.org>
21349
21350 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
21351 (ange-ftp-get-files): Use it.
21352
254c37a5
AK
213532011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
21354
21355 * mail/sendmail.el (mail-recover-1, mail-recover):
21356 * files.el (recover-file, recover-session):
21357 Handle dired-listing-switches not being just a single short option.
21358
35d7dbd3
GM
213592011-06-09 Glenn Morris <rgm@gnu.org>
21360
21361 * calendar/appt.el (appt-display-message, appt-disp-window):
21362 Handle lists of appointments.
21363
387522b2
MR
213642011-06-08 Martin Rudalics <rudalics@gmx.at>
21365
2b75be67
SM
21366 * window.el (one-window-p): Move down in code.
21367 Rewrite doc-string.
21368 (window-current-scroll-bars): Rewrite doc-string.
21369 Normalize live window argument.
387522b2
MR
21370 (walk-windows, get-window-with-predicate, count-windows):
21371 Rewrite doc-string. Use window-list-1.
21372 (window-in-direction-2, window-in-direction, get-mru-window):
21373 New functions.
21374
d8e4b68b 213752011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
21376
21377 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
21378 Doc fix (Bug#8713).
21379
213802011-06-08 Chong Yidong <cyd@stupidchicken.com>
21381
21382 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
21383
213842011-06-08 Juanma Barranquero <lekktu@gmail.com>
21385
21386 * loadhist.el (unload-feature-special-hooks):
21387 Add `comint-output-filter-functions'.
21388
0de12c52
IK
213892011-06-08 Ivan Kanis <gnu@kanis.fr>
21390
21391 * calendar/appt.el (appt-check): Move some initializations into the let.
21392
f3d1777e
MR
213932011-06-08 Martin Rudalics <rudalics@gmx.at>
21394
21395 * window.el (window-height): Defalias to window-total-height.
21396 (window-width): Defalias to window-body-width.
21397
18af70d0
CY
213982011-06-07 Chong Yidong <cyd@stupidchicken.com>
21399
21400 * image-mode.el (image-toggle-animation): New command.
21401 (image-mode-map): Bind it to RET.
21402 (image-mode): Update message.
21403 (image-toggle-display-image): Avoid a spurious cache flush.
21404 (image-transform-rotation): Doc fix.
21405 (image-transform-properties): Return quickly in the normal case.
21406 (image-animate-loop): Rename from image-animate-max-time.
21407
2b75be67 21408 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
21409 (create-animated-image): Remove unnecessary function.
21410 (image-animate): Rename from image-animate-start. New arg.
2b75be67 21411 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
21412 (image-animate-timer): Use car-safe.
21413 (image-animate-timeout): Rename argument.
21414
190b47e6
MR
214152011-06-07 Martin Rudalics <rudalics@gmx.at>
21416
21417 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
21418 window.c. Rename first argument to ALL-FRAMES.
21419 Rephrase doc-strings.
21420 (get-buffer-window-list): Rewrite using window-list-1.
21421 Rephrase doc-string.
a1511caf
MR
21422 (window-safe-min-height, window-safe-min-width): New constants.
21423 (window-size-ignore, window-min-size, window-min-size-1)
21424 (window-sizable, window-sizable-p, window-size-fixed-1)
21425 (window-size-fixed-p, window-min-delta-1, window-min-delta)
21426 (window-max-delta-1, window-max-delta, window-resizable)
21427 (window-resizable-p, window-total-height, window-total-width)
21428 (window-body-width): New functions.
21429 (window-full-height-p, window-full-width-p): Rewrite using
21430 window-total-size.
21431 (window-body-height): Rewrite using window-body-size.
190b47e6 21432
85cc1f11
MR
214332011-06-06 Martin Rudalics <rudalics@gmx.at>
21434
21435 * window.el (window-right, window-left, window-child)
21436 (window-child-count, window-last-child, window-any-p)
21437 (normalize-live-buffer, normalize-live-frame)
21438 (normalize-any-window, normalize-live-window)
21439 (window-iso-combination-p, window-iso-combined-p)
21440 (window-iso-combinations)
21441 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
21442 (windows-with-parameter, window-with-parameter)
21443 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
21444 (window-atom-check, window-side-check, window-check):
21445 New functions.
85cc1f11
MR
21446 (ignore-window-parameters, window-sides, window-sides-vertical)
21447 (window-sides-slots): New variables.
21448 (window-size-fixed): Move down in code. Minor doc-string fix.
21449
e7156492
AS
214502011-06-05 Andreas Schwab <schwab@linux-m68k.org>
21451
21452 * comint.el (comint-dynamic-complete-as-filename)
21453 (comint-dynamic-complete-filename): Correctly call
21454 completion-in-region.
21455
7e821d0d
DD
214562011-06-05 Deniz Dogan <deniz@dogan.se>
21457
21458 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
21459 in last change.
21460
ac09b8a1
DD
214612011-06-05 Deniz Dogan <deniz@dogan.se>
21462
21463 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
21464 (rcirc): Use it to prompt for encryption.
21465
34699b85
RW
214662011-06-05 Roland Winkler <winkler@gnu.org>
21467
21468 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
21469 (bibtex-search-entries): New command bound to C-c C-a.
21470 (bibtex-display-entries): New function.
21471
004dedd3
RW
214722011-06-05 Roland Winkler <winkler@gnu.org>
21473
21474 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
21475 (bibtex-insert-kill): After yanking insert newline if necessary.
21476 (bibtex-initialize): Call bibtex-string-files-init only once.
21477 (bibtex-mode): Do not call easy-menu-add.
21478 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
21479 (bibtex-yank): Set arg properly if nil.
21480
022fe7ce
RW
214812011-06-05 Roland Winkler <winkler@gnu.org>
21482
2b75be67
SM
21483 * textmodes/bibtex.el (bibtex-search-entry-globally):
21484 New variable.
022fe7ce
RW
21485 (bibtex-search-entry): Use it.
21486
b7c3692a
RW
214872011-06-05 Roland Winkler <winkler@gnu.org>
21488
21489 * textmodes/bibtex.el (bibtex-entry-format): New option
21490 sort-fields.
21491 (bibtex-format-entry, bibtex-reformat): Honor this option.
21492 (bibtex-parse-entry): Return fields in proper order.
21493
8eda563d
JB
214942011-06-05 Juanma Barranquero <lekktu@gmail.com>
21495
21496 * doc-view.el (doc-view-remove-if): Move computation of result out
21497 of `dolist' to silence misleading lexical-binding warning.
21498
7dbe3dbc
CY
214992011-06-04 Chong Yidong <cyd@stupidchicken.com>
21500
21501 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
21502 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
21503
0c33dd17
MA
215042011-06-04 Michael Albinus <michael.albinus@gmx.de>
21505
21506 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
21507 "SunOS 5.10".
21508
f8f91c2b
MA
215092011-06-04 Michael Albinus <michael.albinus@gmx.de>
21510
21511 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
21512 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
21513 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
21514 (tramp-parse-putty):
21515 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
21516 (tramp-completion-function-alist-ssh)
21517 (tramp-completion-function-alist-telnet)
21518 (tramp-completion-function-alist-su)
21519 (tramp-completion-function-alist-putty): Set `tramp-autoload'
21520 cookie.
21521
21522 * net/tramp-ftp.el:
21523 * net/tramp-sh.el:
21524 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
21525 load "tramp.el" `tramp-set-completion-function'.
21526
e17d9003
SM
215272011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
21528
21529 * shell.el: Require and use pcomplete.
21530 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
21531 (shell-completion-vars): Set pcomplete-default-completion-function.
21532
6c4cab03
DD
215332011-06-04 Deniz Dogan <deniz@dogan.se>
21534
21535 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
21536 `memq' (Bug#8799).
21537
ea9fafe0
SM
215382011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
21539
21540 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
21541
b3e945d3
JB
215422011-06-02 Juanma Barranquero <lekktu@gmail.com>
21543
21544 * bs.el (bs--mark-unmark, bs--nth-wrapper):
21545 * mpc.el (mpc-select-extend, mpc-songpointer-context):
21546 * vc/log-view.el (log-view-beginning-of-defun):
21547 * vc/smerge-mode.el (smerge-apply-resolution-patch)
21548 (smerge-refine-forward, smerge-refine-chopup-region):
21549 Silence warning for unused `dotimes' counter variables.
21550
7d520089
SM
215512011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
21552
21553 * net/tramp.el (tramp-with-progress-reporter): Rename from
21554 with-progress-reporter. Use `declare'.
21555 * net/tramp-smb.el:
21556 * net/tramp-sh.el:
21557 * net/tramp-gvfs.el: Update all uses.
21558
a1c2400f
JB
215592011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
21560
21561 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
21562 buffer isn't killed before making it current.
21563
2403c841
SM
215642011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
21565
21566 Silence various byte-compiler warnings.
21567 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
21568 `access-type' and new obsolescence format.
21569 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
21570 new format.
21571 (byte-compile-check-variable): New `access-type' argument.
21572 Only warn if the access-type is obsolete.
21573 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
21574 (byte-compile-variable-set): Adjust callers.
21575 * help-fns.el (describe-variable): Adjust to new obsolescence format.
21576 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
21577 setting it as obsolete.
21578 * simple.el (minibuffer-completing-symbol):
21579 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
21580 access as obsolete.
21581 * minibuffer.el (minibuffer-completing-file-name): Don't make it
21582 obsolete yet.
21583 * international/quail.el (quail-mouse-choose-completion): Remove unused
21584 code referring to obsolete var.
21585 (quail-choose-completion-string): Remove.
21586 * server.el (server-clients-with, server-kill-buffer-query-function)
21587 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
21588 * proced.el (proced-send-signal):
21589 * emacs-lisp/lisp.el (lisp-complete-symbol):
21590 Replace completion-annotate-function with completion-extra-properties.
21591
2462470b
SM
215922011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
21593
fb5b2591
SM
21594 * simple.el (goto-line): Use read-number.
21595 (overriding-map-is-bound): Remove.
21596 (saved-overriding-map): Change default.
21597 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
21598 Take the map as argument.
21599 (universal-argument, negative-argument, digit-argument): Use it.
21600 (restore-overriding-map): Adjust.
21601 (do-auto-fill): Use fill-forward-paragraph.
21602 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
21603
fd6fa53f
SM
21604 * minibuffer.el (minibuffer-inactive-mode-map): New var.
21605 (minibuffer-inactive-mode): New major mode.
21606 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
21607 the *Messages* buffer" hack.
21608 (mouse-popup-menubar): Don't burp if the event is a normal key.
21609
2462470b
SM
21610 Miscellaneous tweaks.
21611 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
21612 lexical scoping as in subr.el's dolist and dotimes.
21613 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
21614 Silence compiler warning.
21615 * thingatpt.el (forward-whitespace): Trivial coding style fix.
21616 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
21617 * international/ccl.el (ccl-compile): Trivial simplification.
21618 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
21619 * emacs-lisp/testcover.el (testcover-end): Remove spurious
21620 `printflag' argument.
21621 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
21622 Purecopy the whole obsolescence data.
21623
108bf785
LL
216242011-06-01 Leo Liu <sdl.web@gmail.com>
21625
21626 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
21627 improve doc-string as suggested by Marco Pessotto
21628 <melmothx@gmail.com>.
21629 (rcirc-print): Fix last change.
21630
30a23501
SM
216312011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
21632
21633 * minibuffer.el (complete-with-action): Return nil for the metadata and
21634 boundaries of non-functional tables.
21635 (completion-table-dynamic): Return nil for the metadata.
21636 (completion-table-with-terminator): Add default case, using
21637 complete-with-action.
21638 (completion--metadata): New function.
21639 (completion-all-sorted-completions, minibuffer-completion-help): Use it
21640 to try and avoid pathological performance problems.
21641 (completion--embedded-envvar-table): Return `category' metadata.
21642
bcd54f83
LMI
216432011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
21644
21645 * subr.el (process-alive-p): New tiny convenience function.
21646
e227544d
SM
216472011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
21648
21649 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
21650 content but also its previous major mode.
21651
e8296fdc
HE
216522011-05-31 Helmut Eller <eller.helmut@gmail.com>
21653
4d61f28d 21654 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
21655 *Backtrace* buffer when we exit with C-M-c.
21656
620c53a6
SM
216572011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
21658
21659 * minibuffer.el: Add metadata method to completion tables.
21660 (completion-category-overrides): New defcustom.
21661 (completion-metadata, completion--field-metadata)
21662 (completion-metadata-get, completion--styles)
21663 (completion--cycle-threshold): New functions.
21664 (completion-try-completion, completion-all-completions):
21665 Add `metadata' argument to choose completion-styles.
21666 (completion--do-completion): Use metadata to choose cycling.
21667 (completion-all-sorted-completions): Use metadata for sorting.
21668 Remove :completion-cycle-penalty which is not needed any more.
21669 (completion--try-word-completion): Add `metadata' argument.
21670 (minibuffer-completion-help): Check metadata for annotation function
21671 and sorting.
21672 (completion-file-name-table): Return `category' metadata.
21673 (minibuffer-completing-file-name): Make obsolete.
21674 * simple.el (minibuffer-completing-symbol): Make obsolete.
21675 * icomplete.el (icomplete-completions): Pass new `metadata' param to
21676 completion-try-completion.
21677
1257e755
SM
216782011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
21679
21680 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
21681
3767e706
LL
216822011-05-30 Leo Liu <sdl.web@gmail.com>
21683
21684 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
21685 (rcirc-print): Decode all incoming messages (bug#8744).
21686 (rcirc-decode-coding-system): Allow value nil for automatic coding
21687 system detection.
3767e706 21688
d1a5d56a
GM
216892011-06-01 Glenn Morris <rgm@gnu.org>
21690
21691 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
21692
e8cbec34
CY
216932011-05-29 Chong Yidong <cyd@stupidchicken.com>
21694
21695 * image.el (image-animate-max-time): Allow nil and t values.
21696 Default to nil.
21697 (create-animated-image): Doc fix.
21698 (image-animate-start): Remove second arg; just use
21699 image-animate-max-time.
21700 (image-animate-timeout): Doc fix. Args changed.
21701
21702 * image-mode.el (image-toggle-display-image): Ensure that the
21703 image spec passed to the animate timer is the same object as in
58179cce 21704 the buffer's display property (Bug#6981).
e8cbec34
CY
21705 (image-transform-properties): Doc fix.
21706
21707 * image.el (image-animate-max-time): Default to nil.
21708
159daf87
MR
217092011-05-29 Martin Rudalics <rudalics@gmx.at>
21710
21711 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
21712 entire buffer list (Bug#8184).
21713
d66c4c7c
CY
217142011-05-29 Chong Yidong <cyd@stupidchicken.com>
21715
21716 * image.el (imagemagick-types-inhibit)
21717 (imagemagick-register-types): Doc fix.
21718
80aec780
DD
217192011-05-29 Deniz Dogan <deniz@dogan.se>
21720
21721 * net/rcirc.el (rcirc): Use the user's stored encryption method by
21722 default.
21723
1dd3c2d9
CY
217242011-05-29 Chong Yidong <cyd@stupidchicken.com>
21725
21726 * select.el: Don't perform clipboard-manager saving in hooks;
21727 leave the hooks empty.
21728
60e56523
LL
217292011-05-28 Leo Liu <sdl.web@gmail.com>
21730
21731 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
21732 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
21733 (occur-edit-mode): New major mode (Bug#8463).
21734 (occur-after-change-function): New function.
21735 (occur-engine): Give Occur tags a read-only property.
21736
2b1e1a22
KR
217372011-05-28 Kevin Ryde <user42@zip.com.au>
21738
21739 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
21740
5d344e88
CY
217412011-05-28 Chong Yidong <cyd@stupidchicken.com>
21742
8e6ca83d
CY
21743 * bindings.el (help-echo): Make the initial non-indicator dash
21744 empty on graphical terminals (Bug#7295).
21745
5d344e88
CY
21746 * files.el (auto-mode-alist): Move config rule after the
21747 in-stripping one (Bug#8547).
21748
bfbbace7
CY
21749 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
21750
fbeba6e2
CY
21751 * startup.el (normal-splash-screen): Remove gratuitous mode-line
21752 setting (Bug#8740).
21753
60ed8c72
AA
217542011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
21755
4ac619f0
AA
21756 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
21757 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
21758 (Bug#8539).
60ed8c72 21759
23db196e
CY
217602011-05-28 Chong Yidong <cyd@stupidchicken.com>
21761
21762 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
21763
5012f24c
DK
217642011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
21765
21766 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
21767 (hs-hide-block-at-point, hs-find-block-beginning)
21768 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
21769 (Bug#8279).
21770
6a639b16
GM
217712011-05-28 Glenn Morris <rgm@gnu.org>
21772
21773 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
21774
d43eaf2c
CY
217752011-05-28 Chong Yidong <cyd@stupidchicken.com>
21776
5199bde1
CY
21777 * help-fns.el (describe-function-1): If the function is a derived
21778 major mode, print the parent mode.
21779
d43eaf2c
CY
21780 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
21781 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
21782
423428a8
SM
217832011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
21784
0ff8e1ba 21785 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 21786 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
21787 * progmodes/etags.el (tags-completion-at-point-function):
21788 * info-look.el (info-lookup-completions-at-point): Mark as
21789 non-exclusive.
21790 (info-complete): Adjust accordingly.
21791
423428a8
SM
21792 * info-look.el: Convert to lexical-binding and completion-at-point.
21793 (info-lookup-completions-at-point): New function.
21794 (info-complete): Use it and completion-in-region.
21795
b74aa22b
DA
217962011-05-28 Drew Adams <drew.adams@oracle.com>
21797
21798 * isearch.el: Let M-e start with point at the first mismatched char.
21799 (isearch-fail-pos): New function.
21800 (isearch-edit-string): Use it.
21801
66e2e71d
DK
218022011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
21803
21804 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
21805
b1890b0f 218062011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
21807
21808 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
21809 traversal functions for avl-trees.
21810 (avl-tree--stack): New struct.
21811 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
21812 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
21813 (avl-tree--do-enter): Add optional `updatefun' arg.
21814 Change return value.
eb95d01d 21815 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
21816 (avl-tree--do-delete): Add `test' and `nilflag' args.
21817 Change return value.
eb95d01d
TC
21818 (avl-tree-member): Add optional `nilflag'
21819 (avl-tree-member-p): New function.
21820 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
21821 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
21822 (avl-tree-stack-empty-p): New functions.
21823
3769ddcf
TC
21824 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
21825 avl-tree--del-balance1 and make it work both ways.
21826 (avl-tree--del-balance2): Remove.
21827 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
21828 make it work both ways.
21829 (avl-tree--enter-balance2): Remove.
21830 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
21831 New macros.
21832 (avl-tree--mapc, avl-tree-map): Add direction argument.
21833
eb95d01d 218342011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
21835
21836 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
21837
a9f737ee
CY
218382011-05-27 Chong Yidong <cyd@stupidchicken.com>
21839
21840 * select.el: Support clipboard managers with built-in function
21841 x-clipboard-manager-save, via delete-frame-functions and
21842 kill-emacs-hook.
21843 (xselect-convert-to-targets): Add MULTIPLE target to list.
21844 (xselect-convert-to-save-targets): New function.
21845
c92a1e54
KH
218462011-05-27 Kenichi Handa <handa@m17n.org>
21847
21848 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
21849 let-binding rfc2047-encode-encoded-words to nil.
21850
e145f188
GM
218512011-05-27 Glenn Morris <rgm@gnu.org>
21852
5ec8a862
GM
21853 * mail/emacsbug.el: Don't require url-util.
21854
4b29d9fb
GM
21855 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
21856
e145f188
GM
21857 * files.el (set-auto-mode):
21858 Also respect mode: entries at the end of the file. (Bug#8586)
21859
7d15102b
GM
218602011-05-26 Glenn Morris <rgm@gnu.org>
21861
98f593b8
GM
21862 * files.el (hack-local-variables-prop-line, hack-local-variables):
21863 Downcase mode names, as seems to be traditional.
27b48e63 21864 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 21865
7d15102b
GM
21866 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
21867 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
21868
51d5b4ec
JD
218692011-05-25 Julien Danjou <julien@danjou.info>
21870
21871 * textmodes/rst.el (rst-define-level-faces): Do not define face
21872 symbol if it is already defined.
21873
91513f63
VB
218742011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
21875
21876 * play/5x5.el (5x5-new-game, 5x5-randomize):
21877 Reset 5x5-solver-output to nil when a new grid is cast.
21878 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
21879 these debugging traces, as defmacro breaks the compiled code.
21880
4d90d6d0
DK
218812011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
21882
21883 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
21884
e1b90ef6
LL
218852011-05-24 Leo Liu <sdl.web@gmail.com>
21886
21887 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
21888 (vc-bzr-sha1): Adapt.
21889
d8e4b68b 21890 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
21891
21892 * bindings.el: Provide sha1 feature.
21893
db0406bb 218942011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
21895
21896 * mail/sendmail.el: Require `rfc2047'.
21897 (mail-insert-from-field): Do not perform RFC2047 encoding.
21898 (mail-encode-header): New function.
21899 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
21900 buffer to the return value of select-message-coding-system.
21901 Call mail-encode-header.
b8d747b9
KH
21902
21903 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
21904
db0406bb 219052011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 21906
4d90d6d0
DK
21907 * mail/supercite.el (sc-default-cite-frame):
21908 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 21909
eb8a5e9b
GM
219102011-05-24 Glenn Morris <rgm@gnu.org>
21911
f8630703
GM
21912 * progmodes/python.el (brm-menu): Declare.
21913
8831bbed
GM
21914 * emulation/viper.el (viper-set-hooks): Declare.
21915
eb8a5e9b
GM
21916 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
21917 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
21918 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
21919 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
21920 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
21921 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
21922
a2a25d24
SM
219232011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
21924
21925 Add an :exit-function for completion-at-point.
21926
21927 * minibuffer.el (completion--done): New fun.
21928 (completion--do-completion): Use it. New arg `expect-exact'.
21929 (minibuffer-complete, minibuffer-complete-word): Don't output message,
21930 since completion--do-completion does it for us now.
21931 (minibuffer-force-complete): Use completion--done and
21932 completion--replace. Handle sole-completion case with more care.
21933 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
21934 (completion-extra-properties): New var.
21935 (completion-annotate-function): Make obsolete.
21936 (minibuffer-completion-help): Adjust accordingly.
21937 Use completion-list-insert-choice-function.
21938 (completion-at-point, completion-help-at-point):
21939 Bind completion-extra-properties.
21940 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
21941 * simple.el (completion-list-insert-choice-function): New var.
21942 (completion-setup-function): Preserve it.
21943 (choose-completion): Pay attention to it, shuffle the code a bit.
21944 (choose-completion-string): New arg `insert-function'.
21945
21946 * textmodes/bibtex.el: Convert to lexical binding.
21947 (bibtex-mode-map): Use completion-at-point.
21948 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
21949 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
21950 (bibtex-complete): Define as obsolete alias.
21951 (bibtex-complete-internal): Remove.
21952 (bibtex-format-entry): Remove unused sub-group in regexp.
21953 * shell.el (shell--command-completion-data)
21954 (shell-environment-variable-completion):
21955 * pcomplete.el (pcomplete-completions-at-point):
21956 * comint.el (comint--complete-file-name-data): Use :exit-function
21957 instead of completion-table-with-terminator so it also works for
21958 choose-completion.
21959
e44e373d
SM
219602011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
21961
4f91a816
SM
21962 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
21963
782fc819
SM
21964 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
21965 (bug#8710).
21966
e44e373d
SM
21967 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
21968
381987c3
KM
219692011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
21970
21971 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
21972 customization variable and implement: If non-nil, auto-fill will
21973 be inhibited while on topic's header line.
21974
b776bc70
VB
219752011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
21976
21977 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 21978 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
21979 always have a solution in grid size = 5 cases.
21980 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
21981 (5x5-solver-output, 5x5-log-buffer): New vars.
21982 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
21983 Make these variables buffer local to achieve 5x5 multi-session-ness.
21984 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
21985 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
21986 (5x5-solve-suggest): New funs.
21987 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
21988 randomize a grid so that we ensure that there is always a solution.
21989 (5x5-make-random-grid): Allow other movement than flipping.
21990
7de88b6e
KR
219912011-05-23 Kevin Ryde <user42@zip.com.au>
21992
21993 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 21994 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
21995 advice and passes PREDICATE.
21996
b1ef1257
SM
219972011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
21998
bbca48fe
SM
21999 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
22000 byte-compile-lambda if it's actually a lambda.
22001
b1ef1257
SM
22002 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
22003 Fix function quoting. Use backquote better.
22004
92a9cc65
YS
220052011-05-22 Yuanle Song <sylecn@gmail.com>
22006
22007 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
22008 matching (Bug#8516).
22009
fe93f41a 220102011-05-22 Jari Aalto <jari.aalto@cante.net>
f0fb8059
JA
22011
22012 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
22013 different face (Bug#8178).
22014
d5b44c93
CY
220152011-05-22 Chong Yidong <cyd@stupidchicken.com>
22016
22017 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
22018 defface (Bug#8144).
22019
79106a44
SM
220202011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
22021
9c848d8a
SM
22022 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
22023 funcall as well (bug#8712). Warn when performing those conversions.
22024 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
22025
79106a44
SM
22026 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
22027
88dfa756
GM
220282011-05-22 Glenn Morris <rgm@gnu.org>
22029
22030 * files.el (hack-local-variables-prop-line): Small simplifications.
22031 (hack-local-variables, hack-local-variables-prop-line):
22032 If MODE-ONLY, return the mode, rather than just `t'.
22033
b7cf2c79
SM
220342011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
22035
22036 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
22037
3f1a8558
GM
220382011-05-21 Glenn Morris <rgm@gnu.org>
22039
7e4ccca3
GM
22040 * files.el (hack-local-variables-prop-line, hack-local-variables):
22041 If only interested in the mode, don't bother doing the other stuff.
22042
637d46ca
GM
22043 * image-mode.el (image-after-revert-hook):
22044 Redraw all frames on which the image is visible. (Bug#8567)
22045
973d955b
GM
22046 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
22047
3f1a8558
GM
22048 * wid-edit.el (widget-checklist-match-inline):
22049 Fix 2011-04-19 change. (Bug#8649)
22050
96479927
SM
220512011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
22052
1dcf791f
SM
22053 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
22054 Also allow singlespace after single-letter capitals followed by a dot.
22055
96479927
SM
22056 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
22057 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
22058
35fd0881
N
220592011-05-20 Nix <nix@esperi.org.uk>
22060
22061 * files.el (basic-save-buffer-2):
22062 Fix handling of break-hardlink-on-save with non-existent files.
22063
82745640
DD
220642011-05-19 Deniz Dogan <deniz@dogan.se>
22065
22066 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 22067 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 22068
4a720484
GM
220692011-05-19 Glenn Morris <rgm@gnu.org>
22070
d1f21341
GM
22071 * progmodes/f90.el (f90-type-def-re):
22072 Handle "type, bind(c)". (Bug#8691)
22073
4a720484
GM
22074 * emacs-lisp/autoload.el (batch-update-autoloads):
22075 Set autoload-excludes by parsing loadup.el rather than Makefiles.
22076
2fb0a219
MA
220772011-05-18 Michael Albinus <michael.albinus@gmx.de>
22078
22079 * net/tramp.el (tramp-process-actions): Set "first-password-request"
22080 property for the correct connection in case of multihops.
22081
e565dd37
GM
220822011-05-18 Glenn Morris <rgm@gnu.org>
22083
c2571358 22084 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
22085 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
22086
e565dd37
GM
22087 Rationalize calendar handling of day and month abbrev-arrays.
22088 * calendar/calendar.el (calendar-customized-p): New function.
22089 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
22090 (calendar-day-name-array, calendar-month-name-array): Doc fix.
22091 Add :set function.
22092 (calendar-abbrev-length, calendar-day-abbrev-array)
22093 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
22094 (calendar-day-abbrev-array, calendar-month-abbrev-array):
22095 Elements may no longer be nil.
22096 (calendar-day-name, calendar-month-name):
22097 Update for changed nature of abbrev arrays.
22098 * calendar/diary-lib.el (diary-name-pattern):
22099 Update for changed nature of abbrev arrays.
22100 (diary-mark-entries-1): Update calendar-make-alist calls.
22101 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
22102 * calendar/cal-html.el (cal-html-day-abbrev-array):
22103 Simply inherit from calendar-day-abbrev-array.
22104
1d99a745
SM
221052011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
22106
22107 * progmodes/grep.el (grep-mode): Disable default
22108 compilation-directory-matcher setting (bug#8684).
22109
7c1d9aa0
MA
221102011-05-17 Michael Albinus <michael.albinus@gmx.de>
22111
22112 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
22113 instead of "head" and "tail". There were problems with SunOS 5.9,
22114 and it performs better.
22115
3952e9d8
GM
221162011-05-17 Glenn Morris <rgm@gnu.org>
22117
2dd12e7f
GM
22118 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
22119
e4157b9c
GM
22120 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
22121 Replace obsolete function.
22122
8e249bbd
GM
22123 * shell.el (pcomplete-parse-arguments-function): Declare.
22124
3952e9d8
GM
22125 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
22126 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
22127 (appt-check): Doc fixes.
22128 (appt-disp-window-function, appt-delete-window-function):
22129 Remove needless special case in custom :type.
22130 (appt-display-count): Default to 0, not nil.
22131 (appt-check): Reset appt-display-count to 0, not nil.
22132
c71a0d48 221332011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 22134
c71a0d48
GM
22135 * progmodes/python.el (python-font-lock-keywords):
22136 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 22137
31d55be9
SM
221382011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
22139
22140 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
22141
3bfacb2f
KR
221422011-05-16 Kevin Ryde <user42@zip.com.au>
22143
22144 * info-look.el (makefile-automake-mode): New setups, looking in
22145 automake manual, then makefile-mode.
22146 (makefile-mode): Remove automake manual, have it just in
22147 makefile-automake-mode since there's various things different or
22148 not relevant to plain make.
22149 (makefile-mode): Remove "other-modes" non-existent automake-mode,
22150 believe a hypothetical automake-mode would go to makefile-mode,
22151 not the other way around.
22152
c8e83751
CY
221532011-05-15 Chong Yidong <cyd@stupidchicken.com>
22154
5e9e35cd
CY
22155 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
22156 hunk-end tags (Bug#8672).
22157
c8e83751
CY
22158 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
22159 vc-annotate-show-diff-revision-at-line (Bug#8671).
22160
50b23e5a
GM
221612011-05-14 Glenn Morris <rgm@gnu.org>
22162
7210a739
GM
22163 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
22164 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
22165 (change-log-font-lock-keywords): Also handle multiple author lines
22166 with leading tabs. (Bug#8644)
7210a739 22167
4691905a
GM
22168 * calendar/appt.el (appt-check): Rename some local variables.
22169 Some simplification/reordering.
22170
50b23e5a
GM
22171 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
22172 (feedmail-sendmail-f-doesnt-sell-me-out)
22173 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
22174 (feedmail-debug-sit-for, feedmail-queue-express-hook)
22175 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
22176 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
22177 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
22178 (feedmail-binmail-gnulinuxish-template):
22179 Rename from feedmail-binmail-linuxish-template.
22180 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
22181 Use insert-buffer-substring.
22182
215cda7c
BC
221832011-05-14 Bill Carpenter <bill@carpenter.org>
22184
22185 * mail/feedmail.el (feedmail-patch-level): Increase.
22186 (feedmail-debug): New custom group.
22187 (feedmail-confirm-outgoing-timeout)
22188 (feedmail-sendmail-f-doesnt-sell-me-out)
22189 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
22190 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
22191 (feedmail-sender-line, feedmail-from-line)
22192 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 22193 (feedmail-spray-this-address)
215cda7c
BC
22194 (feedmail-spray-address-fiddle-plex-list)
22195 (feedmail-queue-use-send-time-for-date)
22196 (feedmail-queue-use-send-time-for-message-id)
22197 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
22198 (feedmail-buffer-eating-function):
22199 Doc fixes.
22200 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
22201 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
22202 (feedmail-message-action-scroll-down): New functions.
22203 (feedmail-queue-directory, feedmail-queue-draft-directory):
22204 Use expand-file-name.
22205 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
22206 Remove C-v help entry.
22207 (feedmail-queue-buffer-file-name): New variable.
22208 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
22209 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
22210 (feedmail-message-action-send-strong, feedmail-message-action-edit)
22211 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
22212 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
22213 (feedmail-message-action-toggle-spray)
22214 (feedmail-run-the-queue-no-prompts)
22215 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
22216 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
22217 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
22218 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
22219 (feedmail-envelope-deducer, feedmail-fiddle-from)
22220 (feedmail-fiddle-sender, feedmail-default-date-generator)
22221 (feedmail-fiddle-date, feedmail-fiddle-message-id)
22222 (feedmail-fiddle-spray-address)
22223 (feedmail-fiddle-list-of-spray-fiddle-plexes)
22224 (feedmail-fiddle-list-of-fiddle-plexes)
22225 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
22226 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
22227 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
22228 Change default. Doc fix.
22229 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
22230 (feedmail-binmail-linuxish-template): New constant.
22231 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
22232 Respect feedmail-sendmail-f-doesnt-sell-me-out.
22233 (feedmail-send-it): Add debug call.
22234 Use feedmail-queue-buffer-file-name, and
22235 feedmail-send-it-immediately-wrapper.
22236 (feedmail-message-action-send): Add debug call.
22237 Use feedmail-send-it-immediately-wrapper.
22238 (feedmail-queue-express-to-queue): Add debug call.
22239 Run feedmail-queue-express-hook.
22240 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
22241 (feedmail-message-action-help-blat):
22242 Rename from feedmail-queue-send-edit-prompt-help-first.
22243 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
22244 Check line-endings. Handle errors better.
22245 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
22246 Doc fix. Add debug call.
22247 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
22248 Use feedmail-queue-send-edit-prompt-inner.
22249 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
22250 (feedmail-queue-send-edit-prompt-inner): New function, extracted
22251 from feedmail-queue-send-edit-prompt.
22252 (feedmail-queue-send-edit-prompt-help)
22253 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
22254 (feedmail-tidy-up-slug): Add debug call.
22255 Respect feedmail-queue-slug-suspect-regexp.
22256 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
22257 (feedmail-dump-message-to-queue): Add debug call.
22258 Expand queue-directory.
22259 (feedmail-dump-message-to-queue): Change message slightly.
22260 Use feedmail-say-chatter.
22261 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
22262 (feedmail-send-it-immediately-wrapper): New function.
22263 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
22264 Insert empty string rather than newline. Handle full-frame case.
22265 Use catch/throw. Use feedmail-say-chatter.
22266 (feedmail-fiddle-from): Try mail-host-address.
22267 (feedmail-default-message-id-generator): Doc fix.
22268 Bind system-time-locale. Handle missing end.
22269 (feedmail-fiddle-x-mailer): Add debug call.
22270 Handle feedmail-x-mailer-line being nil.
22271 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
22272 Add debug call. Use buffer-substring-no-properties.
22273 (feedmail-say-debug, feedmail-say-chatter): New functions.
22274 (feedmail-find-eoh): Give an explicit error.
22275
42c7e61e
UJ
222762011-05-13 Ulf Jasper <ulf.jasper@web.de>
22277
c2571358 22278 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 22279 family from helvetica to sans.
c2571358 22280 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
22281 etc/images/newsticker.
22282
c2571358 22283 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
22284 family from helvetica to sans.
22285
22286 * net/newst-plainview.el (newsticker-new-item-face)
22287 (newsticker-old-item-face, newsticker-immortal-item-face)
22288 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 22289 (newsticker-statistics-face): Change default family from
42c7e61e 22290 helvetica to sans.
c2571358 22291 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
22292 etc/images/newsticker.
22293
5d3385a0
JB
22294 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
22295 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
22296 auto-marking.
22297
8497a297
DV
222982011-05-13 Didier Verna <didier@xemacs.org>
22299
22300 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
22301 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
22302 TODO entries.
8497a297
DV
22303 (lisp-lambda-list-keyword-parameter-indentation)
22304 (lisp-lambda-list-keyword-parameter-alignment)
22305 (lisp-lambda-list-keyword-alignment): New customizable user options.
22306 (lisp-indent-defun-method): Improve docstring.
22307 (extended-loop-p): Fix comment.
22308 (lisp-indent-lambda-list-keywords-regexp): New variable.
22309 (lisp-indent-lambda-list): New function.
22310 (lisp-indent-259): Use it.
22311 (lisp-indent-defmethod): Support for more than one
22312 method qualifier and properly indent methods lambda-lists.
22313 (defgeneric): Provide a missing common-lisp-indent-function property.
22314
f278f87f
SM
223152011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
22316
22317 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
22318 bounds for the empty string (bug#8667).
22319
5233edd7
GM
223202011-05-13 Glenn Morris <rgm@gnu.org>
22321
5237a44f
GM
22322 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
22323
8340026c 22324 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 22325 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 22326
5233edd7 22327 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 22328 (appt-time-msg-list): Doc fix.
a5464014 22329 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 22330
92d10796
AS
223312011-05-12 Andreas Schwab <schwab@linux-m68k.org>
22332
22333 * progmodes/ld-script.el (ld-script-keywords)
22334 (ld-script-builtins): Update keywords list.
22335
914a0ae1
SM
223362011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
22337
c89be45f
SM
22338 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
22339
914a0ae1
SM
22340 * shell.el (shell-completion-vars): New function.
22341 (shell-mode):
22342 * simple.el (read-shell-command): Use it.
22343 (blink-matching-open): No need for " [...]" in minibuffer-message.
22344
98dc3df3
GM
223452011-05-12 Glenn Morris <rgm@gnu.org>
22346
22347 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
22348 (appt-check): Simplify.
22349
d2fc7e3d 223502011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 22351
4d61f28d 22352 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
22353 literal "/dev/null".
22354
d2fc7e3d 223552011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
22356
22357 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
22358 Fix typo.
22359
d2fc7e3d 223602011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 22361
3f254caa
SM
22362 * progmodes/which-func.el (which-function):
22363 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
22364 which might not be defined (Bug#8260).
22365
d45885f7
GM
223662011-05-12 Glenn Morris <rgm@gnu.org>
22367
22368 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
22369 Let byte-compile-initial-macro-environment always take precedence.
22370
488086f4
SM
223712011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
22372
22373 * net/rcirc.el: Add support for SSL/TLS connections.
22374 (rcirc-server-alist): New field `encryption'.
22375 (rcirc): Check `encryption' settings.
22376 (rcirc-connect): New arg `encryption'. Use open-network-stream.
22377 Merge make-local-variable into `set'.
22378 (rcirc--connection-open-p): New function.
22379 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
22380 the process is not a network process (e.g. running gnutls-cli).
22381 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
22382 Make rcirc-(en|de)code-coding-system local here.
22383 (rcirc-mode): Merge make-local-variable into `set'.
22384 (rcirc-parent-buffer): Make permanent buffer-local.
22385 (rcirc-multiline-minor-mode): Don't do it here.
22386 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
22387 there's no server buffer.
22388
7d3b9d44
GM
223892011-05-11 Glenn Morris <rgm@gnu.org>
22390
f64049c6
GM
22391 * newcomment.el (comment-kill): Prefix "unused" local.
22392
93c9df73
GM
22393 * term/w32console.el (get-screen-color): Declare.
22394
7d3b9d44
GM
22395 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
22396 Handle symbol elements of byte-compile-initial-macro-environment.
22397
9e2dd53f
LL
223982011-05-10 Leo Liu <sdl.web@gmail.com>
22399
488086f4
SM
22400 * bookmark.el (bookmark-bmenu-mode-map):
22401 Bind bookmark-bmenu-search to `/'.
8b340240 22402
9e2dd53f 22403 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
22404 (footnote-unicode-string, footnote-unicode-regexp): New variable.
22405 (Footnote-unicode): New function.
22406 (footnote-style-alist): Add unicode style to the list.
22407 (footnote-style): Doc fix.
9e2dd53f 22408
79b70037
GM
224092011-05-10 Jim Meyering <meyering@redhat.com>
22410
22411 Fix doubled-word typos.
22412 * international/quail.el (quail-insert-kbd-layout): and and -> and
22413 * kermit.el: and and -> and
22414 * net/ldap.el (ldap-search-internal): to to -> to
22415 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
22416 * progmodes/js.el (js-mode): and and -> and
22417 * textmodes/artist.el (artist-move-to-xy): at at -> at
22418 (artist-draw-region-trim-line-endings): if if -> if
22419 And Safetyc -> Safety.
22420 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
22421
b8f82dc1 224222011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 22423 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
22424
22425 * files.el (hack-one-local-variable-eval-safep):
22426 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
22427
4f99f44b
GM
224282011-05-10 Glenn Morris <rgm@gnu.org>
22429
22430 * calendar/diary-lib.el (diary-list-entries-hook)
22431 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
22432 (diary-nongregorian-marking-hook, diary-list-entries)
22433 (diary-include-other-diary-files, diary-mark-entries)
22434 (diary-mark-included-diary-files): Doc fixes.
22435
84f29e6b
JB
224362011-05-09 Juanma Barranquero <lekktu@gmail.com>
22437
22438 * misc.el: Require tabulated-list.el during compilation.
22439
9bedd73a
CY
224402011-05-09 Chong Yidong <cyd@stupidchicken.com>
22441
488086f4
SM
22442 * progmodes/compile.el (compilation-start):
22443 Run compilation-filter-hook for the async case too.
9bedd73a
CY
22444 (compilation-filter-hook): Doc fix.
22445
797c735c
DD
224462011-05-09 Deniz Dogan <deniz@dogan.se>
22447
22448 * wdired.el: Remove outdated installation comment. Fix usage
22449 comment.
22450
5f4b1dfe
JB
224512011-05-09 Juanma Barranquero <lekktu@gmail.com>
22452
22453 * misc.el: Implement new command `list-dynamic-libraries'.
22454 (list-dynamic-libraries--loaded-only-p): New variable.
22455 (list-dynamic-libraries--refresh): New function.
22456 (list-dynamic-libraries): New command.
22457
4c44026c
CY
224582011-05-09 Chong Yidong <cyd@stupidchicken.com>
22459
488086f4
SM
22460 * progmodes/compile.el (compilation-error-regexp-alist-alist):
22461 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
22462 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
22463 higher priority to avoid clobbering by gnu.
22464
027f966d
CY
224652011-05-08 Chong Yidong <cyd@stupidchicken.com>
22466
22467 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
22468 if the face has existing theme settings (Bug#8454).
22469
085f5d7d
CY
224702011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
22471
488086f4
SM
22472 * progmodes/perl-mode.el (perl-imenu-generic-expression):
22473 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 22474
2a86a00c
RS
22475 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
22476 special file names `.' and `..' (Bug#8259).
22477
d9c54a06
CY
224782011-05-08 Chong Yidong <cyd@stupidchicken.com>
22479
488086f4
SM
22480 * progmodes/grep.el (grep-mode-font-lock-keywords):
22481 Remove buffer-changing entries.
d9c54a06
CY
22482 (grep-filter): New function.
22483 (grep-mode): Add it to compilation-filter-hook.
22484
22485 * progmodes/compile.el (compilation-filter-hook)
22486 (compilation-filter-start): New defvars.
22487 (compilation-filter): Call compilation-filter-hook prior to
22488 updating the process mark.
22489
c4662635
SM
224902011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
22491
22492 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
22493
b0512a1d
EZ
224942011-05-07 Eli Zaretskii <eliz@gnu.org>
22495
605c9376
EZ
22496 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
22497 mailclient-send-it even if window-system is nil. (Bug#8595)
22498
c4662635
SM
22499 * term/w32console.el (terminal-init-w32console):
22500 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
22501 background-mode. (Bug#8597)
22502
d1dc2cc2
SM
225032011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
22504
22505 Make bytecomp.el understand that defmethod defines funs (bug#8631).
22506 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
22507 New functions.
22508 (defgeneric, eieio--defmethod): Use them.
22509 (eieio-defgeneric): Remove.
22510 (defmethod): Call defgeneric in a way visible to the byte-compiler.
22511
915d1300
GM
225122011-05-07 Glenn Morris <rgm@gnu.org>
22513
a3961c3e
GM
22514 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
22515 Use let rather than let*.
22516 (timeclock-find-discrep): Remove unused local.
22517
314347b9
GM
22518 * calendar/diary-lib.el (diary-comment-start): Doc fix.
22519
915d1300
GM
22520 * calendar/appt.el (appt-time-msg-list): Doc fix.
22521
275b59b0
NF
225222011-05-06 Noah Friedman <friedman@splode.com>
22523
22524 * apropos.el (apropos-print-doc): Only use
22525 emacs-lisp-docstring-fill-column when it is bound to an integer,
22526 per that variable's documentation.
22527
6c19f744
SM
225282011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
22529
22530 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 22531 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 22532
60f884b2
GM
225332011-05-06 Glenn Morris <rgm@gnu.org>
22534
5006e634
GM
22535 * calendar/appt.el (appt-message-warning-time): Doc fix.
22536 (appt-warning-time-regexp): New option.
22537 (appt-make-list): Respect appt-message-warning-time.
22538
548d0a63
GM
22539 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
22540 New options.
22541 (diary-add-to-list): Strip comments from the displayed string.
22542 (diary-mode): Set comment-start and comment-end.
22543
60f884b2
GM
22544 * vc/diff-mode.el (smerge-refine-subst): Declare.
22545 (diff-refine-hunk): Don't require smerge-mode when compiling.
22546
989681bb
JB
225472011-05-06 Juanma Barranquero <lekktu@gmail.com>
22548
22549 * simple.el (list-processes): Return nil as the docstring says.
22550
a6bc05e1
MA
225512011-05-05 Michael Albinus <michael.albinus@gmx.de>
22552
22553 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
22554 to "".
22555 (ange-ftp-write-region, ange-ftp-insert-file-contents)
22556 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
22557 determining of binary transfer. (Bug#7383)
22558
23c22e9a
MA
225592011-05-05 Michael Albinus <michael.albinus@gmx.de>
22560
c4662635
SM
22561 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
22562 Fix port computation bug. (Bug#8618)
23c22e9a 22563
0bff894f
GM
225642011-05-05 Glenn Morris <rgm@gnu.org>
22565
b8296902
GM
22566 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
22567
1f522ce8
GM
22568 * simple.el (shell-dynamic-complete-functions)
22569 (comint-dynamic-complete-functions): Declare.
22570
cf5bee67
GM
22571 * net/network-stream.el (gnutls-negotiate):
22572 * simple.el (tabulated-list-print): Fix declarations.
22573
22574 * progmodes/gud.el (syntax-symbol, syntax-point):
22575 Remove unnecessary and incorrect declarations.
22576
0bff894f 22577 * emacs-lisp/check-declare.el (check-declare-scan):
1f9f395d 22578 Handle byte-compile-initial-macro-environment in bytecomp.el.
0bff894f 22579
9869b3ae
SM
225802011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
22581
22582 Fix earlier half-done eieio-defmethod change (bug#8338).
22583 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
22584 Streamline and change calling convention.
22585 (defmethod): Adjust accordingly and simplify.
22586 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
22587 new eieio--defmethod.
22588 (slot-boundp): Minor CSE simplification.
22589
9c1d5ac5
MZ
225902011-05-05 Milan Zamazal <pdm@zamazal.org>
22591
22592 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
22593 (glasses-make-readable): Use glasses-separate-capital-groups.
22594
455c834e
JB
225952011-05-05 Juanma Barranquero <lekktu@gmail.com>
22596
22597 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
22598 (warning-series): Doc fix.
22599 (display-warning): Don't try to create the buffer if we just found it.
22600
9ed7c8cb
CY
226012011-05-04 Chong Yidong <cyd@stupidchicken.com>
22602
22603 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
22604 (autoload-find-generated-file): New function.
22605 (generate-file-autoloads): Bind generated-autoload-file to
22606 buffer-file-name.
9869b3ae
SM
22607 (update-file-autoloads, update-directory-autoloads):
22608 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
22609 output file (Bug#7989).
22610 (batch-update-autoloads): Doc fix.
22611
0898ca10
JB
226122011-05-04 Juanma Barranquero <lekktu@gmail.com>
22613
22614 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
22615
31dfb76c
GM
226162011-05-04 Glenn Morris <rgm@gnu.org>
22617
f330b642
GM
22618 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
22619 function, so it follows changes in calendar-date-style.
22620 (diary-fancy-date-matcher): New function.
22621 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
22622 (diary-fancy-font-lock-fontify-region-function):
22623 Use diary-fancy-date-pattern as a function.
22624
31dfb76c
GM
22625 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
22626 non-numbers for `year' etc pseudo-variables. (Bug#8583)
22627
48e79d6a
TZ
226282011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
22629
22630 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
22631 instead of positional arguments. Allow :keylist and :crlfiles
22632 arguments.
22633 (open-gnutls-stream): Call it.
22634
22635 * net/network-stream.el (network-stream-open-starttls): Adjust to
22636 call `gnutls-negotiate' with :process and :hostname arguments.
22637
dd5a5ee0
SM
226382011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
22639
ef80fc09
SM
22640 * minibuffer.el (completion--message): New function.
22641 (completion--do-completion, minibuffer-complete)
22642 (minibuffer-force-complete, minibuffer-complete-word): Use it.
22643 (completion--do-completion): Don't ignore completion-auto-help when in
22644 icomplete-mode.
22645
dd5a5ee0
SM
22646 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
22647 internal encoding (e.g. tibetan zero is not whitespace).
22648 (global-whitespace-mode): Prefer save-current-buffer.
22649 (whitespace-trailing-regexp): Remove useless save-match-data.
22650 (whitespace-empty-at-bob-regexp): Minor simplification.
22651
b7d22a83
CY
226522011-05-03 Chong Yidong <cyd@stupidchicken.com>
22653
22654 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
22655
5192af46
AM
226562011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
22657
22658 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 22659 Use `concat' to create string for insertion.
5192af46 22660
5767d190
SM
226612011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
22662
22663 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
22664 Avoid open-line which runs post-self-insert-hook.
22665 (bibtex-fill-entry): Remove unused `end' var.
22666
bf242939
AM
226672011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
22668
5767d190
SM
22669 * textmodes/ispell.el (ispell-add-per-file-word-list):
22670 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 22671
25666126
LL
226722011-05-03 Leo Liu <sdl.web@gmail.com>
22673
22674 * isearch.el (isearch-yank-pop): New command.
5767d190 22675 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
22676 (isearch-forward): Mention it.
22677
52d3c2d0
SM
226782011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
22679
1bcace58
SM
22680 * simple.el (minibuffer-complete-shell-command): Remove.
22681 (minibuffer-local-shell-command-map): Use completion-at-point.
22682 (read-shell-command): Setup completion vars here instead.
22683 (read-expression-map): Bind TAB to symbol completion.
22684
52d3c2d0
SM
22685 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
22686 error directly rather via storing it into `results'.
22687
35813471
LL
226882011-05-02 Leo Liu <sdl.web@gmail.com>
22689
22690 * vc/diff.el: Fix description.
22691
e793a940
LMI
226922011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
22693
22694 * server.el (server-eval-at): New function.
22695
8de66e05
LMI
226962011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
22697
22698 * net/network-stream.el (open-network-stream): Take a :nowait
22699 parameter and pass it on to `make-network-process'.
22700 (network-stream-open-plain): Ditto.
22701
dcb79f20
AS
227022011-04-30 Andreas Schwab <schwab@linux-m68k.org>
22703
22704 * faces.el (face-spec-set-match-display): Don't match toolkit
22705 options on terminal frames.
22706
14a7fbd8
SM
227072011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
22708
7eabc1be
SM
22709 * progmodes/pascal.el: Use lexical binding.
22710 (pascal-mode-map): Remove author preferences.
22711
14a7fbd8
SM
22712 * pcomplete.el (pcomplete-std-complete): Don't abuse
22713 completion-at-point.
22714
50f84510
JB
227152011-04-28 Juanma Barranquero <lekktu@gmail.com>
22716
6e087a44
JB
22717 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
22718 removing code that has been dead since 1991 or so.
22719
50f84510
JB
22720 * startup.el (command-line): When warning about "_emacs", use a
22721 delayed warning to allow the user to filter it out.
22722
0ba690bd
DD
227232011-04-28 Deniz Dogan <deniz@dogan.se>
22724
22725 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
22726 user has not joined.
22727
08abfaad
SM
227282011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
22729
22730 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
22731 aren't any completions at point.
22732
638f053a
JB
227332011-04-28 Juanma Barranquero <lekktu@gmail.com>
22734
22735 * subr.el (display-delayed-warnings): New function.
22736 (delayed-warnings-hook): New variable.
22737
8fff8daa
SM
227382011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
22739
08abfaad
SM
22740 * minibuffer.el (completion-at-point, completion-help-at-point):
22741 Don't presume that a given completion-at-point-function will always
22742 use the same calling convention.
22743
8fff8daa
SM
22744 * pcomplete.el (pcomplete-completions-at-point):
22745 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
22746 pcomplete-seen is non-nil.
22747 (pcomplete-comint-setup): Also recognize the new comint/shell
22748 completion functions.
22749 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
22750 pcomplete-seen is non-nil.
22751
841a1577 227522011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 22753
841a1577 22754 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 22755 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 22756 the first character in the entry. This allows for code to add its
211ec907
UJ
22757 own uid to the entry.
22758 (icalendar--convert-float-to-ical): Add export of
22759 `diary-float'-entries save for those with the optional DAY
22760 argument.
22761
2a782793
DC
227622011-04-27 Daniel Colascione <dan.colascione@gmail.com>
22763
22764 * subr.el (shell-quote-argument): Use alternate escaping strategy
22765 when we spot a variable reference in a string.
22766
0438ce91
DC
227672011-04-26 Daniel Colascione <dan.colascione@gmail.com>
22768
22769 * cus-start.el (all): Define customization for debug-on-event.
22770
841a1577 227712011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
22772
22773 * subr.el (shell-quote-argument): Escape correctly under Windows.
22774
d090ed6c
SM
227752011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
22776
22777 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
22778
bfd31217
MA
227792011-04-25 Michael Albinus <michael.albinus@gmx.de>
22780
d090ed6c
SM
22781 * net/tramp.el (tramp-process-actions): Add POS argument.
22782 Delete region between POS and (pos).
bfd31217 22783
d090ed6c
SM
22784 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
22785 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
22786 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
22787
22788 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
22789 position in `tramp-process-actions' call.
22790
22791 * net/trampver.el: Update release number.
22792
e92f3bd3
SM
227932011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
22794
850256b5
SM
22795 * custom.el (defcustom): Obey lexical-binding.
22796
e92f3bd3
SM
22797 Fix octave-inf completion problems reported by Alexander Klimov.
22798 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
22799 Inherit from octave-mode-syntax-table.
22800 (inferior-octave-mode): Set info-lookup-mode.
22801 (inferior-octave-completion-at-point): New function.
22802 (inferior-octave-complete): Use it and completion-in-region.
22803 (inferior-octave-dynamic-complete-functions): Use it as well, and use
22804 comint-filename-completion.
22805 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
22806 symbol elements which shouldn't be word elements.
22807 (octave-font-lock-keywords, octave-beginning-of-defun)
22808 (octave-function-header-regexp): Adjust regexps accordingly.
22809 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
22810
cd22b309
JB
228112011-04-25 Juanma Barranquero <lekktu@gmail.com>
22812
22813 * net/gnutls.el (gnutls-errorp): Declare before first use.
22814
8b492194
TZ
228152011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
22816
22817 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
22818 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 22819 default trustfile exists before going to use it. Add missing
5a5fa834 22820 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
22821 Reported by Claudio Bley <claudio.bley@gmail.com>.
22822 (open-gnutls-stream): Add usage example.
22823
22824 * net/network-stream.el (network-stream-open-starttls): Give host
22825 parameter to `gnutls-negotiate'.
22826 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 22827 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 22828
841a1577 228292011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 22830
cd22b309
JB
22831 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
22832 Use correct match group (bug#8438).
05842630 22833
3ba7869c
CY
228342011-04-24 Chong Yidong <cyd@stupidchicken.com>
22835
512e3ae1
CY
22836 * emacs-lisp/package.el (package-built-in-p): Fix typo.
22837 (package-menu--generate): New arg specifying packages to show.
22838 (package-menu-refresh, package-menu-execute, list-packages):
22839 Callers changed.
22840 (package-show-package-list): New function, replacing deleted
22841 package--list-packages (renamed because it is non-internal).
22842
22843 * finder.el (finder-list-matches): Use package-show-package-list
22844 instead of deleted package--list-packages.
22845
e92f3bd3
SM
22846 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
22847 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
22848 (vc-annotate-mode-map): Bind it to RET.
22849
7031be6d
UR
228502011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
22851
22852 * progmodes/etags.el (next-file): Don't use set-buffer to change
22853 buffers (Bug#8478).
22854
4ef177aa
CY
228552011-04-24 Chong Yidong <cyd@stupidchicken.com>
22856
c8d173eb
CY
22857 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
22858
4ef177aa
CY
22859 * apropos.el (apropos-label-face): Avoid variable-pitch face.
22860 (apropos-accumulator): Doc fix.
22861 (apropos-function, apropos-macro, apropos-command)
22862 (apropos-variable, apropos-face, apropos-group, apropos-widget)
22863 (apropos-plist): Add face property.
22864 (apropos-symbols-internal): Fix indentation.
22865 (apropos-print): Simplify help, and recognize apropos-multi-type.
22866 (apropos-print-doc): Use button-type-get to extract the button's
22867 face property. Fill docstring (Bug#8352).
22868
4ffd0d6b 228692011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
22870
22871 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
22872
c6c32125 22873 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 22874 (mpuz-mode-map): Use mapc.
c6c32125
JB
22875 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
22876 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
22877 Fix typos in docstrings.
22878
58d468b4
JB
22879 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
22880 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
22881
6470c3c6
JB
22882 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
22883
4ffd0d6b 228842011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
22885
22886 * minibuffer.el (completion--do-completion): Avoid the "Next char
22887 not unique" prompt if icomplete-mode is enabled (Bug#5849).
22888
3ad8bad0
CY
22889 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
22890 mouse-2 into unread-command-events, it is interpreted correctly.
22891
71d73c9c 22892 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 22893 (image-toggle-display): Doc fix.
71d73c9c 22894
841a1577 228952011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 22896
4ffd0d6b
GM
22897 * textmodes/page.el (what-page): Use line-number-at-pos to
22898 calculate line number (Bug#6825).
6e1dbaa9 22899
c2fb1b60
JB
229002011-04-22 Juanma Barranquero <lekktu@gmail.com>
22901
22902 * eshell/esh-mode.el (find-tag-interactive): Declare function.
22903 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
22904 Pass argument NO-DEFAULT to `find-tag-interactive'.
22905
e02f48d7
JB
229062011-04-22 Juanma Barranquero <lekktu@gmail.com>
22907
22908 Lexical-binding cleanup.
22909
22910 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
22911 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
22912 * progmodes/ada-prj.el (ada-prj-initialize-values)
22913 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
22914 (ada-prj-show-value):
22915 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
22916 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
22917 (antlr-invalidate-context-cache, antlr-options-menu-filter)
22918 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
22919 * progmodes/bug-reference.el (bug-reference-push-button):
22920 * progmodes/fortran.el (fortran-line-length):
22921 * progmodes/glasses.el (glasses-change):
22922 * progmodes/octave-mod.el (octave-fill-paragraph):
22923 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
22924 (python-pdbtrack-grub-for-buffer, python-sentinel):
22925 * progmodes/sql.el (sql-save-connection):
22926 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
22927 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
22928 Mark unused parameters.
22929
22930 * progmodes/compile.el (compilation--flush-directory-cache)
22931 (compilation--flush-parse, compile-internal): Mark unused parameters.
22932 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
22933 (compilation-next-error-function): Remove unused variable `timestamp'.
22934
22935 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
22936 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
22937
22938 * progmodes/dcl-mode.el (dcl-end-of-command):
22939 Remove unused variable `start'.
22940 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
22941 (dcl-option-value-basic, dcl-option-value-offset)
22942 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
22943 Mark unused parameters.
22944 (dcl-save-local-variable): Remove unused variable `val'.
22945 (mode): Declare.
22946
22947 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
22948 Mark unused parameters.
22949 (delphi-ignore-changes): Move before first use.
22950 (delphi-charset-token-at): Remove unused variable `start'.
22951 (delphi-else-start): Remove unused variable `if-count'.
22952 (delphi-comment-block-start, delphi-comment-block-end):
22953 Remove unused variable `kind'.
22954 (delphi-indent-line): Remove unused variable `new-point'.
22955
22956 * progmodes/ebrowse.el (ebrowse-files-list)
22957 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
22958 Mark unused parameters. Don't quote `lambda'.
22959 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
22960 Don't quote `lambda'.
22961 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
22962 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
22963 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
22964 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
22965 Use `ignore-errors'.
22966 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
22967 (ebrowse-view/find-file-and-search-pattern)
22968 (ebrowse-view/find-member-declaration/definition):
22969 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
22970 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
22971 Rename parameter PREFIX-ARG to PREFIX.
22972 (ebrowse-tags-read-name): Remove unused variables `start' and
22973 `member-info'.
22974 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
22975 to `tags-file'.
22976
22977 * progmodes/etags.el (local-find-tag-hook): Declare.
22978 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
22979 Mark unused parameters.
22980
22981 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
22982 (executable-interpret): Mark unused parameter.
22983
22984 * progmodes/flymake.el (flymake-process-sentinel)
22985 (flymake-after-change-function)
22986 (flymake-create-temp-with-folder-structure)
22987 (flymake-get-include-dirs-dot): Mark unused parameters.
22988 (flymake-safe-delete-directory): Remove unused variable `err'.
22989
22990 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
22991 (speedbar-timer-fn, speedbar-line-text)
22992 (speedbar-change-expand-button-char, speedbar-delete-subblock)
22993 (speedbar-center-buffer-smartly): Declare functions.
22994 (gdb-find-watch-expression): Remove unused variable `array'.
22995 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
22996 (gdb-starting): Mark unused parameters.
22997 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
22998 (gdb-table-string): Remove unused variable `res'.
22999 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
23000 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
23001 (gdb-display-buffer): Remove unused variable `cur-size'.
23002
23003 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
23004 allow lexical-binding compilation.
23005 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
23006 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
23007 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
23008 Mark unused parameters.
23009 (gud-gdb-marker-filter): Remove unused variable `match'.
23010 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
23011 lambda expressions and funcall them, instead of using `fset'.
23012
23013 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
23014 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
23015
23016 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
23017 variable `header-beg'; use `let'.
23018
23019 * progmodes/icon.el (indent-icon-exp): Remove unused variables
23020 `restart', `last-sexp' and `at-do'.
23021
23022 * progmodes/js.el (js--debug): Mark unused parameter.
23023 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
23024 (js--splice-into-items): Remove unused variable `item'.
23025 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
23026
23027 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
23028 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
23029 (makefile-complete): Remove unused variable `try'.
23030 (makefile-fill-paragraph, makefile-match-function-end):
23031 Mark unused parameters.
23032
23033 * progmodes/octave-inf.el (inferior-octave-complete):
23034 Remove unused variable `proc'.
23035 (inferior-octave-output-digest): Mark unused parameter.
23036
23037 * progmodes/perl-mode.el (perl-calculate-indent):
23038 Remove unused variable `err'.
23039
23040 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
23041 (prolog-indent-line): Mark unused parameters.
23042 (prolog-indent-line): Remove unused variable `beg'.
23043
23044 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
23045 (reporter-dont-compact-list): Declare.
23046
23047 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
23048 Remove unused variable `char'.
23049 (sh-debug): Mark unused parameter.
23050 (sh-get-indent-info): Remove unused variable `start'.
23051 (sh-calculate-indent): Remove unused variable `var'.
23052
23053 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
23054 (simula-electric-keyword): Remove unused variable `null'.
23055 (simula-search-backward, simula-search-forward): Remove unused
23056 variables `begin' and `end'.
23057
23058 * progmodes/vera-mode.el (vera-guess-basic-syntax):
23059 Remove unused variable `pos'.
23060 (vera-electric-tab, vera-comment-uncomment-region):
23061 Mark unused parameters.
23062 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
23063
7ede3b65
CY
230642011-04-22 Chong Yidong <cyd@stupidchicken.com>
23065
23066 * emacs-lisp/package.el (package--builtins, package-alist)
23067 (package-load-descriptor, package-built-in-p, package-activate)
23068 (define-package, package-installed-p)
23069 (package-compute-transaction, package-buffer-info)
23070 (package--push): Doc fix. Distinguish more clearly between
23071 version strings and version lists.
23072
121656e9
JB
230732011-04-21 Juanma Barranquero <lekktu@gmail.com>
23074
23075 Lexical-binding cleanup.
23076
23077 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
23078 (5x5-make-mutate-best):
23079 * play/fortune.el (fortune-in-buffer):
23080 * play/gomoku.el (gomoku-init-display):
23081 * play/solitaire.el (solitaire, solitaire-do-check):
23082 * play/tetris.el (tetris-default-update-speed-function):
23083 Mark unused parameters.
23084
23085 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
23086 (bubbles--shift): Remove unused variable `char-org'.
23087 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
23088 (bubbles--show-images): Remove unused variable `char'.
23089
23090 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
23091 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
23092 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
23093 (decipher-analyze-buffer): Use ?\s.
23094 (decipher-make-checkpoint): Remove unused variable `mapping'.
23095
23096 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
23097
23098 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
23099 Remove unused variable `result'; use `let'.
23100
23101 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
23102 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
23103 (gametree-children-shown-p, gametree-compute-reduced-score):
23104 Use `ignore-errors'.
23105
23106 * play/handwrite.el (ps-lpr-switches): Declare.
23107 (handwrite): Remove unused variables `pmin' and `lastp'.
23108
23109 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
23110
23111 * play/landmark.el (landmark-init-display)
23112 (landmark-update-naught-weights): Mark unused parameters.
23113 (landmark-y): Remove unused variable `noise'. Simplify.
23114 (landmark-human-plays): Remove unused variable `score'.
23115
23116 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
23117 (mpuz-try-proposal): Remove unused variable `game'.
23118
23119 * play/zone.el (life-patterns): Declare.
23120
80f499c7
JB
231212011-04-20 Juanma Barranquero <lekktu@gmail.com>
23122
23123 * vc/vc.el (ediff-vc-internal): Declare function.
23124
024ff170
SM
231252011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
23126
c0a193ea
SM
23127 * shell.el: Use lexical-binding and std completion UI.
23128 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
23129 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
23130 comint-preoutput-filter-functions rather than on
23131 comint-output-filter-functions.
23132 (shell-command-completion, shell--command-completion-data)
23133 (shell-filename-completion, shell-environment-variable-completion)
23134 (shell-c-a-p-replace-by-expanded-directory): New functions.
23135 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
23136 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
23137 (shell-dynamic-complete-environment-variable): Use them.
23138 (shell-dynamic-complete-as-environment-variable)
23139 (shell-dynamic-complete-as-command): Remove.
23140 (shell-match-partial-variable): Match past point.
23141 * comint.el: Clean up use of completion-at-point-functions.
23142 (comint-completion-at-point): New function.
23143 (comint-mode): Use it completion-at-point-functions.
23144 (comint-dynamic-complete): Make it obsolete.
23145 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
23146 (comint-c-a-p-replace-by-expanded-history): New function.
23147 (comint-dynamic-complete-functions)
23148 (comint-replace-by-expanded-history): Use it.
23149 * minibuffer.el (completion-table-with-terminator): Allow dynamic
23150 termination strings. Try harder to avoid second try-completion.
23151 (completion-in-region-mode-map): Disable bindings that don't work yet.
23152
2dbaa080
SM
23153 * comint.el: Use lexical-binding. Require CL.
23154 (comint-dynamic-complete-functions): Use comint-filename-completion.
23155 (comint-completion-addsuffix): Tweak custom type.
23156 (comint-filename-completion, comint--common-suffix)
23157 (comint--common-quoted-suffix, comint--table-subvert)
23158 (comint--complete-file-name-data): New functions.
23159 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
23160 (comint-dynamic-list-filename-completions): Use them.
23161 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 23162
2dbaa080
SM
23163 * minibuffer.el (completion-in-region-mode):
23164 Keep completion-in-region-mode--predicate global.
23165 (completion-in-region--postch):
23166 Assume completion-in-region-mode--predicate is not null.
23167
c79a6f38
SM
23168 * progmodes/flymake.el (flymake-start-syntax-check-process):
23169 Obey `dir'. Simplify.
23170
024ff170
SM
23171 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
23172 we're in VC after all.
23173
1c6c854e
CS
231742011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
23175
23176 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 23177 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
23178 (vc-version-diff): Use vc-diff-build-argument-list-internal.
23179
bed7f140
SM
231802011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
23181
332e62ab
SM
23182 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
23183 add sanity check.
23184
bed7f140
SM
23185 * obsolete/erc-hecomplete.el: Make obsolete.
23186 * obsolete/: Standardize obsolescence info in the header.
23187
f195c582
GM
231882011-04-20 Glenn Morris <rgm@gnu.org>
23189
23190 * calendar/solar.el (solar-horizontal-coordinates):
23191 Use the longitude argument rather than `calendar-longitude'.
23192 (solar-date-next-longitude): Remove unused locals.
23193
cb79b8c0
VJL
231942011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
23195
23196 * whitespace.el: New version 13.2.1.
23197
231982011-04-20 felix <EmacsWiki> (tiny change)
23199
d8e4b68b 23200 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
23201 switching between major modes on a file.
23202
602ea69d
SM
232032011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
23204
23205 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
23206 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
23207 multi-line comments as well.
23208
06b60517
JB
232092011-04-19 Juanma Barranquero <lekktu@gmail.com>
23210
23211 Lexical-binding cleanup.
23212
23213 * arc-mode.el (archive-mode-revert):
23214 * cmuscheme.el (scheme-interactively-start-process):
23215 * custom.el (custom-initialize-delay):
23216 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
23217 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
23218 * emacs-lock.el (emacs-lock-clear-sentinel):
23219 * ezimage.el (defezimage):
23220 * follow.el (follow-avoid-tail-recenter):
23221 * fringe.el (set-fringe-mode-1):
23222 * generic-x.el (bat-generic-mode-compile):
23223 * help-mode.el (help-info-variable, help-do-xref)
23224 (help-mode-revert-buffer):
23225 * help.el (view-emacs-todo):
23226 * iswitchb.el (iswitchb-completion-help):
23227 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
23228 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
23229 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
23230 * locate.el (locate-update):
23231 * longlines.el (longlines-encode-region)
23232 (longlines-after-change-function):
23233 * outline.el (outline-isearch-open-invisible):
23234 * ps-def.el (declare-function, charset-dimension, char-width)
23235 (encode-char):
23236 * ps-mule.el (ps-mule-plot-string):
23237 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
23238 (recentf-edit-list-select, recentf-edit-list-validate)
23239 (recentf-open-files-action):
23240 * rect.el (delete-whitespace-rectangle-line)
23241 (rectangle-number-line-callback):
23242 * register.el (window-configuration-to-register)
23243 (frame-configuration-to-register):
23244 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
23245 * select.el (xselect-convert-to-string, xselect-convert-to-length)
23246 (xselect-convert-to-targets, xselect-convert-to-delete)
23247 (xselect-convert-to-filename, xselect-convert-to-charpos)
23248 (xselect-convert-to-lineno, xselect-convert-to-colno)
23249 (xselect-convert-to-os, xselect-convert-to-host)
23250 (xselect-convert-to-user, xselect-convert-to-class)
23251 (xselect-convert-to-name, xselect-convert-to-integer)
23252 (xselect-convert-to-atom, xselect-convert-to-identity):
23253 * subr.el (declare, ignore, process-kill-without-query)
23254 (text-clone-maintain):
23255 * terminal.el (te-get-char, te-tic-sentinel):
23256 * tool-bar.el (tool-bar-make-keymap):
23257 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
23258 * type-break.el (type-break-mode, type-break-noninteractive-query):
23259 * view.el (View-back-to-mark):
23260 * wid-browse.el (widget-browse-action, widget-browse-widget)
23261 (widget-browse-widgets, widget-browse-sexp):
23262 * widget.el (define-widget-keywords):
23263 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
23264 Mark unused parameters.
23265
23266 * align.el (align-adjust-col-for-rule): Mark unused parameter.
23267 (align-areas): Remove unused variable `look'.
23268 (align-region): Remove unused variables `real-end' and `pos-list'.
23269
23270 * apropos.el (apropos-score-doc): Remove unused variable `i'.
23271
23272 * bindings.el (mode-line-modified, mode-line-remote):
23273 Mark unused parameters.
23274 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
23275
23276 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
23277 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
23278
23279 * comint.el (comint-history-isearch-pop-state)
23280 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
23281 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
23282 (comint-substitute-in-file-name): Doc fix.
23283
23284 * completion.el (cmpl-statistics-block): Mark unused parameter.
23285 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
23286 (save-completions-to-file, load-completions-from-file):
23287 Remove unused local variable `e'.
23288
23289 * composite.el (compose-chars): Remove unused variable `len'.
23290 (lgstring-insert-glyph): Remove unused variable `g'.
23291 (compose-glyph-string): Remove unused variables `ascent',
23292 `descent', `lbearing' and `rbearing'.
23293 (compose-glyph-string-relative): Remove unused variables
23294 `lbearing', `rbearing' and `wadjust'.
23295 (compose-gstring-for-graphic): Remove unused variables `header',
23296 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
23297 (compose-gstring-for-terminal): Remove unused variables `header'
23298 and `nchars'. Use `let', not `let*'.
23299
23300 * cus-edit.el (Custom-set, Custom-save, custom-reset)
23301 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
23302 (Custom-buffer-done, custom-buffer-create-internal)
23303 (custom-browse-visibility-action, custom-browse-group-tag-action)
23304 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
23305 (widget-magic-mouse-down-action, custom-toggle-parent)
23306 (custom-add-parent-links, custom-toggle-hide-variable)
23307 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
23308 (custom-toggle-hide-face, face, hook, custom-group-link-action)
23309 (custom-face-menu-create, custom-variable-menu-create, get)
23310 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
23311 (custom-reset-standard-save-and-update): Remove unused variable `value'.
23312 (customize-apropos): Remove unused variable `tests'.
23313 (custom-group-value-create): Remove unused variable `hidden-p'.
23314 (sort-fold-case): Declare.
23315
23316 * cus-theme.el (custom-reset-standard-faces-list)
23317 (custom-reset-standard-variables-list): Declare.
23318 (customize-create-theme, custom-theme-revert, custom-theme-write)
23319 (custom-theme-choose-mode, customize-themes, custom-theme-save):
23320 Mark unused parameters.
23321
23322 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
23323
23324 * delim-col.el (delimit-columns-max): Move defvar before first use.
23325
23326 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 23327 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
23328
23329 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
23330 (auto-insert): Declare.
23331 (desktop-restore-file-buffer): Rename desktop-* parameters;
23332 mark unused ones.
23333 (desktop-create-buffer): Rename desktop-* parameters and bind them.
23334 (desktop-buffer): Rename desktop-* parameters.
23335
23336 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
23337 (dframe-reposition-frame-xemacs, dframe-help-echo)
23338 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
23339 Mark unused parameters.
23340
23341 * dired-aux.el (backup-extract-version-start, overwrite-query)
23342 (overwrite-backup-query, rename-regexp-query)
23343 (rename-non-directory-query): Declare.
23344 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
23345 (dired-add-entry): Remove unused variable `orig-file-name'.
23346 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
23347 Use parameter PRESERVE-TIME instead of accessing dynamic variable
23348 `dired-copy-preserve-time' directly.
23349 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
23350 (dired-insert-subdir-newpos): Rename unused variable `pos'.
23351
23352 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
23353 (dired-virtual-revert, dired-make-relative-symlink):
23354 Mark unused parameters.
23355 (manual-program): Declare.
23356 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
23357 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
23358 wrapped in `with-no-warnings' to avoid replacing one warning by another.
23359
23360 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
23361
23362 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
23363
23364 * echistory.el (electric-history-in-progress, Helper-return-blurb):
23365 Declare.
23366
23367 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
23368
23369 * electric.el (Electric-command-loop): Rename parameter
23370 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
23371
23372 * expand.el (expand-in-literal): Remove unused variable `here'.
23373
23374 * facemenu.el (facemenu-add-new-color):
23375 Remove unused variable `docstring'.
23376
23377 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
23378 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
23379 (face-attr-construct): Mark unused parameter. Doc fix.
23380 (read-color): Remove unused variable `hex-string'.
23381
23382 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
23383 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
23384 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
23385 (display-buffer-other-frame): Remove unused variable `old-window'.
23386 (kill-buffer-hook): Declare.
23387 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
23388 Mark unused parameters.
23389 (after-find-file): Pass 1 to `auto-save-mode', not t.
23390
23391 * files-x.el (auto-insert): Declare.
23392 (modify-file-local-variable-prop-line): Remove unused variable `val'.
23393
23394 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 23395 variable `buf'. Mark unused parameter.
06b60517
JB
23396 (find-lisp-insert-directory): Mark unused parameter.
23397
23398 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
23399 (format-encode-region): Remove unused variables `cur-buf' and `result'.
23400 (format-common-tail): Remove, unused.
23401 (format-deannotate-region): Remove unused variable `loc'.
23402 (format-annotate-region): Remove unused variable `p'.
23403 (format-annotate-single-property-change): Remove unused variables
23404 `default' and `tail'.
23405
23406 * forms.el (read-file-filter): Declare.
23407 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
23408
23409 * frame.el (frame-creation-function-alist): Mark unused parameter.
23410 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
23411
23412 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
23413 Remove unused parameters.
23414 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
23415 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
23416
23417 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
23418 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
23419 (hfy-prepare-tag-map): Mark unused parameters.
23420 (htmlfontify-buffer): Use `called-interactively-p'.
23421
23422 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
23423 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
23424 (ibuffer-do-occur): Mark unused parameters.
23425 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
23426 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
23427
23428 * ibuffer.el: Don't quote `lambda'.
23429 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
23430 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
23431 Mark unused parameters.
23432
23433 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
23434 (ido-completing-read): Mark unused parameters.
23435 (ido-copy-current-word): Mark unused parameters;
23436 remove unused variable `name'.
23437 (ido-sort-merged-list): Remove unused parameter `dirs'.
23438
23439 * ielm.el (ielm-input-sender): Mark unused parameter.
23440 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
23441 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
23442 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
23443 `ielm-string' as a dynamic variable accessible from the IELM prompt.
23444 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
23445
23446 * image-dired.el (image-dired-display-thumbs): Remove unused
23447 variables `curr-file' and `count'.
23448 (image-dired-remove-tag): Remove unused variable `start'.
23449 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
23450 variable `curr-file'
23451 (image-dired-rotate-original): Remove unused variable `temp-file'.
23452 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
23453 Remove unused variable `file'.
23454 (image-dired-gallery-generate): Remove unused variable `curr'.
23455 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
23456
23457 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
23458
23459 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
23460
23461 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
23462
23463 * isearch.el (minibuffer-history-symbol): Declare.
23464 (isearch-edit-string): Remove unused variable `err'.
23465 (isearch-message-prefix, isearch-message-suffix):
23466 Mark unused parameters.
23467
23468 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
23469
23470 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
23471
23472 * makesum.el (double-column): Remove unused variable `cnt'.
23473
23474 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
23475 (ido-ignore-item-temp-list): Declare.
23476
23477 * mouse-drag.el (mouse-drag-throw): Remove unused variables
23478 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
23479 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
23480 (mouse-drag-drag): Remove unused variables `mouse-delta' and
23481 `mouse-col-delta'.
23482
23483 * mouse-sel.el (mouse-extend-internal):
23484 Remove unused variable `orig-window-frame'.
23485
23486 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
23487 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
23488 Move declarations before first use.
23489 (pcomplete-opt): Mark unused parameters; doc fix.
23490
23491 * proced.el (proced-revert): Mark unused parameter.
23492 (proced-send-signal): Remove unused variable `err'.
23493
23494 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
23495 Rename parameter PREFIX-ARG to ARG.
23496 (ps-basic-plot-string, ps-basic-plot-whitespace):
23497 Mark unused parameters.
23498
23499 * replace.el (replace-count): Define.
23500 (occur-revert-function): Mark unused parameters.
23501 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
23502 (isearch-case-fold-search, isearch-string): Declare.
23503 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
23504 bind `case-fold-search'. Remove unused variables `beg' and `end',
23505 and simplify.
23506 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
23507 COUNT and bind `replace-count'.
23508 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
23509 to COUNT.
23510
23511 * savehist.el (print-readably, print-string-length): Declare.
23512
23513 * shadowfile.el (shadow-expand-cluster-in-file-name):
23514 Remove unused variable `cluster'.
23515 (shadow-copy-file): Remove unused variable `i'.
23516 (shadow-noquery, shadow-clusters, shadow-site-cluster)
23517 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
23518 (shadow-define-literal-group, shadow-define-regexp-group)
23519 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
23520
23521 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
23522 (shell): Use `called-interactively-p'.
23523 (shell-directory-tracker): Remove unused variable `chdir-failure'.
23524
23525 * simple.el (compilation-context-lines, comint-file-name-quote-list)
23526 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
23527 (delete-backward-char): Remove unused variable `ocol'.
23528 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
23529 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
23530 (event-apply-hyper-modifier, event-apply-shift-modifier)
23531 (event-apply-control-modifier, event-apply-meta-modifier):
23532 Mark unused parameters.
23533 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
23534 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
23535
23536 * speedbar.el (speedbar-ignored-directory-expressions)
23537 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
23538 (speedbar-find-file, speedbar-dir-follow)
23539 (speedbar-directory-buttons-follow, speedbar-tag-find)
23540 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
23541 (speedbar-buffers-line-directory, speedbar-buffer-click):
23542 Mark unused parameters.
23543 (speedbar-tag-file): Remove unused variable `mode'.
23544 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
23545
23546 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
23547
23548 * talk.el (talk): Remove unused variable `display'.
23549
23550 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
23551 (tar-write-region-annotate): Mark unused parameter.
23552
23553 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
23554 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
23555 Declare them, wrapped in `with-no-warnings' to avoid replacing one
23556 warning by another.
23557
23558 * time-stamp.el (time-stamp-string-preprocess):
23559 Remove unused variable `require-padding'.
23560
23561 * tree-widget.el (widget-glyph-enable): Declare.
23562 (tree-widget-action): Mark unused parameter.
23563
23564 * w32-fns.el (x-get-selection): Mark unused parameter.
23565 (autoload-make-program, generated-autoload-file): Declare.
23566
23567 * wdired.el (wdired-revert): Mark unused parameters.
23568 (wdired-xcase-word): Remove unused variable `err'.
23569
23570 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
23571 (whitespace-help-scroll): Remove unused variable `data-help'.
23572
23573 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
23574 (widget-image-insert, widget-after-change, default)
23575 (widget-default-format-handler, widget-default-notify)
23576 (widget-default-prompt-value, widget-info-link-action)
23577 (widget-url-link-action, widget-function-link-action)
23578 (widget-variable-link-action, widget-file-link-action)
23579 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
23580 (widget-field-prompt-internal, widget-field-action, widget-field-match)
23581 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
23582 (widget-insert-button-action, widget-delete-button-action, visibility)
23583 (widget-documentation-link-action, widget-documentation-string-action)
23584 (widget-const-prompt-value, widget-regexp-match, symbol)
23585 (widget-coding-system-prompt-value)
23586 (widget-key-sequence-value-to-external, sexp)
23587 (widget-sexp-value-to-internal, character, vector, cons)
23588 (widget-choice-prompt-value, widget-boolean-prompt-value)
23589 (widget-color--choose-action): Mark unused parameters.
23590 (widget-item-match-inline, widget-choice-match-inline)
23591 (widget-checklist-match, widget-checklist-match-inline)
23592 (widget-group-match): Rename parameter VALUES to VALS.
23593 (widget-field-value-set): Remove unused variable `size'.
23594 (widget-color-action): Remove unused variables `value' and `start'.
23595
23596 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 23597 variable `dir'. Doc fix.
06b60517
JB
23598 (windmove-find-other-window): Don't pass it.
23599
23600 * window.el (count-windows): Mark unused parameter.
23601 (bw-adjust-window): Remove unused variable `err'.
23602
23603 * woman.el (woman-file-name): Remove unused variable `default'.
23604 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
23605 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
23606 (global-font-lock-mode): Declare.
23607 (woman-decode-region): Mark unused parameter.
23608 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
23609
23610 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
23611 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
23612 (x-dnd-handle-moz-url): Remove unused variable `title'.
23613 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
23614
23615 * xml.el (xml-parse-tag, xml-parse-attlist):
23616 Remove unused variable `pos'.
23617
bc4f7f3d
GM
236182011-04-19 Glenn Morris <rgm@gnu.org>
23619
23620 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
23621 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
23622 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
23623 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
23624 * calendar/cal-html.el (cal-html-insert-minical):
23625 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
23626 (calendar-mark-date-pattern):
23627 Prefix "unused" locals.
23628
23629 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
23630 optional argument `style'.
23631
23632 * calendar/appt.el (appt-make-list):
23633 * calendar/cal-china.el (calendar-chinese-date-string):
23634 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
23635 (diary-hebrew-yahrzeit):
23636 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
23637 * calendar/calendar.el (calendar-generate-window):
23638 * calendar/time-date.el (time-to-days):
23639 Remove unused local variables.
23640
16a43933
CY
236412011-04-18 Chong Yidong <cyd@stupidchicken.com>
23642
23643 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
23644 glyphless-char-display table.
23645 (tabulated-list-glyphless-char-display): New var.
23646
7eed1860
SS
236472011-04-18 Sam Steingold <sds@gnu.org>
23648
23649 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
23650 to acknowledgments.
23651
4d2d1ccd
GM
236522011-04-17 Glenn Morris <rgm@gnu.org>
23653
23654 * calendar/diary-lib.el (diary-sexp-entry):
23655 * calendar/holidays.el (holiday-sexp):
23656 Set debug-on-error rather than the removed stack-trace-on-error.
23657
239da61d
GM
236582011-04-16 Glenn Morris <rgm@gnu.org>
23659
23660 * progmodes/f90.el: Use lexical-binding.
23661 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
23662
8b05752a
SM
236632011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
23664
daca8ba5
SM
23665 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
23666 (mail-mode): Setup mailalias completion here instead.
23667 * mail/mailalias.el: Use lexical-binding.
23668 (pattern, mailalias-done): Declare dynamic.
23669 (mail-completion-at-point-function): New function, from mail-complete.
23670 (mail-complete): Use it.
23671 (mail-completion-expand): New function.
23672 (mail-get-names): Use it.
23673 (mail-directory, mail-directory-process, mail-directory-stream):
23674 Don't use `pattern' for lexically bound arg.
23675
6f542485
SM
23676 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
23677
037e7c3f
SM
23678 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
23679 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
23680 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
23681
8b05752a
SM
23682 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
23683 (byte-save-window-excursion, byte-temp-output-buffer-setup)
23684 (byte-interactive-p): Define them again, for use when inlining
23685 old code.
23686
49093f60
JB
236872011-04-15 Juanma Barranquero <lekktu@gmail.com>
23688
23689 * loadup.el: Use `string-to-number', not `string-to-int'.
23690
b5b8e7de
SM
236912011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
23692
23693 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
23694 gud-gdb-complete-command.
23695 (gud-gdb-completions): New function, from gud-gdb-complete-command.
23696 (gud-gdb-completion-at-point): New function.
23697 (gud-gdb-completions): Remove.
23698
f42efeb5
MA
236992011-04-14 Michael Albinus <michael.albinus@gmx.de>
23700
49093f60
JB
23701 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
23702 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
23703 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
23704 whether `executable-find' is bound.
f42efeb5
MA
23705
23706 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
23707
e240cc21
SM
237082011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
23709
23710 * minibuffer.el (completion-in-region-mode-predicate)
23711 (completion-in-region-mode--predicate): New vars.
23712 (completion-in-region, completion-in-region--postch)
23713 (completion-in-region-mode): Use them.
23714 (completion--capf-wrapper): Also return the hook function.
23715 (completion-at-point, completion-help-at-point):
23716 Adjust and provide a predicate.
c2bd2ab0
SM
23717
23718 Preserve arg names for advice of subr and lexical functions (bug#8457).
23719 * help-fns.el (help-function-arglist): Consolidate the subr and
23720 new-byte-code cases. Add argument `preserve-names' to extract names
23721 from the docstring when needed.
23722 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
23723 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
23724 (ad-arglist): Use help-function-arglist's new arg.
23725 (ad-definition-type): Use cond.
23726
c183f693
JB
237272011-04-13 Juanma Barranquero <lekktu@gmail.com>
23728
06641a47
JB
23729 * autorevert.el (auto-revert-handler):
23730 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
23731 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
23732 Don't quote lambda.
23733
c183f693
JB
23734 * image-mode.el (image-transform-set-scale):
23735 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
23736
1e3b6001
G
237372011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
23738
23739 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 23740 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
23741 Upgrades via gnutls-cli are too slow to be done opportunistically.
23742
2d6af8dd
JB
237432011-04-12 Juanma Barranquero <lekktu@gmail.com>
23744
23745 * dframe.el (dframe-current-frame): Remove spurious quote.
23746
c0749a51
GM
237472011-04-12 Glenn Morris <rgm@gnu.org>
23748
088d0d61
GM
23749 * calendar/cal-tex.el (cal-tex-end-document):
23750 Try to automatically use latin1 input if needed.
23751
c0749a51
GM
23752 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
23753 Don't try to cons a mark onto an empty element.
23754
5c90fde0
LL
237552011-04-11 Leo Liu <sdl.web@gmail.com>
23756
23757 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
23758 buffers.
23759 (ido-kill-buffer-at-head): Support killing virtual buffers.
23760
369e974d
CY
237612011-04-10 Chong Yidong <cyd@stupidchicken.com>
23762
23763 * minibuffer.el (completion-show-inline-help): New var.
23764 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
23765 (minibuffer-force-complete, minibuffer-complete-word):
23766 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
23767
23768 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
23769 to avoid interference from inline help (Bug#5849).
23770
37f1c930
LL
237712011-04-10 Leo Liu <sdl.web@gmail.com>
23772
099c39a4
JB
23773 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
23774 Fix typo.
37f1c930 23775
a32d4040
CY
237762011-04-09 Chong Yidong <cyd@stupidchicken.com>
23777
23778 * image-mode.el (image-toggle-display-image): Signal an error if
23779 not in Image mode.
23780 (image-transform-mode, image-transform-resize)
23781 (image-transform-set-rotation): Doc fix.
daca8ba5 23782 (image-transform-set-resize): Delete.
a32d4040
CY
23783 (image-transform-set-scale, image-transform-fit-to-height)
23784 (image-transform-fit-to-width): Handle image-toggle-display-image
23785 and image-transform-resize directly.
23786
099c39a4 237872011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
23788
23789 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
23790 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
23791 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
23792 (doc-view-mode-map): Add bindings for the new functions.
23793
099c39a4 237942011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 23795
4d61f28d 23796 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
23797 Fix typo in docstring.
23798
3726838a
EZ
237992011-04-08 Eli Zaretskii <eliz@gnu.org>
23800
04f33f1e
EZ
23801 * files.el (file-size-human-readable): Produce one digit after
23802 decimal, like "ls -lh" does.
23803
23804 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
23805 the file size representation.
23806
3726838a
EZ
23807 * simple.el (list-processes): If async subprocesses are not
23808 available, error out with a clear error message.
23809
cbb59342
CY
238102011-04-08 Chong Yidong <cyd@stupidchicken.com>
23811
23812 * help.el (help-form-show): New function, to be called from C.
23813 Put help-form output in a buffer named differently than *Help*.
23814
e3971c44
EZ
238152011-04-08 Eli Zaretskii <eliz@gnu.org>
23816
23817 * files.el (file-size-human-readable): New function.
23818
23819 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
23820 computing the representation inline. Don't require `cl'.
23821
12544bbe
GM
238222011-04-08 Glenn Morris <rgm@gnu.org>
23823
a1de6c6a
GM
23824 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
23825
3c4671f4
GM
23826 * net/browse-url.el (browse-url-firefox):
23827 Test system-type, not system-configuration.
23828
b605679c
GM
23829 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
23830 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
23831 Use log-edit-empty-buffer-p. (Bug#7598)
23832
56442f0c
GM
23833 * net/rlogin.el (rlogin-process-connection-type): Simplify.
23834 (rlogin-mode-map): Initialize in the defvar.
23835 (rlogin): Use ignore-errors.
23836
12544bbe
GM
23837 * replace.el (occur-mode-map): Some fixes for menu items.
23838
eb237b0f
AH
238392011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
23840
23841 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
23842
7d668f2c
CY
238432011-04-06 Chong Yidong <cyd@stupidchicken.com>
23844
e67a13ab
CY
23845 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
23846 issuing unused warnings.
23847
23848 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
23849 macro directly.
23850
7d668f2c
CY
23851 * simple.el: Lisp reimplement of list-processes. Based on an
23852 earlier reimplementation by Leo Liu, but using tabulated-list.el.
23853 (process-menu-mode): New major mode.
23854 (list-processes--refresh, list-processes):
23855 (process-menu-visit-buffer): New functions.
23856
23857 * files.el (save-buffers-kill-emacs): Don't assume any return
23858 value of list-processes, which is undocumented anyway.
23859
a83ec3c9
CY
238602011-04-06 Chong Yidong <cyd@stupidchicken.com>
23861
23862 * emacs-lisp/tabulated-list.el: New file.
23863
e91a96fe
CY
23864 * emacs-lisp/package.el: Use Tabulated List mode.
23865 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
23866 (package-menu-mode): Derive from tabulated-list-mode. Set up the
23867 table format using Tabulated List mode variables.
23868 (package--push): New macro, replacing package-list-maybe-add.
23869 (package-menu--generate): Use package--push. Renamed from
23870 package--generate-package-list.
23871 (package-menu-refresh, list-packages): Use it.
daca8ba5 23872 (package-menu--print-info): Rename from package-print-package.
e91a96fe 23873 Return insertion data instead of inserting it directly.
099c39a4
JB
23874 (package-menu-describe-package, package-menu-execute):
23875 Use tabulated-list-get-id.
e91a96fe
CY
23876 (package-menu-mark-delete, package-menu-mark-install)
23877 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
23878 (package-menu-mark-obsolete-for-deletion):
23879 Use tabulated-list-put-tag.
e91a96fe
CY
23880 (package--list-packages, package-menu-revert)
23881 (package-menu-get-package, package-menu-get-version)
23882 (package-menu-sort-by-column): Functions deleted.
23883 (package-menu-package-list, package-menu-sort-key): Vars deleted.
23884 (package-menu--status-predicate, package-menu--version-predicate)
23885 (package-menu--name-predicate)
23886 (package-menu--description-predicate): Handle arguments in the
23887 Tabulated List format.
23888 (package-list-packages-no-fetch): Call list-packages.
23889
3e214b50
JB
238902011-04-06 Juanma Barranquero <lekktu@gmail.com>
23891
23892 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 23893 (after-find-file): Don't bind it.
3e214b50
JB
23894 (revert-buffer-in-progress-p): New variable.
23895 (revert-buffer): Bind it.
23896 Pass nil for `after-find-file-from-revert-buffer'.
23897
23898 * saveplace.el (save-place-find-file-hook): Use new variable
23899 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
23900
3f0f1700
GM
239012011-04-06 Glenn Morris <rgm@gnu.org>
23902
c0274801
GM
23903 * Makefile.in (AUTOGEN_VCS): New variable.
23904 (autoloads): Use $AUTOGEN_VCS.
23905
3f0f1700
GM
23906 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
23907 * calendar/calendar.el (calendar-mode-map):
23908 Check for toolkit scroll bars. (Bug#8305)
23909
41ea9e48
CY
239102011-04-05 Chong Yidong <cyd@stupidchicken.com>
23911
23912 * minibuffer.el (completion-in-region--postch)
23913 (completion-in-region-mode): Remove unnecessary messages.
23914
6194c800
JB
239152011-04-05 Juanma Barranquero <lekktu@gmail.com>
23916
33256f14
JB
23917 * font-lock.el (font-lock-refresh-defaults):
23918 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
23919 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
23920
6194c800
JB
23921 * info.el (Info-directory-list, Info-read-node-name-2)
23922 (Info-split-parameter-string): Doc fixes.
23923 (Info-virtual-nodes): Reflow docstring.
23924 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
23925 (Info-apropos-toc-nodes, info-finder, Info-get-token)
23926 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
23927 Fix typos in docstrings.
23928 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
23929 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
23930 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
23931 (Info-restore-desktop-buffer): Mark unused parameters.
23932 (Info-directory-find-file, Info-directory-find-node)
23933 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
23934 (Info-virtual-index-find-node, Info-apropos-find-file)
23935 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 23936 Mark unused parameters; fix typos in docstrings.
6194c800
JB
23937 (Info-virtual-index): Remove unused local variable `nodename'.
23938
b87a8200 239392011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 23940
b87a8200
DD
23941 * net/rcirc.el: Update my e-mail address.
23942 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 23943
3b2ff876
CY
239442011-04-05 Chong Yidong <cyd@stupidchicken.com>
23945
23946 * startup.el (command-line): Save the cursor's theme-face
23947 directly, instead of using face-override-spec.
23948
23949 * custom.el (load-theme): Minor optimization in assigning faces.
23950
8d17e7ca
JB
239512011-04-04 Juanma Barranquero <lekktu@gmail.com>
23952
23953 * help-fns.el (describe-variable): Complete all variables having
23954 documentation, including keywords.
23955 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
23956
2fbc1934
JB
239572011-04-04 Juanma Barranquero <lekktu@gmail.com>
23958
23959 Convert to lexical-binding.
23960
23961 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
23962 (bs--get-marked-string, bs--get-modified-string)
23963 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
23964 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
23965 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
23966
23967 * ehelp.el (electric-help-execute-extended)
23968 (electric-help-ctrl-x-prefix):
23969 * hexl.el (hexl-revert-buffer-function):
23970 * linum.el (linum-after-change, linum-after-scroll):
23971 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
23972
23973 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
23974
74f50695
DU
239752011-04-04 Daiki Ueno <ueno@unixuser.org>
23976
23977 * epa-dired.el:
23978 * epa-mail.el:
23979 * epa-hook.el:
23980 * epa-file.el:
23981 * epa.el:
23982 * epg.el: Use lexical binding.
23983
c11325f7
CY
239842011-04-03 Chong Yidong <cyd@stupidchicken.com>
23985
0d9e9a12
CY
23986 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
23987
c11325f7 23988 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
23989 dictionary case for flyspell-mark-duplications-exceptions.
23990 Use regexp matching for languages.
c11325f7
CY
23991 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
23992 default dictionary (Bug#7926).
23993
da91b5f2
CY
239942011-04-02 Chong Yidong <cyd@stupidchicken.com>
23995
099c39a4
JB
23996 * emacs-lisp/package.el (package--with-work-buffer):
23997 Recognize https URLs.
da91b5f2 23998
099c39a4
JB
23999 * net/network-stream.el: Move from gnus/proto-stream.el.
24000 Change prefix to network-stream throughout.
da91b5f2
CY
24001 (open-protocol-stream): Merge into open-network-stream, leaving
24002 open-protocol-stream as an alias. Handle nil BUFFER args.
24003
24004 * subr.el (open-network-stream): Move to net/network-stream.el.
24005
afa8e9f6
GM
240062011-04-02 Glenn Morris <rgm@gnu.org>
24007
1d2e369d
GM
24008 * find-dired.el (find-exec-terminator): New option.
24009 (find-ls-option): Test for -ls support.
24010 (find-ls-subdir-switches): Test for -b in find-ls-option.
24011 (find-dired, find-grep-dired): Doc fixes.
24012 (find-dired): Use find-exec-terminator.
24013
8abb7da8 24014 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
24015 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
24016 (find-name-arg): Remove purecopy.
8abb7da8 24017
f3ca7378
GM
24018 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
24019 (grep-compute-defaults): Check for `-exec COMMAND +' support.
24020 Set grep-find-use-xargs, grep-find-command, and grep-find-template
24021 accordingly. Don't add the null-device if not needed.
24022
afa8e9f6
GM
24023 * files.el (save-some-buffers): Doc fix.
24024
35eae264
EZ
240252011-04-02 Eli Zaretskii <eliz@gnu.org>
24026
24027 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
24028
26b51db5
JB
240292011-04-01 Juanma Barranquero <lekktu@gmail.com>
24030
24031 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
24032 Use `dolist' rather than `mapcar'.
24033
7200d79c
SM
240342011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
24035
03408648 24036 Add lexical binding.
7200d79c 24037
03408648
SM
24038 * subr.el (apply-partially): Use new closures rather than CL.
24039 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
24040 (dolist, dotimes): Use slightly different expansion for lexical code.
24041 (functionp): Move to C.
24042 (letrec): New macro.
24043 (with-wrapper-hook): Use it and apply-partially instead of CL.
24044 (eval-after-load): Preserve lexical-binding.
24045 (save-window-excursion, with-output-to-temp-buffer): Turn them
24046 into macros.
7200d79c 24047
03408648
SM
24048 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
24049
24050 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
24051 than the arglist.
24052 (help-add-fundoc-usage): Don't add `Not documented'.
24053 (help-function-arglist): Handle closures, subroutines, and new
24054 byte-code-functions.
24055 (help-make-usage): Remove leading underscores.
24056 (describe-function-1): Handle closures.
24057 (describe-variable): Use special-variable-p for completion.
24058
24059 * files.el (lexical-binding): Declare safe.
f488fb65 24060
03408648
SM
24061 * emacs-lisp/pcase.el: Don't use destructuring-bind.
24062 (pcase--memoize): Rename from pcase-memoize. Change weakness.
24063 (pcase): Add `let' pattern.
24064 Change memoization so it actually works.
24065 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
24066 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
24067 <let>: New case.
f488fb65 24068
03408648
SM
24069 * emacs-lisp/macroexp.el: Use lexical binding.
24070 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
24071 Don't convert ' to #' without checking that it's indeed quoting
24072 a lambda.
24073
24074 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 24075 Use eval-sexp-add-defvars.
03408648
SM
24076 (eval-sexp-add-defvars): New fun.
24077
24078 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
24079
24080 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
24081 Don't autoload.
24082 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
24083 than the internal `byte-compile-lambda'.
24084 (defmethod): Don't hide code under quotes.
24085 (eieio-defmethod): New `code' argument.
24086
24087 * emacs-lisp/eieio-comp.el: Remove.
24088
24089 * emacs-lisp/edebug.el (edebug-eval-defun)
24090 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
24091 (edebug-toggle): Avoid `eval'.
24092
24093 * emacs-lisp/disass.el (disassemble-internal): Handle new
24094 `closure' objects.
24095 (disassemble-1): Handle new byte codes.
24096
24097 * emacs-lisp/cl.el (pushnew): Silence warning.
24098
24099 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
24100 (cl-byte-compile-throw): Remove.
24101 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
24102
24103 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
24104 closures.
24105
24106 * emacs-lisp/cconv.el: New file.
24107
24108 * emacs-lisp/bytecomp.el: Use lexical binding instead of
24109 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
24110 (byte-compile-initial-macro-environment):
24111 Handle declare-function here.
24112 (byte-compile--lexical-environment): New var.
24113 (byte-stack-ref, byte-stack-set, byte-discardN)
24114 (byte-discardN-preserve-tos): New lap codes.
24115 (byte-interactive-p): Don't use any more.
24116 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
24117 New macros.
24118 (byte-compile-lapcode): Use them and handle new lap codes.
24119 (byte-compile-obsolete): Remove.
24120 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
24121 (byte-compile-arglist-warn): Check late def of inlinable funs.
24122 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
24123 since they should have been expanded by now.
24124 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
24125 (byte-compile-from-buffer): Remove unused second arg.
24126 (byte-compile-preprocess): New function.
24127 (byte-compile-toplevel-file-form): New function to distinguish
24128 file-form calls from outside from file-form calls from hunk-handlers.
24129 (byte-compile-file-form): Simplify.
24130 (byte-compile-file-form-defsubst): Remove.
24131 (byte-compile-file-form-defmumble): Simplify now that
24132 byte-compile-lambda always returns a byte-code-function.
24133 (byte-compile): Preprocess.
24134 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
24135 Remove, not used any more.
24136 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
24137 (byte-compile-make-args-desc): New funs.
24138 (byte-compile-lambda): Handle lexical functions. Always return
24139 a byte-code-function.
24140 (byte-compile-reserved-constants): New var, to make up room for
24141 closed-over variables.
24142 (byte-compile-constants-vector): Obey it.
24143 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
24144 (byte-compile-macroexpand-declare-function): New function.
24145 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
24146 byte-code-functions.
24147 (byte-compile-form): Check obsolescence here.
24148 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
24149 (byte-compile-variable-ref): Remove.
24150 (byte-compile-dynamic-variable-op): New fun.
24151 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
24152 (byte-compile-variable-set): New funs.
24153 (byte-compile-discard): Add 2 args.
24154 (byte-compile-stack-ref, byte-compile-stack-set)
24155 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
24156 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
24157 macroexpand-all instead.
24158 (byte-compile-quote-form): Remove.
24159 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
24160 (byte-compile-bind, byte-compile-unbind): New funs.
24161 (byte-compile-let): Handle let* and lexical binding.
24162 (byte-compile-let*): Remove.
24163 (byte-compile-catch, byte-compile-unwind-protect)
24164 (byte-compile-track-mouse, byte-compile-condition-case):
24165 Handle a new :fun-body form, used for lexical scoping.
24166 (byte-compile-save-window-excursion)
24167 (byte-compile-with-output-to-temp-buffer): Remove.
24168 (byte-compile-defun): Simplify.
24169 (byte-compile-stack-adjustment): New fun.
24170 (byte-compile-out): Use it.
24171 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
24172
24173 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
24174 handler any more.
24175
24176 * emacs-lisp/byte-opt.el: Use lexical binding.
24177 (byte-inline-lapcode): Remove (to bytecomp).
24178 (byte-compile-inline-expand): Pay attention to inlining to/from
24179 lexically bound code.
24180 (byte-compile-unfold-lambda): Don't handle byte-code-functions
24181 any more.
24182 (byte-optimize-form-code-walker): Don't handle save-window-excursion
24183 any more and don't call compiler-macros.
24184 (byte-compile-splice-in-already-compiled-code): Remove.
24185 (byte-code): Don't inline any more.
24186 (disassemble-offset): Receive `bytes' as argument rather than via
24187 dynamic scoping.
24188 (byte-compile-tag-number): Declare before first use.
24189 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
24190 `return' even if make-spliceable.
24191 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
24192 obsolete interactive-p.
24193 (byte-optimize-lapcode): Optimize new lap-codes.
24194 Don't trip up on new form of `byte-constant' lap code.
24195
24196 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
24197
24198 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
24199
24200 * custom.el (custom-initialize-default, custom-declare-variable):
24201 Use `defvar'.
24202
24203 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
24204 New variables.
24205 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
24206 (COMPILE_FIRST): Add macroexp and cconv.
24207 * makefile.w32-in: Mirror changes in Makefile.in.
24208
24209 * vc/cvs-status.el:
24210 * vc/diff-mode.el:
24211 * vc/log-edit.el:
24212 * vc/log-view.el:
24213 * vc/smerge-mode.el:
24214 * textmodes/bibtex-style.el:
090bd7cb 24215 * textmodes/css-mode.el:
03408648
SM
24216 * startup.el:
24217 * uniquify.el:
da91b5f2
CY
24218 * minibuffer.el:
24219 * newcomment.el:
24220 * reveal.el:
24221 * server.el:
24222 * mpc.el:
24223 * emacs-lisp/smie.el:
24224 * doc-view.el:
24225 * dired.el:
03408648
SM
24226 * abbrev.el: Use lexical binding.
24227
0f0c1f27
EZ
242282011-04-01 Eli Zaretskii <eliz@gnu.org>
24229
24230 * info.el (info-display-manual): New function.
24231
c82b2579
SM
242322011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
24233
24234 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
24235
221ddf68
TH
242362011-03-31 Tassilo Horn <tassilo@member.fsf.org>
24237
24238 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 24239 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 24240
cba6e77e
GM
242412011-03-31 Glenn Morris <rgm@gnu.org>
24242
e040639f
GM
24243 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
24244
cba6e77e
GM
24245 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
24246
6d0f1c9e
CS
242472011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
24248
24249 * progmodes/python.el (python-default-interpreter)
24250 (python-python-command-args, python-jython-command-args)
24251 (python-which-shell, python-which-args, python-which-bufname)
24252 (python-file-queue, python-comint-output-filter-function)
24253 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
24254 variables and functions.
24255
3e2d70fd
SM
242562011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
24257
24258 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
24259 (completion-in-region-mode): New minor mode.
24260 (completion-in-region): Use it.
24261 (completion-in-region--data, completion-in-region-mode-map): New vars.
24262 (completion-in-region--postch): New function.
24263 (completion--capf-misbehave-funs, completion--capf-safe-funs):
24264 New vars.
24265 (completion--capf-wrapper): New function.
24266 (completion-at-point): Use it to track well-behavedness of
24267 hook functions.
24268 (completion-help-at-point): New command.
24269
f3e4086c
JM
242702011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
24271
24272 * vc/add-log.el (add-change-log-entry): Don't use whitespace
24273 syntax class to search for whitespace on a single line
24274 (Message-ID: <4D938140.4030905@redhat.com>).
24275
eb7ffc14
LL
242762011-03-30 Leo Liu <sdl.web@gmail.com>
24277
24278 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
24279 New commands.
24280 (edit-abbrevs-map): Bind them here.
24281 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
24282
d806ab68
KM
242832011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
24284
24285 * allout.el (allout-hide-by-annotation, allout-flag-region):
24286 Reduce possibility of overlay leakage by making them volatile.
24287
24288 * allout-widgets.el (allout-widgets-tally): Define as nil so the
24289 hash is not shared between buffers. Mode initialization is
24290 responsible for giving it a useful starting value.
24291 (allout-item-span): Reduce possibility of overlay leakage by
24292 making them volatile.
24293 (allout-widgets-count-buttons-in-region): Add diagnostic function
24294 for tracking down button overlay leaks.
24295
ea622834
LL
242962011-03-29 Leo Liu <sdl.web@gmail.com>
24297
24298 * ido.el (ido-read-internal): Use the default history var
24299 minibuffer-history if no HISTORY is specified.
24300
b62f8267
G
243012011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
24302
03408648
SM
24303 * net/imap.el (imap-shell-open, imap-process-connection-type):
24304 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
24305 Kerberos, SSL, other subprocesses.
24306
947b6566
LL
243072011-03-28 Leo Liu <sdl.web@gmail.com>
24308
24309 * abbrev.el (abbrev-table-empty-p): New function.
24310 (prepare-abbrev-list-buffer): Place empty abbrev tables after
24311 nonempty ones. (Bug#5937)
24312
5ffb62aa
JD
243132011-03-27 Jan Djärv <jan.h.d@swipnet.se>
24314
24315 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
24316
7a097943
LL
243172011-03-27 Leo Liu <sdl.web@gmail.com>
24318
24319 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
24320 for foreground and background colors.
24321 (ansi-color-make-color-map): Adapt.
24322
c5b40130
LL
243232011-03-25 Leo Liu <sdl.web@gmail.com>
24324
1f48f7d2
LL
24325 * midnight.el (midnight-time-float): Remove. Note it calculates
24326 the microsecond component incorrectly and seconds-to-time does the
24327 same job.
625897ec 24328 Remove redundant (require 'timer).
1f48f7d2 24329
c5b40130
LL
24330 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
24331 (ido-completions): Remove unused arguments. (Bug#8329)
24332
d86d2721
SM
243332011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
24334
24335 * minibuffer.el (completion--flush-all-sorted-completions):
24336 Remove itself from hook.
24337 (completion-at-point): Let the functions perform the completion
24338 immediately and return nil or t.
24339 * comint.el (comint-dynamic-complete-functions): Now identical to
24340 completion-at-point-functions.
24341 (comint-dynamic-list-input-ring): Remove unused var `index'.
24342 (comint--match-partial-filename, comint--unquote&expand-filename):
24343 New funs, split from comint-match-partial-filename.
24344 (comint-dynamic-complete): Use completion-at-point.
24345 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
24346
e8974c48
DA
243472011-03-24 Drew Adams <drew.adams@oracle.com>
24348
24349 * thingatpt.el: Support `defun'.
24350
def71b5e
LL
243512011-03-23 Leo Liu <sdl.web@gmail.com>
24352
cb5af48e
LL
24353 * abbrevlist.el: Move to obsolete/abbrevlist.el.
24354
def71b5e
LL
24355 * help-mode.el (help-mode-finish): Tweak regexp.
24356
927c53e7
GM
243572011-03-23 Glenn Morris <rgm@gnu.org>
24358
18d05bed
GM
24359 * eshell/esh-opt.el (eshell-eval-using-options):
24360 Do not bind unused local variable `eshell-option-stub'.
24361
927c53e7
GM
24362 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
24363
9d0da923
JB
243642011-03-22 Juanma Barranquero <lekktu@gmail.com>
24365
24366 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
24367 keymap variable in `with-no-warnings' to avoid a warning when the
24368 keymap has been already `defconst'ed.
24369
4b978a67
LL
243702011-03-22 Leo Liu <sdl.web@gmail.com>
24371
24372 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
24373 encode all chars in abbrevs; otherwise use emacs-mule or
24374 utf-8-emacs. (Bug#8308)
24375
5fd62452
JB
243762011-03-22 Juanma Barranquero <lekktu@gmail.com>
24377
0b1596c6
JB
24378 * simple.el (backward-delete-char-untabify):
24379 Avoid warning about using `delete-backward-char'.
24380
5fd62452
JB
24381 * image.el (image-type-file-name-regexps): Make it variable.
24382 `imagemagick-register-types' modifies it, and the user may want
24383 to add new extensions for known image types.
24384 (imagemagick-register-types): Throw error if not using ImageMagick.
24385
0b4e93f1
LL
243862011-03-22 Leo Liu <sdl.web@gmail.com>
24387
24388 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
24389 located before rcirc-prompt-end-marker.
24390 (rcirc-complete): Error if point is not after rcirc prompt.
24391 Handle the case when table is nil.
9882e214 24392 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 24393
fccee4ab
CY
243942011-03-22 Chong Yidong <cyd@stupidchicken.com>
24395
24396 * custom.el (custom--inhibit-theme-enable): Make it affect only
24397 custom-theme-set-variables and custom-theme-set-faces.
24398 (provide-theme): Ignore custom--inhibit-theme-enable.
24399 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
24400 (custom-enabling-themes): Delete variable.
d86d2721
SM
24401 (enable-theme): Accept only loaded themes as arguments.
24402 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
24403 (custom-enabled-themes): Forbid themes from setting this.
24404 Eliminate use of custom-enabling-themes.
24405 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 24406
af896da6
LL
244072011-03-21 Leo Liu <sdl.web@gmail.com>
24408
24409 * ido.el (ido-read-internal): Add ido-selected to history instead
24410 of user input.
24411
78f64af0
SM
244122011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
24413
24414 * subr.el (deferred-action-list, deferred-action-function):
24415 Mark obsolete.
24416
b16ac1ec
LL
244172011-03-21 Leo Liu <sdl.web@gmail.com>
24418
810f7698
LL
24419 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
24420 change on 2011-02-13 (bug#8309).
24421
b16ac1ec
LL
24422 * minibuffer.el (read-file-name-function): Change default value.
24423 (read-file-name--defaults): Rename from read-file-name-defaults.
24424 (read-file-name-default): Rename from read-file-name.
24425 (read-file-name): Call read-file-name-function.
24426
4e05e67e
GM
244272011-03-21 Glenn Morris <rgm@gnu.org>
24428
24429 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
24430 Doc fixes.
24431
4359915b
CY
244322011-03-21 Chong Yidong <cyd@stupidchicken.com>
24433
24434 * cus-theme.el: Add missing provide statement.
24435 (customize-create-theme): Extract theme value correctly.
24436 (custom-theme-visit-theme): Autoload.
24437 (customize-create-theme): Prompt before inserting default faces.
24438
1fe275ee
JB
244392011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
24440
24441 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
24442 units and musical notes.
24443
cd394be1 244442011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
24445
24446 * ido.el (ido-read-internal): Use completing-read-default.
24447 (ido-completing-read): Fix compatibility with completing-read.
24448
7d476bde
CO
244492011-03-20 Christian Ohler <ohler@gnu.org>
24450
24451 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
24452 (ert-delete-all-tests): Use `called-interactively-p' rather than
24453 `interactive-p'.
24454 (ert--make-xrefs-region): Respect END.
24455
fe0fb33e
CY
244562011-03-19 Chong Yidong <cyd@stupidchicken.com>
24457
ff854b0b
CY
24458 * dired-aux.el (dired-create-directory): Signal an error if the
24459 directory already exists (Bug#8246).
24460
fe0fb33e
CY
24461 * facemenu.el (list-colors-display): Call list-faces-display
24462 inside with-help-window.
24463 (list-colors-print): Use display property to align the final
24464 column, instead of checking window-width.
24465
576bce32
EZ
244662011-03-19 Eli Zaretskii <eliz@gnu.org>
24467
4d61f28d 24468 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
24469 windows-nt systems.
24470 (emerge-protect-metachars): Quote correctly for ms-dos and
24471 windows-nt systems.
24472
89c41d68 244732011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
24474
24475 * info.el (info-initialize): Replace all uses of `:' with
24476 path-separator for compatibility with non-Unix systems.
24477 Cache quoting of path-separator. (Bug#8258)
24478
b14e3e21 244792011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
24480
24481 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
24482 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
24483 (mouse-avoidance-mode): Fix typos in docstrings.
24484
4525ce3e
CY
244852011-03-19 Chong Yidong <cyd@stupidchicken.com>
24486
24487 * startup.el (package-subdirectory-regexp): Move from package.el.
24488 Omit \\` and \\', and let callers add them.
24489
24490 * emacs-lisp/package.el (package-strip-version)
24491 (package-load-all-descriptors): Add \\` and \\' to
24492 package-subdirectory-regexp before using it.
24493 (package-untar-buffer): New arg DIR; ensure that file untars only
24494 into this expected directory. Remove superfluous delete-region.
24495 (package-unpack): Caller changed.
24496 (package-tar-file-info): Use package-subdirectory-regexp.
24497
a904a09a 244982011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 24499
a904a09a
SM
24500 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
24501 diff-mode-shared-map (bug#8284).
24502 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
24503
245042011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
24505
24506 * calendar/time-date.el (format-seconds): Use assoc instead of
24507 assoc-string, since assoc-string doesn't exist in XEmacs.
24508
171fc304
JB
245092011-03-17 Juanma Barranquero <lekktu@gmail.com>
24510
24511 * custom.el (custom-known-themes): Reflow docstring.
24512 (custom-theme-load-path): Fix typo in docstring.
24513 (load-theme): Fix typo in error message.
24514 (custom-available-themes, custom-variable-theme-value):
24515 Use `let', not `let*'.
24516
d71990a1
JB
245172011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
24518
24519 * calc/README: Mention inclusion of musical notes.
24520
24521 * calc/calc-units.el (calc-lu-quant): Rename from
24522 `calc-logunits-quantity'.
24523 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
24524 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
24525 (calc-db): Rename from `calc-dblevel'.
24526 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
24527 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
24528 (calc-np): Rename from `calc-nplevel'.
24529 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
24530 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
24531 (calc-lu-plus): Rename from `calc-logunits-add'.
24532 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
24533 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
24534 (calc-lu-minus): Rename from `calc-logunits-sub'.
24535 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
24536 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
24537 (calc-lu-times): Rename from `calc-logunits-mul'.
24538 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
24539 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
24540 (calc-lu-divide): Rename from `calc-logunits-div'.
24541 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
24542 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
24543
24544 * calc/calc-ext.el (calc-init-extensions): Update the names of the
24545 functions being autoloaded.
24546
24547 * calc/calc.el (calc-lu-power-reference): Rename from
24548 `calc-logunits-power-reference'.
24549 (calc-lu-field-reference): Rename from
24550 `calc-logunits-field-reference'.
24551
7a71b18d
GM
24552 * calc/calc-help.el (calc-l-prefix-help):
24553 Mention musical note functions.
d71990a1 24554
40c2934b
SM
245552011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
24556
24557 * minibuffer.el (completion-all-sorted-completions):
24558 Use :completion-cycle-penalty text property if present.
24559
b0911414
KM
245602011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
24561
24562 * allout.el (allout-yank-processing): Adjust for new rebulleting
24563 regime so bullet being yanked is used without prompting the user
24564 for a choice.
24565
8a05b668
JB
245662011-03-16 Juanma Barranquero <lekktu@gmail.com>
24567
24568 * startup.el (command-line): Warn the user that _emacs is deprecated.
24569
5ba5fb81
JB
245702011-03-16 Juanma Barranquero <lekktu@gmail.com>
24571
24572 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
24573 (delphi-verbose, delphi-comment-face, delphi-string-face)
24574 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
24575 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
24576 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
24577 (delphi-new-comment-line, delphi-font-lock-defaults)
24578 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
24579 Fix typos in docstrings.
24580
2dab465b
KM
245812011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
24582
5ba5fb81 24583 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
24584 Invert the roles of character and string values for INSTEAD, so a
24585 string is used for the more common case of a defaulting prompt.
24586
0adf5618
SM
245872011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
24588
24589 * progmodes/ruby-mode.el (ruby-backward-sexp):
24590 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
24591 * play/gamegrid.el (gamegrid-make-face):
24592 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
24593 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
24594 * notifications.el (notifications-notify):
24595 * net/xesam.el (xesam-search-engines):
24596 * net/quickurl.el (quickurl-list-insert):
24597 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
24598
d72700e5
CY
245992011-03-15 Chong Yidong <cyd@stupidchicken.com>
24600
24601 * startup.el (command-line): Update package subdirectory regexp.
24602
49c5410a
SM
246032011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
24604
c6eee9aa
SM
24605 * allout.el (allout-abbreviate-flattened-numbering)
24606 (allout-mode-deactivate-hook): Fix up obsolescence "date".
24607
49c5410a
SM
24608 * subr.el (read-char-choice): Only show the cursor after the prompt,
24609 not after the answer.
24610
047b2bb9
KR
246112011-03-15 Kevin Ryde <user42@zip.com.au>
24612
24613 * help-fns.el (variable-at-point): Skip leading quotes, if any
24614 (bug#8253).
24615
0a57d256
SM
246162011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
24617
24618 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
24619 warning message.
24620
77c992bc
MA
246212011-03-14 Michael Albinus <michael.albinus@gmx.de>
24622
24623 * shell.el (shell): When called interactively, offer to change the
24624 shell file name on remote hosts.
24625
eebc475d
TZ
246262011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
24627
24628 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
24629 integration for LDAP parameters. The host, base, user or binddn,
24630 and secret tokens can be specified in a netrc file, for instance.
24631 This is optional because an `auth-source' parameter must be
24632 specified in the search attributes.
24633
9d05d1ba
JB
246342011-03-13 Juanma Barranquero <lekktu@gmail.com>
24635
24636 * help.el (describe-mode): Link to the mode's definition (bug#8185).
24637
09d9db2c
GM
246382011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
24639
24640 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
24641 into declaration. Remove redundant and harmful binding.
24642
246432011-03-12 Eli Zaretskii <eliz@gnu.org>
24644
24645 * files.el (file-ownership-preserved-p): Pass `integer' as an
24646 explicit 2nd argument to `file-attributes'. If the file's owner
24647 is the Administrators group on Windows, and the current user is
24648 Administrator, consider that a match.
24649
24650 * server.el (server-ensure-safe-dir): Consider server directory
24651 safe on MS-Windows if its owner is the Administrators group while
24652 the current Emacs user is Administrator. Use `=' to compare
24653 numerical UIDs, since they could be integers or floats.
24654
219bd536
JB
246552011-03-12 Juanma Barranquero <lekktu@gmail.com>
24656
24657 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
24658
f3afd36b
MA
246592011-03-12 Michael Albinus <michael.albinus@gmx.de>
24660
24661 Sync with Tramp 2.2.1.
24662
24663 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
24664
24665 * net/trampver.el: Update release number.
24666
3aaaa6f1
SM
246672011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
24668
94642599
SM
24669 * progmodes/compile.el (compilation--previous-directory): Fix up
24670 various nil/dead-marker mismatches (bug#8014).
24671 (compilation-directory-properties, compilation-error-properties):
24672 Don't call it at a position past the one we're about to change.
24673
3aaaa6f1
SM
24674 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
24675 Disable obsolescence warnings in the file that declares it.
24676
14239447
KM
246772011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
24678
099c39a4
JB
24679 * allout-widgets.el (allout-widgets-tally):
24680 Initialize allout-widgets-tally as a hash table rather than nil to
24681 prevent mode-line redisplay warnings. Also, clarify the module
24682 description and fix a comment typo.
14239447 24683
135e287c
JB
246842011-03-11 Juanma Barranquero <lekktu@gmail.com>
24685
24686 * help-fns.el (describe-variable): Don't complete keywords.
24687 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
24688
ffbf300e
CY
246892011-03-10 Chong Yidong <cyd@stupidchicken.com>
24690
ba08b241
CY
24691 * emacs-lisp/package.el (package-version-join): Impose a standard
24692 string representation for pre/alpha/beta version lists.
24693 (package-unpack-single): Standardize the directory name by passing
24694 it through package-version-join.
24695 (package-strip-rcs-id): Accept any version string that does not
24696 signal an error in version-to-list.
ffbf300e 24697
f346fd6b
MA
246982011-03-10 Michael Albinus <michael.albinus@gmx.de>
24699
24700 * simple.el (delete-trailing-whitespace): Return nil for the
24701 benefit of `write-file-functions'.
24702
ccb55d27
GM
247032011-03-10 Glenn Morris <rgm@gnu.org>
24704
5ceaac0c
GM
24705 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
24706
02da65ff
GM
24707 * vc/vc-git.el (vc-git-program): New option.
24708 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
24709 (vc-git--call): Use it.
24710
b2f603cc
GM
24711 * eshell/esh-util.el (eshell-condition-case): Doc fix.
24712
5772caab
GM
24713 * cus-edit.el (Custom-newline): If no button at point, look
24714 for a subgroup button at start-of-line. (Bug#2298)
24715
ccb55d27
GM
24716 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
24717
ec6ecaed
JD
247182011-03-10 Julien Danjou <julien@danjou.info>
24719
24720 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
24721 `cursor-type' is nil.
24722
9d5aa01d
JB
247232011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
24724
24725 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
24726
b6a5875b
KM
247272011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
24728
7a71b18d 24729 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
24730 preserves the existing header prefix, rebulleting it if necessary,
24731 rather than replacing it. This is necessary for proper operation
24732 of cooperative addons like allout-widgets.
1154d12e
JB
24733 (allout-make-topic-prefix, allout-rebullet-heading):
24734 Change SOLICIT arg to INSTEAD, and interpret additionally a string
24735 value as alternate bullet to be used, instead of prompting the user
24736 for a bullet character.
b6a5875b 24737
ee545c35
MA
247382011-03-09 Michael Albinus <michael.albinus@gmx.de>
24739
d86d2721
SM
24740 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
24741 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
24742 `tramp-default-port'.
24743
c47971d7
DD
247442011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
24745
24746 * net/rcirc.el (rcirc-handler-001): Remove useless
24747 with-rcirc-process-buffer.
24748 (rcirc-check-auth-status): Swap arguments to string-match.
24749
13522cb4
GM
247502011-03-09 Glenn Morris <rgm@gnu.org>
24751
0be6f4f1
GM
24752 * shell.el (shell-mode):
24753 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
24754
13522cb4
GM
24755 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
24756 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
24757
515de2e3
CY
247582011-03-08 Chong Yidong <cyd@stupidchicken.com>
24759
24760 * emacs-lisp/package.el (package-refresh-contents)
24761 (package-menu-execute): Use condition-case-no-debug.
24762
b511b994
MA
247632011-03-08 Michael Albinus <michael.albinus@gmx.de>
24764
24765 * simple.el (shell-command-to-string): Use `process-file'.
24766
24767 * emacs-lisp/package.el (package-tar-file-info): Handle also
24768 remote files.
24769
d86d2721
SM
24770 * emacs-lisp/package-x.el (package-upload-buffer-internal):
24771 Use `equal' for upload base check.
b511b994 24772
25bbfb31
AM
247732011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
24774
24775 * textmodes/texinfo.el (texinfo-environments):
24776 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
24777
be996521
GM
247782011-03-08 Glenn Morris <rgm@gnu.org>
24779
e9c8529f
GM
24780 * cus-start.el (cursor-in-non-selected-windows):
24781 Fix :set quoting oddness. (Bug#8192)
24782
be996521
GM
24783 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
24784 in some setf expressions. (Bug#2159)
24785
2bb5649e
CY
247862011-03-08 Chong Yidong <cyd@stupidchicken.com>
24787
24788 * custom.el (custom-available-themes): Return themes in
24789 alphabetical order.
24790
33383987 24791See ChangeLog.15 for earlier changes.
e3d51b27
MR
24792
24793;; Local Variables:
24794;; coding: utf-8
e3d51b27
MR
24795;; End:
24796
ab422c4d 24797 Copyright (C) 2011-2013 Free Software Foundation, Inc.
e3d51b27
MR
24798
24799 This file is part of GNU Emacs.
24800
24801 GNU Emacs is free software: you can redistribute it and/or modify
24802 it under the terms of the GNU General Public License as published by
24803 the Free Software Foundation, either version 3 of the License, or
24804 (at your option) any later version.
24805
24806 GNU Emacs is distributed in the hope that it will be useful,
24807 but WITHOUT ANY WARRANTY; without even the implied warranty of
24808 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24809 GNU General Public License for more details.
24810
24811 You should have received a copy of the GNU General Public License
24812 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.