lisp/gnus/gnus-msg.el (gnus-summary-resend-message): Don't bug out on non-string...
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
82e2a1f0 12012-12-27 Dmitry Gutov <dgutov@yandex.ru>
db590ef6
DG
2
3 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
4 "module" and "def" to have indentation before them. Regression
5 from 109911 (see the new test).
6
ea0857a1
DG
7 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
8
82e2a1f0 92012-12-27 Alan Mackenzie <acm@muc.de>
3f6b93cd
AM
10
11 Speed up fontification where there's large brace blocks.
12 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
13 to a call of c-beginning-of-decl-1.
14
c34339f3
VS
152012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
16
17 * comint.el (comint-adjust-window-point): New function.
18 (comint-postoutput-scroll-to-bottom): Call
19 comint-adjust-window-point (Bug#13248).
20
78269b95
DG
212012-12-26 Dmitry Gutov <dgutov@yandex.ru>
22
23 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
24 Rakefile regexp.
25 (auto-mode-alist): Associate .gemspec files with ruby-mode
26 (https://bugs.ruby-lang.org/issues/5453).
27
bd8c13f9
JH
282012-12-26 Jürgen Hötzel <juergen@archlinux.org>
29
30 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun. Suppress
31 coloring, if possible (required for BusyBox based systems like
32 CynagenMod).
33 (tramp-adb-handle-file-attributes)
34 (tramp-adb-handle-insert-directory)
35 (tramp-adb-handle-file-name-all-completions): Use it.
36 (tramp-adb-get-toolbox): New defun. Check for remote shell
37 implementation (BusyBox or Toolbox).
38
dc646358
CK
392012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
40
41 * startup.el (initial-buffer-choice): Allow function as value
42 (Bug#13251).
43 (command-line-1): Handle case where initial-buffer-choice
44 specifies a function.
45 * server.el (server-execute): Handle case where
46 initial-buffer-choice specifies a function.
47
e7d52a4d
LI
482012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
49
50 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
51 its own function.
52 (smtpmail-try-auth-methods): Forget the user name/password if the
53 login is unsuccessful (bug#12424).
54
cdb07539
MA
552012-12-22 Michael Albinus <michael.albinus@gmx.de>
56
1ef5f225
MA
57 * notifications.el (notifications-notify): Protect body with
58 `with-demoted-errors'.
59
cdb07539
MA
60 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Check
61 properties of remote device. Restart connection, if there is a
62 change.
63
594f37aa
CY
642012-12-21 Chong Yidong <cyd@gnu.org>
65
66 * sort.el (sort-subr): Doc fix (Bug#13056).
67
a4b0cca1 682012-12-21 Bastien Guerry <bzg@gnu.org>
acc650b8 69
acc650b8
BG
70 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
71
0e9c7693
MA
722012-12-21 Michael Albinus <michael.albinus@gmx.de>
73
74 * simple.el (process-file): Overwrite stderr file, if exists.
75
c6609164
DU
762012-12-21 Daiki Ueno <ueno@gnu.org>
77
78 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
3eb05092 79 (epg-error): Set `error-message' property.
c6609164 80
aa26f345
CY
812012-12-21 Chong Yidong <cyd@gnu.org>
82
34b4b7eb
CY
83 * international/mule-cmds.el (read-char-by-name): Signal an error
84 if the user does not supply a valid character (Bug#13177).
85
aa26f345
CY
86 * simple.el (transpose-subr-1): Preserve marker positions by
87 changing the insertion sequence (Bug#13122).
88
05c22d87
KD
892012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
90
91 * simple.el (kill-region): Deactivate mark even for empty regions
92 (Bug#13169).
93
f5733f87
CY
942012-12-21 Chong Yidong <cyd@gnu.org>
95
96 * help-fns.el (describe-variable): Make sure we get the right
97 buffer name (Bug#13105). Suggested by Kelly Dean.
98
fab6916d
MM
992012-12-20 Michael R. Mauger <mmaug@yahoo.com>
100
101 * comint.el (comint-redirect-previous-input-string): New variable.
102 (comint-redirect-setup, comint-redirect-cleanup)
103 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
104 (comint-redirect-preoutput-filter): Fix verbose message.
105
91b982a0
MA
1062012-12-20 Michael Albinus <michael.albinus@gmx.de>
107
108 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
109 is too long for Tramp. See discussion in
110 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
111
112 * progmodes/compile.el (compilation-start): Remove line escape
113 template.
114
87523aed
DA
1152012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
116
117 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
118 Adjust comment.
119
ee3c0aec
JB
1202012-12-19 Jonas Bernoulli <jonas@bernoul.li>
121
122 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
123 following non-comment text (bug#13207).
124 (lm-header-multiline): Continuation lines need to be indented more than
125 the first line.
126 (lm-homepage): New function.
127 (lm-with-file): Don't be confused if narrowing is in effect.
f4d79bd0
SM
128
129 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
130 very beginning of a hunk (e.g. killing the first line).
131
3c532af6
MA
1322012-12-19 Michael Albinus <michael.albinus@gmx.de>
133
134 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
135 and text properties from returned ACL string.
136 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
137 for "setfacl" command.
138
e0d01ef3
MA
1392012-12-18 Michael Albinus <michael.albinus@gmx.de>
140
141 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
142 `tramp-cleanup-this-connection', when the process has died.
143 (Bug#13151)
144
2387610d
SM
1452012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
146
147 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
148
19156242
KR
1492012-12-17 Kevin Ryde <user42@zip.com.au>
150
151 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
152
53b6a8b1
MA
1532012-12-17 Michael Albinus <michael.albinus@gmx.de>
154
155 Add support for preserving ACL entries of files.
156
157 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
158 `set-file-acl' handlers.
159
19156242
KR
160 * net/tramp-adb.el (tramp-adb-handle-copy-file):
161 Handle PRESERVE-EXTENDED-ATTRIBUTES.
53b6a8b1 162
19156242
KR
163 * net/tramp-compat.el (tramp-compat-copy-file):
164 Handle PRESERVE-EXTENDED-ATTRIBUTES.
53b6a8b1 165
19156242
KR
166 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
167 Add `file-acl' and `set-file-acl' handlers.
168 (tramp-gvfs-handle-copy-file):
169 Handle PRESERVE-EXTENDED-ATTRIBUTES.
170 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
171 New defuns.
53b6a8b1 172
19156242
KR
173 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
174 Add `file-acl' and `set-file-acl' handlers.
53b6a8b1
MA
175 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
176 (tramp-sh-handle-set-file-acl): New defuns.
19156242
KR
177 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
178 Handle PRESERVE-EXTENDED-ATTRIBUTES.
53b6a8b1 179
19156242
KR
180 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
181 Add `file-acl' and `set-file-acl' handlers.
53b6a8b1
MA
182 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
183
6ae57a67
KD
1842012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
185
186 * help-macro.el (make-help-screen): Instead of switch-to-buffer
19156242 187 use pop-to-buffer with NORECORD argument t. As buffer name, use
6ae57a67
KD
188 *Metahelp* with a leading space (Bug#13190).
189
7c3d167f
RF
1902012-12-16 Romain Francoise <romain@orebokech.com>
191
192 * files.el (file-extended-attributes)
193 (set-file-extended-attributes): New functions.
194 (backup-buffer): Use them to handle both SELinux context and ACL
195 entries.
196 (backup-buffer-copy): Work with an alist of extended attributes,
197 rather than an SELinux context.
198 (basic-save-buffer-2): Ditto.
199
19b748ad
TM
2002012-12-16 Timo Myyrä <timo.myyra@gmail.com>
201
202 * battery.el (battery-bsd-apm): New function.
203
70042c64
JB
2042012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
205
206 * calc/calc.el (calc-standard-date-formats): Adjust one of the
207 standard date formats.
208
279f9b06
JL
2092012-12-15 Juri Linkov <juri@jurta.org>
210
211 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
212 `isearch-insert-char-by-name'.
213 (with-isearch-suspended): New defmacro with body mostly from
214 `isearch-edit-string' except the part that sets
215 `isearch-new-string' and `isearch-new-message'.
216 (isearch-edit-string): Use new macro `with-isearch-suspended' with
217 body that sets `isearch-new-string' and `isearch-new-message'.
218 (isearch-insert-char-by-name): New command.
219 * international/mule-cmds.el (read-char-by-name): Let-bind
220 `enable-recursive-minibuffers' to t.
221 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
222
8370def5
JL
2232012-12-15 Juri Linkov <juri@jurta.org>
224
225 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
226 (Bug#13175)
227
178fb95d
CS
2282012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
229
230 * dired-x.el (dired-guess-shell-command): Put colon at the end of
231 the prompt. (Bug#13045)
232
a5f74442
GM
2332012-12-14 Glenn Morris <rgm@gnu.org>
234
235 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
236 Try to include filename in non-bytecomp warning. (Bug#13132)
237
97976f9f
PE
2382012-12-14 Paul Eggert <eggert@cs.ucla.edu>
239
240 Fix permissions bugs with setgid directories etc. (Bug#13125)
241 * files.el (backup-buffer): Don't rely on 9th output of
242 file-attributes, as it's now a placeholder. Instead, use the new
243 optional arg of file-ownership-preserved-p.
244 (file-ownership-preserved-p): New optional arg GROUP.
245 Fix mishandling of setuid directories that would cause this
246 function to return t when it should have returned nil.
247 Document what happens if the file does not exist, and when
248 it's not known whether the ownership will be preserved.
249 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
250 Likewise.
251 (tramp-get-local-gid): Use group-gid for integer, as that's
252 faster and more reliable.
253
016b2a42
JD
2542012-12-14 Julien Danjou <julien@danjou.info>
255
19156242
KR
256 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
257 Update keywords list, data type and PL/pgSQL.
016b2a42 258
665e5e07
DA
2592012-12-14 Dave Abrahams <dave@boostpro.com>
260
261 * vc/ediff-util.el (ediff-buffer-type): New function.
262 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
263 rather than taking it as as argument.
264 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
265
d72e9e92
RC
2662012-12-14 Ryan Crum <ryan.crum@eleostech.com>
267
268 * json.el: Add pretty-print option (bug#12634).
269 (json-encoding-separator, json-encoding-default-indentation)
270 (json--encoding-current-indentation, json-encoding-pretty-print)
271 (json-encoding-lisp-style-closings): New vars.
272 (json--with-indentation): New macro.
273 (json-encode-hash-table, json-encode-alist, json-encode-plist)
274 (json-encode-array): Use it to obey json-encoding-pretty-print.
275 (json-pretty-print-buffer, json-pretty-print): New commands.
276
dbb530d9
DG
2772012-12-14 Dmitry Gutov <dgutov@yandex.ru>
278
279 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
280 Extract `ruby-syntax-propertize-expansions'.
281 (ruby-syntax-propertize-expansions): Only change syntax on
282 certain string delimiters, to punctuation. This way the common
283 functions like forward-word and thing-at-point still work.
284 (ruby-match-expression-expansion): Improve readability.
bb808526
DG
285 (ruby-block-contains-point): New function.
286 (ruby-add-log-current-method): Handle several edge cases.
dbb530d9 287
ce0440ff
JB
2882012-12-13 Juanma Barranquero <lekktu@gmail.com>
289
290 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
291 unload-feature finishes even when aborting an ongoing edebug session.
292 Also, do not worry about edebug-mode, unload-feature takes care of it.
293
f10331bf
AS
2942012-12-13 Andreas Schwab <schwab@suse.de>
295
296 * net/tls.el (tls-program): Update customize type.
297
5f3a3bb1
JB
2982012-12-13 Juanma Barranquero <lekktu@gmail.com>
299
300 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
301 (edebug-setup-hook, cl-read-load-hooks): Use it.
302 (edebug-unload-function): New function. (Bug#13163)
303
6ce21463
MA
3042012-12-13 Michael Albinus <michael.albinus@gmx.de>
305
306 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
307 Otherwise, there could be errors in autoloading. (Bug#13151)
308
d754b364
JH
3092012-12-13 Jürgen Hötzel <juergen@archlinux.org>
310
311 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
312 sequences.
313
727f9739 3142012-12-13 Alan Mackenzie <acm@muc.de>
14b8c3d9
AM
315
316 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
317 * progmodes/cc-engine.el (c-backward-comments): Add code to work
318 around `forward-comment' not recognizing ^M as whitespace.
319
727f9739 3202012-12-13 Fabián Ezequiel Gallina <fgallina@cuca>
2c43a9ad
FEG
321
322 * progmodes/python.el (python-skeleton-class)
323 (python-skeleton-def): Do not add space after defun name.
324
eb8006c6
SM
3252012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
326
327 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
328 (cl--symbol-function): Remove (now that funbound is like nil).
329
4c74b1e4
GM
3302012-12-12 Glenn Morris <rgm@gnu.org>
331
332 * button.el (button--area-button-p): Fix typo.
333
37f38bca
SS
3342012-12-12 Sam Steingold <sds@gnu.org>
335
336 * frame.el (frame-maximization-style): New user option.
337 (toggle-frame-maximized): Toggle frame maximization according to
338 `frame-maximization-style', bound to <f11>.
339 (cycle-frame-maximized): Cycle between all maximization styles and
340 non-maximized frame, bound to shift-<f11>.
341
fd49a218
DC
3422012-12-12 David Cadé <codename68@gmail.com>
343
344 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
345
69e1c203
JB
3462012-12-12 Jonas Bernoulli <jonas@bernoul.li>
347
348 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
349 (eieio-override-prin1): Don't quote kewords and booleans.
350 (object-write) <eieio-default-superclass>: Don't put closing parens
351 on new line, avoid needless empty lines, align values that are objects
352 with the slot keyword (instead of beginning on the same line).
353 (eieio-list-prin1): Align value with slot keyword; increase
354 eieio-print-depth before printing members of the list.
355
4b0df848
SM
3562012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
357
030f4af5
SM
358 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
359 a display text-property.
360 (report-emacs-bug-hook): Don't bother deleting it any more.
361
6ac1f8ca
SM
362 * hilit-chg.el (highlight-save-buffer-state): Delete.
363 Use with-silent-modifications instead.
364 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
365
4b0df848
SM
366 * button.el: Handle buttons in display text-properties.
367 (button--area-button-p, button--area-button-string):
368 Use (STRING . STRING-POS) representation instead of just STRING.
369
d46d2d3a
EZ
3702012-12-11 Eli Zaretskii <eliz@gnu.org>
371
372 * makefile.w32-in (compile4-SH): Fix a typo that caused term
373 subdirectory be skipped.
374
a0099d31
GM
3752012-12-11 Glenn Morris <rgm@gnu.org>
376
36327e4f
GM
377 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
378
a0099d31
GM
379 * progmodes/f90.el (f90-line-continued, f90-indent-region):
380 Treat preprocessor lines embedded in continuations like comments.
381 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
382
ff3f6c26
JB
3832012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
384
385 * calc/calc.el (calc-standard-date-formats): Add more date
386 formats.
387 * calc/calc-forms.el (math-parse-iso-date): New function.
388 (math-parse-date): Use `math-parse-iso-date' when appropriate.
389 (math-parse-iso-date-validate): Add extra error checking.
390 (calc-date-notation): Add ability to access new date formats.
391
ed6f2cd4
SM
3922012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
393
394 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
395 font-lock as well as when there's no text-property.
396
c868b919
J
3972012-12-10 Jambunathan K <kjambunathan@gmail.com>
398
399 * hi-lock.el: Refine the choice of default face.
400 (hi-lock-keyword->face): New function. Use it wherever we used
401 cadadadr instead.
402 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
403 (hi-lock--last-face): Remove var.
404 (hi-lock--unused-faces): New var to replace it.
405 (hi-lock-read-face-name): Use/maintain it.
406 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
407 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
408 if it has another face.
409
2b8c9064
EZ
4102012-12-10 Eli Zaretskii <eliz@gnu.org>
411
412 * subr.el (w32notify-handle-event): New function.
413 (inotify-handle-event): Doc fix.
414
81606b10
RS
4152012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
416
417 * subr.el (inotify-event-p, inotify-handle-event): New functions.
418
265c2fbf 4192012-12-10 Dani Moncayo <dmoncayo@gmail.com>
6ce49f24
DM
420
421 * simple.el (just-one-space): Doc fix.
422
265c2fbf 4232012-12-10 Eli Zaretskii <eliz@gnu.org>
8d43bd30 424
c868b919 425 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
8d43bd30 426
265c2fbf 4272012-12-10 Le Wang <l26wang@gmail.com>
3a21537c
LW
428
429 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
430 narrowed buffer (bug#12361).
431
265c2fbf 4322012-12-10 Juanma Barranquero <lekktu@gmail.com>
bf741d33
JB
433
434 * vc/vc-hooks.el (vc-state): Doc fix.
435
265c2fbf 4362012-12-10 Glenn Morris <rgm@gnu.org>
07026166
GM
437
438 * mail/rmail.el (rmail-maybe-display-summary):
439 Preserve buffer, in case select-window changes it. (Bug#13066)
440
265c2fbf 4412012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
82e1f390
SM
442
443 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
444 cl-load-hook where they belong.
445
bad162fd
SM
4462012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
447
448 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
449
ca065258
EZ
4502012-12-09 Eli Zaretskii <eliz@gnu.org>
451
452 Parallelize byte compilation on MS-Windows.
453 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
bad162fd 454 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
ca065258
EZ
455 (WINS_BASIC): Define as concatenation of the above.
456 (compile): Subdivide into 4 separate and independent jobs that can
457 be run in parallel.
458 (compile0-CMD, compile0-SH): New targets for compiling
459 COMPILE_FIRST files, which are prerequisites for the rest of the
460 byte-compilation.
bad162fd
SM
461 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
462 New targets for parallel compilation with cmd.exe.
ca065258
EZ
463 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
464 compiling under a Unixy shell.
465
5dea55d2
CY
4662012-12-09 Chong Yidong <cyd@gnu.org>
467
468 * simple.el (set-mark-default-inactive): Delete this
469 accidentally-introduced option.
470 (set-mark-command, exchange-point-and-mark): Remove calls.
471
c6c08d3f
GM
4722012-12-09 Glenn Morris <rgm@gnu.org>
473
474 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
475 Respect a defcustom's :set function, if appropriate. (Bug#109)
476 (eval-defun): Doc fix.
477
858aab4c
JL
4782012-12-08 Juri Linkov <juri@jurta.org>
479
480 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
481 (Info-fontify-node, Info-bookmark-make-record): Remove the
482 file extension from Info-current-file (Bug#13016).
483
2e4ad7e5
SM
4842012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
485
486 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
487 point, still provide some default.
488 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
489 names, since we don't use it right now. Actually return the list.
490 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
491
75498db0
CY
4922012-12-07 Chong Yidong <cyd@gnu.org>
493
ffe7ba8f
CY
494 * novice.el (disabled-command-function): Remove a spurious help
495 xref (Bug#13043). Suggested by Kelly Dean.
496
454eb095
CY
497 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
498 syntax is specified (Bug#13025).
499
75498db0
CY
500 * info.el (Info-set-mode-line): Remove the file extension from
501 Info-current-file if there is one (Bug#13016).
502
13a40633
GM
5032012-12-07 Glenn Morris <rgm@gnu.org>
504
54c8b5ba
GM
505 * mail/rmail.el (rmail-mime-decoded): New permanent local.
506 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
507 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
508 and rmail-mime-decoded. (Bug#9841)
509
13a40633
GM
510 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
511 (batch-unrmail, unrmail): Doc fixes.
512 (unrmail): Respect unrmail-mbox-format.
513 * mail/rmail.el (rmail-mbox-format): New option.
514 (rmail-show-message-1): Respect rmail-mbox-format.
515
4611a3cc
SM
5162012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
517
518 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
519
1812c724
SM
5202012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
521
338bfefa
SM
522 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
523 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
524 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
525 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
526 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
527 (cl-progv): Don't rely on dynamic scoping to find the body.
528 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
529 (cl--proclaims-deferred): Rename from the "cl-" prefix.
530 (cl-declaim): Use backquotes.
531 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
532 Use "cl--" prefix for the object's tag.
533
1812c724
SM
534 * ses.el: Use advice-add/remove.
535 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
536 (copy-region-as-kill, yank): Use advice-add.
537 (ses-unload-function): Use advice-remove.
538
24fc9480
JB
5392012-12-06 Jonas Bernoulli <jonas@bernoul.li>
540
541 * button.el: Make them work in header-lines (bug#12817).
542 (button-map): Add bindings for header-line and mode-line use.
543 (button-get, button-put, button-label): `button' may now be a string.
544 (button-activate): Don't make it a defsubst.
545 (button--area-button-p, button--area-button-string): New functions.
546 (make-text-button): Fix the return value when `beg' was a string.
547 (push-button): Handle the mode-line case.
548
853c1ffc
SM
5492012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
550
93852cb0
SM
551 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
552 (sql-signum): Remove. Use `cl-signum' instead.
553 (sql-read-passwd): Remove; use read-passwd instread.
554 (sql-get-login-ext): Use read-string.
555 (sql-get-login): Use dolist and pcase.
556 (sql--completion-table): Rename from sql-try-completion.
557 Use complete-with-action.
558 (sql-mode): Don't change abbrev-all-caps globally.
559 (sql-connect): Don't rely on dynamic scoping for `new-name'.
560 (sql-postgres-completion-object): Initialize vars in their `let'.
561 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
562 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
563 (sql-comint-interbase): Use a single append, without setq.
564 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
565
853c1ffc
SM
566 * hi-lock.el: Rework the default face and the serialize regexp code.
567 (hi-lock--auto-select-face-defaults): Remove.
568 (hi-lock-string-serialize-serial): Remove.
569 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
570 make weak.
571 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
572 equal string.
573 (hi-lock-set-pattern): Adjust accordingly.
574 (hi-lock--regexps-at-point): Simplify accordingly.
575 (hi-lock--auto-select-face-defaults): Remove.
576 (hi-lock--last-face): New var to replace it.
577 (hi-lock-read-face-name): Rewrite (bug#11095).
578 (hi-lock-unface-buffer): Arrange for the face to be the next default.
579
5504e2c7
MA
5802012-12-06 Michael Albinus <michael.albinus@gmx.de>
581
853c1ffc
SM
582 * net/tramp.el (tramp-replace-environment-variables):
583 Hide compiler warning.
5504e2c7
MA
584 (tramp-file-name-for-operation): Remove `executable-find',
585 `start-process', `call-process' and `call-process-region'.
586
853c1ffc 587 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
5504e2c7
MA
588
589 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
590 compatibility.
591
592 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
593
e1d51545
CY
5942012-12-06 Chong Yidong <cyd@gnu.org>
595
596 * ffap.el (ffap-replace-file-component): Fix typo.
597
d8ad4d3f 5982012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
ef54d315
SM
599
600 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
601 fix open-paren-like token test (bug#12785).
602
d8ad4d3f 6032012-12-06 Glenn Morris <rgm@gnu.org>
52d129cd
GM
604
605 * mail/rmailsum.el (rmail-new-summary): Tweak for
606 rmail-maybe-display-summary changing buffer. (Bug#13066)
607
d8ad4d3f 6082012-12-06 Juri Linkov <juri@jurta.org>
68bf4e09
JL
609
610 * info.el (Info-fontify-node): Don't hide the last newline.
611 (Bug#12272)
612
9ad948e2
KY
6132012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
614
615 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
616 so as to enable message-read-from-minibuffer to expand mail aliases.
617
4b5c89ee
SM
6182012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
619
620 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
621 the `intangible' property.
622 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
623
5602a53a
DD
6242012-12-05 Deniz Dogan <deniz@dogan.se>
625
626 * net/rcirc.el (rcirc-urls): Update documentation.
627 (rcirc-condition-filter): New function.
628 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
629 and exclude consecutive duplicate URLs (Bug#6082).
630
51b890ac
MA
6312012-12-05 Michael Albinus <michael.albinus@gmx.de>
632
d5f97f62
MA
633 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
634 Check return code of copy command.
635
853c1ffc
SM
636 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
637 Use group `tramp'. Add version.
51b890ac 638
04b14f2b
CY
6392012-12-05 Chong Yidong <cyd@gnu.org>
640
a3680194
CY
641 * ffap.el (ffap-url-regexp): Don't require matching at front of
642 string (Bug#4952).
643 (ffap-url-p): If only a substring matches, return that.
644 (ffap-url-at-point): Use the return value of ffap-url-p.
645 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
646 (find-file-at-point, dired-at-point, dired-at-point-prompter)
647 (ffap-guess-file-name-at-point): Likewise.
648 (ffap-replace-file-component): Fix typo.
649
04b14f2b
CY
650 * info.el (info-display-manual): Add existing Info buffers, whose
651 files may not be in Info-directory-list, to the completion.
652 (info--manual-names): New helper function.
653
49596095
GM
6542012-12-05 Glenn Morris <rgm@gnu.org>
655
656 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
657 New functions, for detecting and resolving conflicts. (Bug#10709)
658
b85aec93
J
6592012-12-04 Jambunathan K <kjambunathan@gmail.com>
660
661 * hi-lock.el (hi-lock-auto-select-face): New user variable.
662 (hi-lock-auto-select-face-defaults): New buffer local variable.
663 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
664 (hi-lock-unface-buffer): Prompt user with useful defaults.
665 With prefix arg, unhighlight all hi-lock patterns in buffer.
666
8515507f
SM
6672012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
668
669 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
670
72cebfb7
MA
6712012-12-04 Michael Albinus <michael.albinus@gmx.de>
672
673 * Makefile.in (TRAMP_SRC):
674 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
675
0ec3f7ea
JH
6762012-12-04 Juergen Hoetzel <juergen@archlinux.org>
677
678 * net/tramp-adb.el: New package.
679
770de7cf
CY
6802012-12-04 Chong Yidong <cyd@gnu.org>
681
ce3e7725
CY
682 * terminal.el: Move to obsolete/.
683
770de7cf
CY
684 * longlines.el: Move to obsolete/.
685
686 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
687 Remove code referring to longlines mode.
688
c38a186c
JL
6892012-12-03 Juri Linkov <juri@jurta.org>
690
691 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
692
329bfd64
AM
6932012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
694
695 * textmodes/ispell.el (ispell-init-process)
475eea6f
AM
696 (ispell-start-process, ispell-internal-change-dictionary):
697 Make sure personal dictionary name is expanded after initial
698 `default-directory' value. Use expanded strings for
699 keep/restart checks and for value (Bug#13019).
329bfd64 700
77a74935
JB
7012012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
702
703 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
704
c5bc2d1d 7052012-12-03 Leo Liu <sdl.web@gmail.com>
ff3d86d0
LL
706
707 * files.el (dir-locals-read-from-file): Check file non-empty
708 before reading. (Bug#13038)
709
c5bc2d1d 7102012-12-03 Glenn Morris <rgm@gnu.org>
6247eff5
GM
711
712 * jka-cmpr-hook.el (jka-compr-get-compression-info):
713 Remove any version extension before checking filename. (Bug#13006)
714 (jka-compr-compression-info-list): Belated :version bump.
715
c5bc2d1d 7162012-12-03 Chong Yidong <cyd@gnu.org>
a5bf43ba 717
8ecba97d
CY
718 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
719
a5bf43ba
CY
720 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
721 (buffer-menu): Doc fix (Bug#12294).
722
c5bc2d1d 7232012-12-03 Roland Winkler <winkler@gnu.org>
34755291
RW
724
725 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
726 of diary-show-all-entries in the diary buffer (Bug#12994).
727
c5bc2d1d 7282012-12-03 Michael Albinus <michael.albinus@gmx.de>
c2f5b60a
MA
729
730 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
731 "<STDIN>". This is binary safe.
732
682ceaf8
JB
7332012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
734
735 * calc/calc-forms.el (math-absolute-from-iso-dt)
736 (math-date-to-iso-dt, math-parse-iso-date-validate)
737 (math-iso-dt-to-date): New functions.
738 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
739 (math-fd-isoweekday): New variables.
740 (calc-date-notation, math-parse-standard-date, math-format-date)
741 (math-format-date-part): Add support for more formatting codes.
742
db47d5e9
DG
7432012-12-02 Dmitry Gutov <dgutov@yandex.ru>
744
745 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
746 current buffer's file name when called interactively (Bug#12488).
747
3faf4944
JL
7482012-12-02 Juri Linkov <juri@jurta.org>
749
750 * info.el (info-display-manual): Don't clobber an existing Info
010db6da 751 buffer (Bug#10770). Add completion (Bug#10771).
3faf4944 752
cb5d51dc
YN
7532012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
754
755 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
756 before using it for comparison (Bug#5297).
757
f38cd76e
JA
7582012-12-01 Jari Aalto <jari.aalto@cante.net>
759
760 * textmodes/css-mode.el (css-current-defun-name): New function.
761 (css-mode): Use it.
762
763 * textmodes/sgml-mode.el (html-current-defun-name): New function.
764 (html-mode): Use it.
765
ba03d0d9
CY
7662012-12-01 Chong Yidong <cyd@gnu.org>
767
768 Modularize add-log-current-defun (Bug#2224).
769 Suggested by Jari Aalto.
770
771 * vc/add-log.el (add-log-current-defun-function): Doc fix.
772 (add-log-current-defun): Move mode-specific code to other files.
773 (add-log-lisp-like-modes, add-log-c-like-modes)
774 (add-log-tex-like-modes): Variables deleted.
775
776 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
777 (lisp-mode-variables): Use it.
778
779 * progmodes/cc-mode.el (c-common-init):
780 * progmodes/cperl-mode.el (cperl-mode): Set a value for
781 add-log-current-defun-function.
782
783 * progmodes/m4-mode.el (m4-current-defun-name): New function.
784 (m4-mode): Use it.
785
786 * progmodes/perl-mode.el (perl-current-defun-name): New.
787 (perl-mode): Use it.
788
853c1ffc
SM
789 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
790 Use lisp-current-defun-name.
ba03d0d9
CY
791
792 * textmodes/tex-mode.el (tex-current-defun-name): New.
793 (tex-common-initialization): Use it.
794
795 * textmodes/texinfo.el (texinfo-current-defun-name): New.
796 (texinfo-mode): Use it.
797
92eadba5
CY
7982012-12-01 Chong Yidong <cyd@gnu.org>
799
800 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
801 * progmodes/autoconf.el (autoconf-mode):
802 * progmodes/js.el (js-mode):
803 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
804 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
805 * progmodes/perl-mode.el (perl-mode):
806 * progmodes/sh-script.el (sh-mode, sh-set-shell):
807 * textmodes/css-mode.el (css-mode):
808 * textmodes/sgml-mode.el (html-mode, sgml-mode)
809 (sgml-tags-invisible, sgml-guess-indent):
810 * textmodes/tex-mode.el (tex-common-initialization)
811 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
812 (doctex-mode, plain-tex-mode, latex-mode):
813 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
814
3ddbf803
KK
8152012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
816
817 * vc/vc-hg.el (vc-hg-next-revision):
818 Ensure use of default "tip" output format. (Bug#6968)
819
f0b6ae63
KS
8202012-12-01 Kim F. Storm <storm@cua.dk>
821
822 * startup.el (fancy-startup-tail): Add a clickable link
823 (Bug#2176).
824
c01bf73e
CY
8252012-12-01 Chong Yidong <cyd@gnu.org>
826
827 * startup.el (fancy-startup-tail): Improve the message about
828 auto-save files (Bug#2176).
829
f0b6ae63
KS
830 * files.el (recover-session): Improve the descriptive message, and
831 use substitute-command-keys.
832
a9400458
GM
8332012-12-01 Glenn Morris <rgm@gnu.org>
834
835 * ido.el (ido-file-internal):
836 Handle other-window, other-frame for dired. (Bug#13036)
837
fb3bf6ce
GM
8382012-11-30 Glenn Morris <rgm@gnu.org>
839
840 * icomplete.el (icomplete-separator): Fix :version.
841
a813fe3f
CY
8422012-11-30 Chong Yidong <cyd@gnu.org>
843
844 * shell.el (shell): For C-u M-x shell, use an inactive shell
845 buffer as the default (Bug#1975).
276479fd
CY
846 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
847 (shell-mode): Use them to reapply ansi colorization if Shell mode
848 is re-enabled.
a813fe3f 849
a8b733a5
CY
8502012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
851
852 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
853
6fccd6e8
SB
8542012-11-30 Samuel Bronson <naesten@gmail.com>
855
856 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
857 flag to xargs, for compatibility with BSD xargs (Bug#11703).
858
53c9a337
TT
8592012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
860
861 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
862 by move-to-column (Bug#3234).
863
ccf520bb
CY
8642012-11-30 Chong Yidong <cyd@gnu.org>
865
866 * longlines.el (longlines-wrap-line, longlines-encode-region):
867 Preserve text properties (Bug#1425).
868
171b0949
OT
8692012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
870
871 * vc/vc.el (vc-register): Allow registering a file which is
872 already registered with a different backend (Bug#10589).
873
cc37e70f
J
8742012-11-29 Jambunathan K <kjambunathan@gmail.com>
875 Stefan Monnier <monnier@iro.umontreal.ca>
876
877 * icomplete.el: Change separator; add ido-style commands.
878 (icomplete-show-key-bindings): Remove custom var.
879 (icomplete-get-keys): Remove function.
880 (icomplete-forward-completions, icomplete-backward-completions):
881 New commands.
882 (icomplete-minibuffer-map): New var.
883 (icomplete-minibuffer-setup): Use it.
884 (icomplete-exhibit): Don't delay if the list of completions is known.
885 (icomplete-separator): New custom.
886 (icomplete-completions): Use it.
887 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
888 (minibuffer-force-complete-and-exit): New command.
889 (minibuffer--complete-and-exit): New function extracted from
890 minibuffer-complete-and-exit.
891 (minibuffer-complete-and-exit): Use it.
83e12fe0
SM
892
893 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
894 error message when the file doesn't exist (bug#12974).
895
31646597
KD
8962012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
897
898 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
899
e9df8f87
GM
9002012-11-29 Glenn Morris <rgm@gnu.org>
901
824eefe4
GM
902 * files.el (hack-dir-local-variables): Warn if try to set
903 coding via dir-locals, since it doesn't work. (Bug#7169)
904
4ad900d9
GM
905 Add desktop support for restoring vc-dir buffers. (Bug#10606)
906 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
907 Set buffer-local value of desktop-save-buffer.
908 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
909 New functions.
910 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
911 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
912
e9df8f87
GM
913 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
914 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
915 Doc fix.
916 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
917 Doc fixes.
918
e7c8fcc4
JB
9192012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
920
921 * calc/calc-forms.el (calc-date-notation): Fix regexp
922 used to find time codes. Fix symbol for seconds.
923
48d6d9c0
GM
9242012-11-27 Glenn Morris <rgm@gnu.org>
925
926 * emacs-lisp/derived.el (derived-mode-make-docstring):
927 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
928
369f945d
SM
9292012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
930
931 * textmodes/table.el (table-insert): Don't use `symbol-name' on
932 lexically scoped variables (bug#13005).
933
5c9cf0a3 9342012-11-27 Glenn Morris <rgm@gnu.org>
98f99594 935
999e745e
GM
936 * vc/vc-hooks.el (vc-mistrust-permissions):
937 Default to t, to avoid data-loss. (Bug#11490)
98f99594 938
5c9cf0a3 9392012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
207cb73c 940
999e745e
GM
941 * progmodes/python.el (python-indent-guess-indent-offset):
942 If indentation is guessed make python-indent-offset buffer-local.
943
207cb73c 944 Fix Imenu regression.
999e745e
GM
945 * progmodes/python.el (python-nav-beginning-of-defun):
946 Fix forward movement when statement(s) separates point from defun.
207cb73c
FEG
947 (python-imenu-prev-index-position): New function.
948
5c9cf0a3 9492012-11-27 Eli Zaretskii <eliz@gnu.org>
33a488e4
EZ
950
951 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
952
953 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
865f7d8f 954 Don't set buffer-file-type. Return nil. (Bug#12989)
33a488e4 955
5c9cf0a3 9562012-11-27 Glenn Morris <rgm@gnu.org>
50207191
GM
957
958 * hippie-exp.el (hippie-expand-try-functions-list):
959 Re-autoload it. (Bug#12982)
960
5c9cf0a3 9612012-11-27 Eli Zaretskii <eliz@gnu.org>
2147c6ab 962
369f945d
SM
963 * descr-text.el (describe-char-padded-string):
964 Call internal-char-font only on GUI frames. (Bug#11964)
2147c6ab 965
5c9cf0a3 9662012-11-27 Andreas Schwab <schwab@linux-m68k.org>
58b1ae1e
AS
967
968 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
969 and obsoletion message.
970
5c9cf0a3 9712012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
35a10516
SM
972
973 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
974 the constructs to keep outside of the `cl-block' (bug#12977).
975
5c9cf0a3 9762012-11-27 Chong Yidong <cyd@gnu.org>
0c5ef133
CY
977
978 * mouse.el (mouse-drag-line): Even if the line is not draggable,
979 keep reading until we get the up-event anyway, in order to process
980 the up-event for mouse-1-click-follows-link (Bug#12971).
981
848a2dd1
SM
9822012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
983
984 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
985 base function is not yet defined (bug#12965).
986 (ad-activate-advised-definition): Use ad-compile-function.
987 (ad-activate): Use cond.
988
9ad79506
LL
9892012-11-25 Leo Liu <sdl.web@gmail.com>
990
991 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
992 (Bug#12979)
993
e2cb57f5
VB
9942012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
995
996 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
997 reftex-section-info-function in order to be compatible with
998 Texinfo integration.
999
1000 * textmodes/reftex.el (reftex-section-pre-regexp)
848a2dd1
SM
1001 (reftex-section-post-regexp, reftex-section-info-function):
1002 New variable.
1003 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
1004 reftex-section-post-regexp, and reftex-section-info-function in order
1005 to be compatible with Texinfo integration.
1006
1007 * textmodes/reftex-toc.el (reftex-toc-promote-action):
1008 use reftex-section-pre-regexp variable in order to be compatible with
e2cb57f5
VB
1009 Texinfo integration.
1010
1c4f115d
CY
10112012-11-25 Chong Yidong <cyd@gnu.org>
1012
1013 * faces.el: Make face-spec-set more analogous to setq.
1014 (face-spec-set): Change the third arg to specify whether this
1015 function is being called via defface, customize, or a third party.
1016 Set the appropriate symbol properties. Clear the override spec if
1017 setting via Custom. Initialize face if necessary. (Bug#4988)
1018 (face-spec-recalc): Allow theme faces to completely replace the
1019 defface spec, in the same way as custom faces (Bug#8454).
1020
1021 * cus-face.el (custom-declare-face): Move face initialization to
1022 face-spec-set.
1023 (custom-theme-set-faces): Don't initialize the face name here, as
1024 that is now done in face-spec-set.
1025
1026 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
1027 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
1028 Simplify by using the new arg to face-spec-set.
1029
1030 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
1031 reset face-override-spec too, and use custom-declare-face.
1032
c2350548
JD
10332012-11-24 Jan Djärv <jan.h.d@swipnet.se>
1034
1035 * term/ns-win.el (ns-initialize-window-system): Move creation of
1036 fontsets here (Bug#11964).
1037
ecfc364c
VB
10382012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
1039
1040 * ses.el (ses-rename-cell): Correct bug on mode-line update after
1041 cell renaming.
1042
0917cc54
CY
10432012-11-24 Chong Yidong <cyd@gnu.org>
1044
433212bf
CY
1045 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
1046 obsolete.
1047
0917cc54
CY
1048 * custom.el (custom-theme-set-variables): Use a topological sort
1049 for ordering by custom dependencies (Bug#12952).
1050 (custom--sort-vars, custom--sort-vars-1): New functions.
1051
d125ca15 10522012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
002c019c
SM
1053
1054 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
1055 lexical-binding (bug#12938).
1056
d125ca15 10572012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
977f9325
WJ
1058
1059 * image-mode.el (image-transform-check-size): Use assertions only
1060 for images of type imagemagick.
1061
1062 Otherwise no error, image-transform-fit-to-{width,height} is
1063 silently ignored, as before. Doc fix.
1064
d125ca15 10652012-11-24 Chong Yidong <cyd@gnu.org>
bccffa83
CY
1066
1067 * faces.el (color-defined-p): Doc fix (Bug#12853).
1068
d125ca15 10692012-11-24 Juri Linkov <juri@jurta.org>
61a2a122
JL
1070
1071 * dired.el (dired-mark): Add optional arg `interactive'.
1072 Check for `use-region-p' if `interactive' is non-nil.
1073 (dired-unmark, dired-flag-file-deletion): Add optional arg
1074 `interactive'. Call `dired-mark' with the arg `interactive'.
1075 (Bug#10624)
1076
cc4c01bd
JL
1077 * wdired.el: Revert 2012-10-17 change partly and replace it with
1078 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
1079 (wdired-finish-edit): Add marks for new file names to
1080 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
1081 after `revert-buffer'.
1082 (wdired-do-renames): Remove calls to `dired-remove-file',
1083 `dired-add-file', `dired-add-entry'. (Bug#11795)
1084
d125ca15 10852012-11-24 Alan Mackenzie <acm@muc.de>
b03aabda 1086
dc310ed0
AM
1087 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
1088
b03aabda
AM
1089 Fix bugs in the state cache. Enhance a debugging mechanism.
1090 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
1091 "brace at column zero" strategy for C++.
1092 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
1093 (c-parse-state-point): New variable.
1094 (c-record-parse-state-state): Record old parse state with
1095 `copy-tree'. Record previous value of point.
1096 (c-debug-parse-state-double-cons): New debugging function.
1097 (c-debug-parse-state): Call the above new function.
1098 (c-toggle-parse-state-debug): Output a confirmatory message.
1099
002c019c
SM
1100 * progmodes/cc-mode.el (c-before-change, c-after-change):
1101 Call c-invalidate-state-cache from `c-before-change' instead of
b03aabda
AM
1102 `c-after-change'.
1103
930a6273
CY
11042012-11-23 Chong Yidong <cyd@gnu.org>
1105
1106 * find-cmd.el (find-constituents): Add executable, ipath,
1107 readable, samefile, writable, daystart, regextype (Bug#12856).
1108
15c9d04e
SM
11092012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
1110
1111 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
1112
2ecb2679
PE
11132012-11-22 Paul Eggert <eggert@cs.ucla.edu>
1114
1115 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
1116 definition. This fixes a bootstrap failure.
a14a5a40
PE
1117 (calc-gregorian-switch): In menu, put dates before regions.
1118 This is easier to follow, lines up better in the menu, and lets us
1119 coalesce regions that switch at the same time. Give country
15c9d04e
SM
1120 names, not "Vatican", as that's better for non-expert users.
1121 Use names that are stable between the date of switch and now, e.g.,
a14a5a40
PE
1122 Bohemia and Moravia (which existed then and now) and not
1123 Czechoslovakia (which didn't exist then and doesn't exist now).
1124 What is now the U.S. mostly did not switch at the same time as
1125 Britain, so omit the U.S. Correct spelling of "Britain".
1126 Catholic Switzerland was too much of a mess, so omit it.
2ecb2679 1127
723da6aa
JB
11282012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
1129
1130 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
1131 after the variable is changed.
1132
21fa2482
DC
11332012-11-21 Daniel Colascione <dancol@dancol.org>
1134
1135 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
b6096e85
DC
1136 in SQL declarations for font-lock.
1137 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
21fa2482 1138
3ca2f1bf
GM
11392012-11-21 Glenn Morris <rgm@gnu.org>
1140
1bf335cf
GM
1141 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
1142 (face-italic-p): Add optional argument "inherit".
1143
3ca2f1bf
GM
1144 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
1145 Remove -p suffix from names, for consistency with other set-face-*.
1146 (set-face-inverse-video): Fix interactive spec.
1147 * play/gamegrid.el (gamegrid-make-mono-tty-face):
1148 * textmodes/table.el (table--update-cell-face):
1149 Use set-face-inverse-video rather than now obsolete alias.
1150
6ef2e5ef 11512012-11-21 Eli Zaretskii <eliz@gnu.org>
7cf95797
EZ
1152
1153 * simple.el (line-move): Don't call line-move-partial if
1154 scroll-conservatively is in effect. (Bug#12927)
1155
6ef2e5ef 11562012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
63f25172 1157
93b05041
SM
1158 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
1159 Fallback on completion-at-point rather than
1160 pcomplete-expand-and-complete, and only if pcomplete actually failed.
1161 (eshell-cmpl-initialize): Setup completion-at-point.
1162
1163 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
1164
bc715d67
SM
1165 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
1166
6ef2e5ef 11672012-11-21 Michael Albinus <michael.albinus@gmx.de>
d7f2a65c
MA
1168
1169 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
1170 are remote, check out-of-band property for both.
1171
6ef2e5ef 11722012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
d1c0cddf
SM
1173
1174 * window.el (switch-to-buffer): Re-add the warning that was lost in the
1175 code rewrite.
1176
6ef2e5ef 11772012-11-21 Paul Eggert <eggert@cs.ucla.edu>
0c93aa38 1178
535efd4a
PE
1179 More minor time fixes.
1180 * calendar/time-date.el: Commentary fix.
1181 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
1182 too much other code depends on (0 0) time stamps.
1183 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
1184 Add a couple of FIXME comments.
1185
0c93aa38
PE
1186 Minor cleanup for times as lists of four integers.
1187 * files.el (dir-locals-directory-cache):
1188 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
1189 Doc fixes.
1190 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
1191 * ps-bdf.el (bdf-file-newer-than-time):
1192 Process four-integers time stamps, not two. Doc fixes.
1193
23ba2705
SM
11942012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
1195
2e31777b
SM
1196 * uniquify.el (uniquify-managed): Use defvar-local.
1197 (rename-buffer, create-file-buffer): Advise with advice-add.
1198 (uniquify-unload-function): Unadvise accordingly.
1199
8b62d742
SM
1200 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
1201 (trace-buffer): Don't purecopy.
1202 (trace-entry-message, trace-exit-message): Add `context' arg.
1203 (trace--timer): New var.
1204 (trace-make-advice): Adjust for use in nadvice.
1205 Add `context' argument. Delay `display-buffer' via a timer.
1206 (trace-function-internal): Use advice-add.
1207 (trace--read-args): New function.
1208 (trace-function-foreground, trace-function-background): Use it.
1209 (trace-function): Rename to trace-function-foreground and redefine as
1210 an alias to that new name.
1211 (untrace-function, untrace-all): Adjust to the use of nadvice.
1212
5d0ccd95
SM
1213 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
1214
3837d988
SM
1215 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
1216
23ba2705
SM
1217 * subr.el (called-interactively-p-functions): New var.
1218 (internal--called-interactively-p--get-frame): New macro.
1219 (called-interactively-p, interactive-p): Rewrite in Lisp.
1220 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
1221 (called-interactively-p-functions): Use it.
1222 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
1223 (called-interactively-p-functions): Use it.
1224 * allout.el (allout-called-interactively-p): Don't assume
1225 called-interactively-p is a subr.
1226
b0636be7
GM
12272012-11-20 Glenn Morris <rgm@gnu.org>
1228
1229 * profiler.el (profiler-report-mode-map): Add a menu.
1230 No need to bind `q' because we derive from special-mode.
1231 (profiler-report-find-entry): Handle calls from the menu-bar.
1232
855b17af
SM
12332012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
1234
14146222
SM
1235 * emacs-lisp/byte-run.el (defun-declarations-alist):
1236 Allow a compiler-macro to be a lambda expression.
1237
1238 * progmodes/python.el: Use cl-lib. Move var declarations outside of
1239 eval-when-compile.
1240 (python-syntax-context): Add compiler-macro.
1241 (python-font-lock-keywords): Simplify with De Morgan.
1242
1000d895
SM
1243 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
1244
ac5392dc
SM
1245 * files.el (load-file): Require match in minibuffer selection, as was
1246 the case in Emacs-20 before we changed the spec to allow .elc files
1247 (bug#12935).
1248
19dc7206
SM
1249 * json.el: Don't require cl since we don't use it.
1250 * color.el: Don't require cl.
1251 (color-complement): `caddr' -> `nth 2'.
1252
855b17af
SM
1253 * calendar/time-date.el (time-to-seconds): De-obsolete.
1254
e8909bdc
JB
12552012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
1256
1257 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
1258 year numbers.
1259 (math-date-to-julian-dt): Adjust the initial approximation for the
1260 year to deal with the new definition of the DATE.
1261
6e9f7997
DC
12622012-11-19 Daniel Colascione <dancol@dancol.org>
1263
855b17af
SM
1264 * term/w32-win.el (cygwin-convert-path-from-windows):
1265 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
6e9f7997 1266
6a3dd257
CY
12672012-11-18 Chong Yidong <cyd@gnu.org>
1268
1269 * filecache.el (file-cache--read-list): New function.
1270 (file-cache-add-directory-list, file-cache-add-file-list)
1271 (file-cache-delete-file-list, file-cache-delete-directory-list):
1272 Use it to read a list of files or directories (Bug#12846).
1273 (file-cache-add-file, file-cache-add-directory)
1274 (file-cache-delete-file-list, file-cache-delete-file-regexp)
1275 (file-cache-delete-directory): Print an message.
1276
eef97f35
JB
12772012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
1278
1279 * calc/calc-forms.el (math-date-to-dt): Use integer date when
1280 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
1281
913c8291
GM
12822012-11-18 Glenn Morris <rgm@gnu.org>
1283
1284 * image.el (insert-image, insert-sliced-image): Doc fix.
1285
2ac9538d 12862012-11-18 Chong Yidong <cyd@gnu.org>
ec6f8ce6
CY
1287
1288 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
1289 (Bug#12810).
1290
2ac9538d 12912012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
c2d07557
CY
1292
1293 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
1294 response when the target file is in a subdirectory (Bug#12757).
1295
2ac9538d 12962012-11-18 Chong Yidong <cyd@gnu.org>
33f8917c
CY
1297
1298 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
1299
2ac9538d 13002012-11-18 Glenn Morris <rgm@gnu.org>
65463c40 1301
9a5e2ee3
GM
1302 * emacs-lisp/cl-lib.el (face-underline-p):
1303 Use set-face-underline rather than the alias set-face-underline-p.
1304
65463c40 1305 * window.el (with-temp-buffer-window): Doc fix.
95f0501e
GM
1306 * subr.el (with-output-to-temp-buffer):
1307 Add doc xref to with-temp-buffer-window.
65463c40 1308
c9ed8e3d
JB
13092012-11-18 Juanma Barranquero <lekktu@gmail.com>
1310
1311 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
1312 * calc/calc.el (math-format-date-cache): Declare.
1313
310e60d9
PE
13142012-11-17 Paul Eggert <eggert@cs.ucla.edu>
1315
6f6b82d6
PE
1316 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
1317 It also uses January 1, 1 AD as its day number 1.
310e60d9 1318 * calc/calc-forms.el (math-julian-date-beginning)
6f6b82d6 1319 (math-julian-date-beginning-int): Implement this.
310e60d9 1320
d7fe6352
JB
13212012-11-17 Juanma Barranquero <lekktu@gmail.com>
1322
1323 * descr-text.el (quail-find-key):
1324 * dired.el (desktop-file-name):
1325 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
1326 * generic-x.el (comint-mode, comint-exec):
1327 * image-dired.el (widget-forward):
1328 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
1329 (speedbar-change-expand-button-char)
1330 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
1331 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
1332 * printing.el (easy-menu-add-item, easy-menu-remove-item)
1333 (widget-field-action, widget-value-set):
1334 * speedbar.el (imenu--make-index-alist):
1335 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
1336 (ring-length, ring-insert):
1337 * vcursor.el (compare-windows-skip-whitespace):
1338 * woman.el (dired-get-filename):
1339 Declare functions.
1340
1341 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
1342
c9f618db
JB
13432012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
1344
1345 * calc/calc.el (calc-gregorian-switch): New variable.
1346
1347 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
1348 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
1349 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
1350 (math-leap-year-p): Add option to distinguish between Julian
1351 and Gregorian calendars.
1352 (math-day-number): Use `math-day-in-year' to do the computations.
1353 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
1354 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
1355 to do the computations.
1356 (math-date-to-dt): Use `math-date-to-julian-dt' and
1357 `math-date-to-gregorian-dt' to do the computations.
1358 (calcFunc-weekday, math-format-date-part): Use the new version of
1359 the DATE to determine the weekday.
1360 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
1361 when necessary.
1362
3804f7bc
EZ
13632012-11-17 Eli Zaretskii <eliz@gnu.org>
1364
1365 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
1366 Cygwin; otherwise use 'file:'. (Bug#12914)
1367 (cygwin-convert-path-from-windows): Declare, to avoid
1368 byte-compiler warnings.
1369
de959d4d
AP
13702012-11-17 Andreas Politz <politza@fh-trier.de>
1371
1372 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
1373 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
1374 prefix and negative numeric prefix args (Bug#12795).
1375
e45deaef
SB
13762012-11-17 Stephen Berman <stephen.berman@gmx.net>
1377
1378 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
1379 Don't signal an error with a score that is too low to add to the
1380 list of top scores. (Bug#12779)
1381
ec15e0ff
CY
13822012-11-17 Chong Yidong <cyd@gnu.org>
1383
8e7696a1
CY
1384 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
1385
ec15e0ff
CY
1386 * filecache.el (file-cache-add-file): Handle relative file name in
1387 the argument (Bug#12694).
1388
60c4ee66
JH
13892012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
1390
1391 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
1392
cdc5d88c
SM
13932012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
1394
dd0c5bbb
SM
1395 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
1396
cdc5d88c
SM
1397 * emacs-lisp/cl-lib.el: Set more meaningful version number.
1398
0ff7851c
MR
13992012-11-16 Martin Rudalics <rudalics@gmx.at>
1400
1401 * window.el (enlarge-window, shrink-window): Don't mention return
1402 value in doc-string (Bug#12896).
1403 (window--display-buffer): Don't resize frames - it won't work
1404 with all window managers and defeat pop-up-frame-alist.
1405 (display-buffer-alist): In doc-string explain that CONDITION can
1406 be a function and which arguments are passed to it (Bug#12854).
1407 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
1408 expressions (Bug#12854).
1409 (display-buffer): Pass ACTION argument to
1410 display-buffer-assq-regexp.
1411
dedd1884
GM
14122012-11-16 Glenn Morris <rgm@gnu.org>
1413
7c82753d
GM
1414 * window.el (fit-frame-to-buffer-bottom-margin)
1415 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
1416
dedd1884
GM
1417 * faces.el (face-underline-p): Use face-attribute-specified-or.
1418
96e05507 14192012-11-16 Juanma Barranquero <lekktu@gmail.com>
662b0ee6
JB
1420
1421 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
1422
96e05507 14232012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
eb31fa40
SM
1424
1425 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
1426
96e05507 14272012-11-16 Glenn Morris <rgm@gnu.org>
e2e13f18 1428
17c083ac
GM
1429 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
1430 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
1431
bde3c6c0
GM
1432 * faces.el (face-underline-p): Doc fix. Handle :underline being
1433 things other than `t' (a string, a list).
1434 (face-inverse-video-p): Doc fix.
1435 (set-face-underline): Rename it back from set-face-underline-p.
1436 Doc fix. Allow interactive input of values other than t.
1437 (read-face-attribute): Apply formatting to :underline,
1438 since like :box and :stipple it can take list values.
1439
e2e13f18
GM
1440 * term.el (ansi-term): Don't let C-x escape-char binding
1441 clobber the more standard C-c binding. (Bug#12842)
1442
e0ea8060
GM
1443 * subr.el (set-temporary-overlay-map): Doc fix.
1444
96e05507 14452012-11-16 Martin Rudalics <rudalics@gmx.at>
92346275
MR
1446
1447 * window.el (record-window-buffer)
1448 (display-buffer-record-window): When copying the markers to
1449 window-point preserve window-point-insertion-type. (Bug#12588)
1450
96e05507 14512012-11-16 Glenn Morris <rgm@gnu.org>
7b1bf173
GM
1452
1453 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
1454 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
1455 Use new names for hooks rather than obsolete aliases.
1456
faeafc01
DC
14572012-11-15 Daniel Colascione <dancol@dancol.org>
1458
1459 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
9533048d
DC
1460 prefix instead of "file:" so that when FILE-NAME begins with "//",
1461 as it does when the target file is on a network share, url-handler
1462 isn't confused.
1463
1232d6c2
SM
14642012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
1465
1466 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
1467 a preactivated advice from an old advice.el; they're not compatible!
1468
47f01a8a
KY
14692012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
1470
1471 * emacs-lisp/nadvice.el (advice--make-interactive-form):
1472 Fix string-spec case.
1473
1474 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
1475
a61428c4
SM
14762012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
1477
1478 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
1479 (advice--buffer-local-function-sample): New var.
1480 (advice--set-buffer-local, advice--buffer-local): New functions.
1481 (add-function, remove-function): Use them.
1482
875ce3a7
DA
14832012-11-15 Drew Adams <drew.adams@oracle.com>
1484
1485 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
1486
589fc479
SM
14872012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
1488
1489 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
1490 potential binding of print-gensym to t, and prettify (back)quotes in
1491 case they appear in args's default values (bug#12884).
1492
1668ea90
SM
14932012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1494
1495 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
1496 (advice-eval-interactive-spec): New function.
1497 (advice--make-interactive-form): Support around advice (bug#12844).
1498
8619323f
DG
14992012-11-14 Dmitry Gutov <dgutov@yandex.ru>
1500
1501 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
1502 more strict. Add docstring.
c62792e7
DG
1503 (ruby-expression-expansion-re): Extract from
1504 `ruby-match-expression-expansion'.
1505 (ruby-syntax-propertize-function): After everything else, search
1506 for expansions in string literals, mark their insides as
1507 whitespace syntax and save match data for font-lock.
1508 (ruby-font-lock-keywords): Use the 2nd group from expression
1509 expansion matches.
1510 (ruby-match-expression-expansion): Use the match data saved to the
1511 text property in ruby-syntax-propertize-function.
8619323f 1512
9c3912d3
SM
15132012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1514
1515 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
1516 (bug#12879).
1517
5e9419e8
DG
15182012-11-13 Dmitry Gutov <dgutov@yandex.ru>
1519
1520 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
1521 start/end keyword a bit harder. Works with different values of N.
1522 Add more comments.
1523 (ruby-end-of-block): Update accordingly.
1524
3c442f8b
SM
15252012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
1526
fa470af0
SM
1527 * woman.el (woman-file-name): Don't mess with unread-command-events
1528 (bug#12861).
1529
3c442f8b
SM
1530 * emacs-lisp/advice.el: Layer on top of nadvice.el.
1531 Remove out of date self-require hack.
1532 (ad-do-advised-functions): Use simple `dolist'.
1533 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
1534 (ad-advice-definition): Redefine as functions.
1535 (ad-advice-classes): Move before first use.
1536 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
fa470af0 1537 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
3c442f8b 1538 (ad--defalias-fset): Remove functions.
fa470af0 1539 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
3c442f8b
SM
1540 (ad-get-orig-definition): Rewrite.
1541 (ad-make-advised-definition-docstring): Change base docstring.
1542 (ad-real-orig-definition): Rewrite.
1543 (ad-map-arglists): Change name of called function.
1544 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
1545 (ad-make-advised-definition): Simplify.
1546 (ad-assemble-advised-definition): Tweak for new calling context.
fa470af0 1547 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
3c442f8b
SM
1548 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
1549 function and call ad-activate if needed.
1550 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
1551 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
1552 (ad-compile-function): Compile ad-Advice-*.
1553 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
1554 (ad-start-advice, ad-stop-advice): Remove.
1555
5745cae6
DG
15562012-11-13 Dmitry Gutov <dgutov@yandex.ru>
1557
1558 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
1559 period before class method names, not after. Remove handling of
1560 one impossible case. Add comments.
1561
413d4689
SM
15622012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
1563
7db1bda8
SM
1564 * emacs-lisp/advice.el: Remove support for freezing.
1565 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
1566 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
1567 Remove support for `freeze'.
1568
413d4689
SM
1569 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
1570 override the default.
1571 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
1572 cl--dotimes/dolist.
1573 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
1574 `cl' is loaded.
1575
1576 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
1577 from add-advice.
1578 (advice--strip-macro): New function.
1579 (advice--defalias-fset): Use them to handle macros.
1580 (advice-add): Use them.
1581 (advice-member-p): Correctly handle macros.
1582
f178c32d
DG
15832012-11-13 Dmitry Gutov <dgutov@yandex.ru>
1584
7db1bda8
SM
1585 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1586 Never font-lock the beginning of singleton class as heredoc.
f178c32d 1587
f78ee6af 15882012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
f8705f6e
SM
1589
1590 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
1591
f78ee6af 15922012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
9db94175
WJ
1593
1594 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
f78ee6af
GM
1595 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
1596 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
9db94175 1597
f78ee6af 15982012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
2e6625b5
FEG
1599
1600 Fix end-of-defun misbehavior.
1601 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
1602 python-beginning-of-defun-function. Handle nested defuns
1603 correctly.
1604 (python-nav-end-of-defun): Rename from
1605 python-end-of-defun-function. Ensure forward movement.
f8705f6e 1606 (python-info-current-defun): Reimplement to work as intended
2e6625b5
FEG
1607 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
1608 parent defuns as soon as possible.
1609
f78ee6af 16102012-11-13 Glenn Morris <rgm@gnu.org>
24c38527
GM
1611
1612 * progmodes/flymake.el (flymake-error-bitmap)
1613 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
1614 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
1615
f78ee6af 16162012-11-13 Dmitry Gutov <dgutov@yandex.ru>
d1e1e53d
DG
1617
1618 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
1619 backward, always stop at indentation. Reverts the change from
1620 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
1621
f78ee6af 16222012-11-13 Glenn Morris <rgm@gnu.org>
68146aa5 1623
a1d3e07e
GM
1624 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
1625 Add ibuffer-filter-by-derived-mode.
1626
84acf328
GM
1627 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
1628 the same name shadowing each other.
1629
38785e75
GM
1630 * window.el (with-temp-buffer-window): Doc tweak.
1631
57fc0fee
GM
1632 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
1633
6ba6a3e5
GM
1634 * help.el (temp-buffer-max-height):
1635 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
68146aa5
GM
1636 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
1637
231d8498
SM
16382012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
1639
1640 * emacs-lisp/nadvice.el: New package.
1641 * subr.el (special-form-p): New function.
1642 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
1643 (elp-all-instrumented-list): Remove var.
1644 (elp-not-profilable): Remove elp-wrapper.
1645 (elp-profilable-p): Use autoloadp and special-form-p.
1646 (elp--advice-name): New const.
1647 (elp-instrument-function): Use advice-add.
1648 (elp--instrumented-p): New predicate.
1649 (elp-restore-function): Use advice-remove.
1650 (elp-restore-all, elp-reset-all): Use mapatoms.
1651 (elp-set-master): Use elp--instrumented-p.
1652 (elp--make-wrapper): Rename from elp-wrapper, return a function
1653 suitable for advice-add. Use cl-inf.
1654 (elp-results): Use mapatoms+elp--instrumented-p.
1655 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
1656 (debug-function-list): Remove var.
1657 (debug): Rename arg, and then let-bind it explicitly inside.
1658 (debugger-setup-buffer): Rename arg.
1659 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
1660 (debugger-frame-number): Adjust to new debug-on-entry setup.
1661 (debug--implement-debug-on-entry): Rename from
1662 implement-debug-on-entry, add argument.
1663 (debugger-special-form-p): Remove, use special-form-p instead.
1664 (debug-on-entry): Use advice-add.
1665 (debug--function-list): New function.
1666 (cancel-debug-on-entry): Use it, along with advice-remove.
1667 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
1668 (debugger-list-functions): Use debug--function-list instead of
1669 debug-function-list.
1670 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
1671 (ad-special-form-p): Remove, use special-form-p instead.
1672 (ad-set-advice-info): Use add-function and remove-function.
1673 (ad--defalias-fset): Adjust accordingly.
1674
19e09879
GM
16752012-11-10 Glenn Morris <rgm@gnu.org>
1676
714cebd1
GM
1677 * mail/emacsbug.el (report-emacs-bug-tracker-url)
1678 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
1679 (report-emacs-bug-create-existing-bugs-buffer)
1680 (report-emacs-bug-parse-query-results)
1681 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
1682
bf67dafa
GM
1683 * term.el (term-default-fg-color, term-default-bg-color):
1684 Make obsolete, rather than just saying "deprecated" in the doc.
1685
19e09879
GM
1686 * term.el (term): Rename from `term-face'.
1687 (term-current-face, ansi-term-color-vector)
1688 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
1689 Update all users.
1690
6baf66d5 16912012-11-10 Jan Djärv <jan.h.d@swipnet.se>
531bdce6
JD
1692
1693 * server.el (server-create-window-system-frame): Handle Nextstep
1694 specially (Bug#12780).
1695
6baf66d5 16962012-11-10 Glenn Morris <rgm@gnu.org>
fedb154e
GM
1697
1698 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
1699 Unautoload, and make obsolete. (Bug#7449)
1700
6baf66d5 17012012-11-10 Chong Yidong <cyd@gnu.org>
9d9e48d9
CY
1702
1703 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
1704 rename from diff-remove-trailing-whitespace (Bug#12831).
1705
6baf66d5 17062012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
32170f7f
SM
1707
1708 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
1709 miscompilation of trace.el.
1710
6baf66d5 17112012-11-10 Glenn Morris <rgm@gnu.org>
26f59676
GM
1712
1713 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
1714
6baf66d5 17152012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
41626722
SM
1716
1717 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
1718 (bug#12812).
1719
6baf66d5 17202012-11-10 Chong Yidong <cyd@gnu.org>
7d806bfe
CY
1721
1722 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
1723 a defcustom with an appropriate :set function.
1724 (minibuffer-default--in-prompt-regexps): New function.
1725
6baf66d5 17262012-11-10 Glenn Morris <rgm@gnu.org>
2ee1d59f 1727
031b2ea7
GM
1728 * emacs-lisp/cl.el (define-setf-expander, defsetf)
1729 (define-modify-macro): Doc fixes.
1730
2ee1d59f
GM
1731 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
1732 (gv-define-simple-setter): Update doc of `fix-return'.
1733
6baf66d5 17342012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
d57c286e 1735
b715ed44
SM
1736 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
1737 twice when `fix-return' is set (bug#12813).
1738
d57c286e
SM
1739 * emacs-lisp/cl.el (defsetf): Pass the third arg to
1740 gv-define-simple-setter (bug#12812).
1741
c9cac599
SM
1742 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
1743 (bug#12756).
1744
6baf66d5 17452012-11-10 Glenn Morris <rgm@gnu.org>
6b3770fb
GM
1746
1747 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
1748
5593ed90
GM
1749 * emacs-lisp/cl-extra.el (cl-prettyexpand):
1750 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
1751 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
1752 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
1753
1754 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
1755
05a859c1
LL
17562012-11-10 Leo Liu <sdl.web@gmail.com>
1757
1758 * ido.el (ido-set-matches-1): Improve flex matching performance by
1759 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
1760
32e5c58c
SM
17612012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1762
1763 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
1764 (ad--defalias-fset): New function.
1765 (ad-safe-fset): Remove.
1766 (ad-make-freeze-definition): Use cl-letf*.
1767
f5925cd9
SM
17682012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1769
da03ef8a
SM
1770 * subr.el (dolist): Don't bind VAR in RESULT.
1771
6858633a
SM
1772 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
1773 (fset, documentation): Don't save real def since we don't advise.
1774 (ad-do-advised-functions): Remove problematic `result-form'.
1775 (ad-safe-fset): `ad-real-fset' => `fset'.
1776 (ad-read-advised-function): Don't assume that ad-do-advised-functions
1777 uses CL's dolist internally.
1778 (ad-arglist): Remove unused arg `name'.
1779 (ad-docstring, ad-make-advised-docstring):
1780 `ad-real-documentation' => `documentation'.
1781 (warning-suppress-types): Declare.
1782 (ad-set-arguments): Simple CSE.
1783 (ad-recover-normality): Sanity check.
1784
f5925cd9
SM
1785 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
1786 (funcall '(lambda ..) ..) into ((lambda ..) ..).
1787
93a66b3a
VB
17882012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
1789
1790 * ses.el: symbol to coordinate mapping is made by symbol property
f5925cd9
SM
1791 `ses-cell'. This means that the same mapping is done for all SES
1792 sheets. That is good enough for cells with standard A1 names, but
1793 not for named cell. So a hash map is added for the latter.
1794 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
93a66b3a
VB
1795 (ses-sym-rowcol): Use hashmap for named cell.
1796 (ses-is-cell-sym-p): New defun.
1797 (ses-decode-cell-symbol): New defun.
f5925cd9
SM
1798 (ses-create-cell-variable): Add cell to hashmap when name is not
1799 A1-like.
93a66b3a
VB
1800 (ses-rename-cell): Check that cell new name is not already in
1801 spreadsheet with the use of ses-is-cell-sym-p
1802 (ses-rename-cell): Use hash map for named cells, but accept also
1803 renaming back to A1-like.
1804
67dd8ad1
SM
18052012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1806
57618ecf
SM
1807 * emacs-lisp/advice.el: Use new dynamic docstrings.
1808 (ad-make-advised-definition-docstring, ad-advised-definition-p):
1809 Use dynamic-docstring-function instead of ad-advice-info.
1810 (ad--make-advised-docstring): New function extracted from
1811 ad-make-advised-docstring.
1812 (ad-make-advised-docstring): Use it.
1813 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
1814 from sql-help.
1815 (sql-help): Use it with dynamic-docstring-function.
1816
67dd8ad1
SM
1817 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
1818
be883b34
SM
18192012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1820
d41706aa
SM
1821 * files.el (hack-one-local-variable--obsolete): New function.
1822 (hack-one-local-variable): Use it for obsolete settings.
1823
85e55412
SM
1824 * subr.el (locate-user-emacs-file): If both old and new name exist, use
1825 the new name.
1826
be883b34
SM
1827 * progmodes/js.el (js--filling-paragraph): New var.
1828 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
1829 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
1830 less sneaky.
1831
cabc040a
JD
18322012-11-08 Julien Danjou <julien@danjou.info>
1833
1834 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
1835 `auto-mode-alist' (Bug#12835).
1836
d14bb752
SM
18372012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1838
79b3e376
SM
1839 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
1840 (perl--prettify-symbols-alist): New const.
1841 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
1842 New functions.
1843 (perl-font-lock-keywords-2): Use them.
1844 (perl-electric-noindent-p): New function.
1845 (perl-mode): Use it to set up electric-indent-mode.
1846 (perl-electric-terminator, perl-indent-command): Mark obsolete.
1847 (perl-mode-map): Remove bindings for them.
1848 (perl-imenu-generic-expression, perl-outline-level):
1849 Match functions&packages in column>0.
1850
3b11e6ac
SM
1851 * env.el (env--substitute-vars-regexp): New const.
1852 (substitute-env-vars): Use it. Add `only-defined' arg.
1853 * net/tramp.el (tramp-replace-environment-variables): Use it.
1854
784c1a7b
SM
1855 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
1856 Byte-compile *before* eval in eval-and-compile.
1857 (byte-compile-log-warning): Remove redundant inhibit-read-only.
1858 (byte-compile-file-form-autoload): Don't hide actual definition.
1859 (byte-compile-maybe-guarded): Accept `functionp' as well.
1860
d14bb752
SM
1861 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
1862
499a0f7a
MA
18632012-11-07 Michael Albinus <michael.albinus@gmx.de>
1864
1865 * notifications.el (notifications-get-server-information-method):
1866 New defconst.
1867 (notifications-get-capabilities): Fix docstring.
1868 (notifications-get-server-information): New defun.
1869
f0704a9a
AM
18702012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1871
1872 * textmodes/ispell.el (ispell-region): Standard re-indent for better
1873 readability.
1874
b159a1fd
AM
1875 * textmodes/ispell.el: Experimental support for support debugging.
1876 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
1877 buffer for ispell.
1878 (ispell-print-if-debug): New function to print stuff to
1879 `ispell-debug-buffer' if debugging is enabled.
1880 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
1881 show some debugging info.
1882 (ispell-buffer-with-debug): New function that creates a debugging
1883 buffer and calls `ispell-buffer' with debugging enabled.
1884
056cb3a1
AM
1885 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
1886 comment in autoconf mode. (Bug#12768)
1887
8e6a67b7
DA
18882012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
1889
1890 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
1891 frame-first-window, frame-root-window, frame-selected-window,
1892 minibuffer-selected-window, minibuffer-window,
1893 window-absolute-pixel-edges, window-at, window-body-height,
1894 window-body-width, window-display-table, window-combination-limit,
1895 window-frame, window-fringes, window-inside-absolute-pixel-edges,
1896 window-inside-edges, window-inside-pixel-edges, window-left-child,
1897 window-left-column, window-margins, window-next-buffers,
1898 window-next-sibling, window-new-normal, window-new-total,
1899 window-normal-size, window-parameter, window-parameters, window-parent,
1900 window-pixel-edges, window-point, window-prev-buffers,
1901 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
1902 window-start, window-text-height, window-top-child, window-top-line,
1903 window-total-height, window-total-width and window-use-time to the list
1904 of functions without side-effects.
1905 (toplevel): Add window-valid-p to the list of error-free functions
1906 without side-effects.
1907
53fc914f
AM
19082012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1909
f5925cd9
SM
1910 * textmodes/ispell.el (ispell-program-name):
1911 Update spellchecker parameters when customized.
53fc914f 1912
9749e2b0
GM
19132012-11-04 Glenn Morris <rgm@gnu.org>
1914
1915 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
1916
2cbafa56
CY
19172012-11-04 Chong Yidong <cyd@gnu.org>
1918
1919 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
1920 same-window-* variables.
1921
85178ca1
JL
19222012-11-04 Juri Linkov <juri@jurta.org>
1923
1924 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
1925 (isearch-describe-key, isearch-describe-mode): Use a display
1926 action instead of binding same-window-* variables (Bug#10040).
1927
5c677d44
GM
19282012-11-03 Glenn Morris <rgm@gnu.org>
1929
49138400
GM
1930 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
1931 Rename handler properties back from cl-- to cl-. (Bug#12788)
1932
5c677d44
GM
1933 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
1934
1d4341f9
EZ
19352012-11-03 Eli Zaretskii <eliz@gnu.org>
1936
1937 * term/pc-win.el: Don't load term/internal from here.
1938
1939 * loadup.el: Load term/internal from here.
1940
12fd5ee1
FEG
19412012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
1942
1943 * progmodes/python.el (inferior-python-mode): Fix hang in
1944 jit-lock (Bug#12645).
1945
43bcfda6
MR
19462012-11-03 Martin Rudalics <rudalics@gmx.at>
1947
1948 * window.el (switch-to-visible-buffer)
1949 (switch-to-buffer-preserve-window-point): Fix doc-strings.
1950
376a8e83
GM
19512012-11-03 Glenn Morris <rgm@gnu.org>
1952
1953 * emacs-lisp/cl-lib.el (cl--random-time):
1954 Rename from cl-random-time. (Bug#12773)
1955 (cl--gensym-counter, cl--random-state): Update callers.
1956 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
1957
0f7b074f
CY
19582012-11-03 Chong Yidong <cyd@gnu.org>
1959
1960 * cus-start.el: Make cursor-type customizable (Bug#11633).
1961
3a6851d9
GM
19622012-11-02 Glenn Morris <rgm@gnu.org>
1963
00a3b041
GM
1964 * filecache.el: No need to load find-lisp when compiling.
1965 (find-lisp-find-files): Autoload it.
1966 (file-cache-add-directory-recursively): Don't require find-lisp.
1967
11fef14a
GM
1968 * image.el (image-type-from-file-name): Trivial simplification.
1969
3a6851d9
GM
1970 * emacs-lisp/bytecomp.el (byte-compile-eval):
1971 Decouple "noruntime" and "cl-functions" warnings.
1972
b4b096e4
SB
19732012-11-01 Stephen Berman <stephen.berman@gmx.net>
1974
1975 * play/gomoku.el (gomoku-display-statistics): Update mode line
1976 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
1977
218e997a
MR
19782012-10-31 Martin Rudalics <rudalics@gmx.at>
1979
1980 * window.el (quit-restore-window): If the window has been
1981 created on an existing frame and ended up as the sole window on
1982 that frame, do not delete it (Bug#12764).
1983
b08b6da7
SM
19842012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
1985
3618df45
SM
1986 * progmodes/sh-script.el (sh--inside-noncommand-expression):
1987 Rename from sh--inside-arithmetic-expression, handle more cases
1988 (bug#11263).
1989
b08b6da7
SM
1990 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
1991 (sh-font-lock-open-heredoc): Use it (bug#12770).
1992
4ddedf94
GM
19932012-10-30 Glenn Morris <rgm@gnu.org>
1994
f43a5263
GM
1995 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
1996
4ddedf94
GM
1997 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
1998
748b0d84
CY
19992012-10-29 Chong Yidong <cyd@gnu.org>
2000
b5dd9a77
CY
2001 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
2002 function key is stored in a keyboard macro (Bug#4894).
2003
748b0d84
CY
2004 * thingatpt.el (number-at-point): Apply a thing-at-point property.
2005
e07fcbdc
SM
20062012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2007
d7f9cc85
SM
2008 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
2009 header comments".
2010 (diff-unified->context, diff-context->unified)
2011 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
2012
c606253c
SM
2013 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
2014
e07fcbdc
SM
2015 * files.el (find-alternate-file): Only ask one question (bug#12487).
2016
894b9dd9
CY
20172012-10-29 Chong Yidong <cyd@gnu.org>
2018
1dc2755a
CY
2019 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
2020 Suggested by Dan Nicolaescu (Bug#6326).
2021
329c48d8
CY
2022 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
2023
2230fa5b 2024 * startup.el (fancy-about-screen): Don't message (Bug#12680).
5c2f2631 2025
e84cad57
CY
2026 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
2027
1913c5f5
CY
2028 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
2029
894b9dd9
CY
2030 * face-remap.el (face-remap-add-relative): Handle the case where a
2031 face-remapping-alist entry is a cons cell (Bug#12762).
2032
329c48d8
CY
20332012-10-29 Kevin Ryde <user42@zip.com.au>
2034
2035 * woman.el (woman-parse-numeric-value): Handle picas correctly
2036 (Bug#12639).
2037
a0ccbcbd
GM
20382012-10-29 Glenn Morris <rgm@gnu.org>
2039
2040 * emacs-lisp/cl.el (defsetf): Doc fix.
2041
b3871e59
SM
20422012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2043
2044 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
2045 syntax to the matching opener, if any (bug#12547).
2046 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
2047 matching open as a "case-(".
2048 (sh-smie-rc-grammar): Add a corresponding rule for it.
2049
cd44022c
DH
20502012-10-28 Daniel Hackney <dan@haxney.org>
2051
2052 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
2053 "PKGNAME-autoloads.el" in case we created it.
2054
70edffb1
SM
20552012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
2056
86957a0c
SM
2057 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
2058 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
b9383404 2059 (completion--twq-all): Disable too-strict assertions.
86957a0c 2060
70edffb1
SM
2061 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
2062
d069271c
EZ
20632012-10-27 Eli Zaretskii <eliz@gnu.org>
2064
2065 * profiler.el (profiler-report-make-entry-part): Fix help-echo
2066 text to match the real keybindings.
2067
e2f022a3
JL
20682012-10-27 Juri Linkov <juri@jurta.org>
2069
2070 * wdired.el (wdired-keep-marker-rename): New defcustom.
2071 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
2072 (Bug#11795)
2073
2074 * dired.el (dired-keep-marker-rename): Add reference to
2075 `wdired-keep-marker-rename' in the docstring.
2076 Add default character value ?R to display initially in
2077 Customization UI instead of ?@.
2078
df171c23
MR
20792012-10-27 Martin Rudalics <rudalics@gmx.at>
2080
2081 * window.el (display-buffer): In doc-string describe
2082 window-height and window-width alist entries.
2083
2084 * time.el (display-time-world): Restore fit-window-to-buffer
2085 behavior.
2086
05b621a6
CY
20872012-10-27 Chong Yidong <cyd@gnu.org>
2088
2089 * subr.el (insert-buffer-substring-as-yank): Doc fix.
2090
55f197b2
J
20912012-10-26 Jambunathan K <kjambunathan@gmail.com>
2092
2093 * minibuffer.el (completion-category-overrides): New completion
2094 category `bookmark' (bug#11131).
2095
372212df
SM
20962012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
2097
150f809c
SM
2098 * emacs-lisp/advice.el (ad-assemble-advised-definition):
2099 Silence bogus compiler warnings for ad-do-it.
2100
372212df
SM
2101 * bookmark.el (bookmark-completing-read): Set the completion category
2102 to `bookmark' (bug#11131).
2103
c5772569
B
21042012-10-26 Bastien <bzg@altern.org>
2105 Stefan Monnier <monnier@iro.umontreal.ca>
2106
2107 * face-remap.el: Use lexical-binding.
2108 (text-scale-adjust): Improve docstring. Use itself for the temporary
2109 overlay-map bindings, so as to repeat the "Use..." message each time.
2110
a2be0357
SM
21112012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
2112
63314e57
SM
2113 * emacs-lisp/macroexp.el (macroexp--expand-all):
2114 Obey byte-compile-warning-enabled-p (bug#12486).
2115
a2be0357
SM
2116 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
2117 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
2118
8c7727c3
MR
21192012-10-26 Martin Rudalics <rudalics@gmx.at>
2120
2121 * mouse.el (mouse-drag-line): Move last form into preceding when
2122 clause (Bug#12731).
2123
2124 * help.el (resize-temp-buffer-window): Fix doc-string.
2125
3f2a848d
DE
21262012-10-25 David Engster <deng@randomsample.de>
2127
2128 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
a2be0357 2129 Remove. This feature is already integrated in imenu.
3f2a848d
DE
2130
2131 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
2132 always loaded. Require `speedbar' unconditionally.
2133
a7723be6
SM
21342012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2135
aaabfc8b
SM
2136 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
2137
414a8595
SM
2138 * minibuffer.el (minibuffer-force-complete): Fix thinko.
2139
fb5b9475
SM
2140 * net/ldap.el (ldap-search-internal): The official ldif format starts
2141 with a "version: 1" header (bug#12724).
2142
a7723be6
SM
2143 * emacs-lisp/package.el (package-installed-p): Warn if not ready
2144 (bug#12721).
2145
a05cb6e3
GM
21462012-10-25 Glenn Morris <rgm@gnu.org>
2147
2148 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
2149
3c92de70
SM
21502012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2151
2152 * minibuffer.el (minibuffer-force-complete): Use one more marker
2153 for the temporary-overlay-map command (bug#12619).
2154
a4b6d7c6
CY
21552012-10-24 Chong Yidong <cyd@gnu.org>
2156
2157 * time.el (display-time-world-mode): Derive from special-mode.
2158 (display-time-world): Use display-buffer (Bug#12708).
2159 (display-time-world-mode-map): Variable deleted.
9321d8d7
CY
2160 (display-time-world-display): Wrap the final delete-char inside
2161 inhibit-read-only.
a4b6d7c6 2162
75e8f9d2
CY
21632012-10-24 Chong Yidong <cyd@gnu.org>
2164
cd996018
CY
2165 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
2166 Doc fix.
2167
75e8f9d2
CY
2168 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
2169
d92df117
SM
21702012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2171
2172 * minibuffer.el (completion--all-sorted-completions-location): New var.
2173 (completion--cache-all-sorted-completions)
2174 (completion--flush-all-sorted-completions): Use it.
2175 (completion-in-region, completion-in-region--postch)
2176 (completion-at-point, completion-help-at-point): Use markers in
2177 completion-in-region--data (bug#12619).
2178
9c3e39f3
SM
21792012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2180
c79825bd
SM
2181 * progmodes/compile.el (compilation-start): Try to handle common
2182 quoting of `cd' argument (bug#12640).
2183
9c3e39f3
SM
2184 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
2185 (bug#12671).
2186
a6709bc7
GM
21872012-10-23 Glenn Morris <rgm@gnu.org>
2188
2189 * progmodes/gud.el (gud-menu-map):
2190 Check gdb-active-process is bound. (Bug#12358)
2191
d1069532
SM
21922012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2193
d20d69c0
SM
2194 * repeat.el (repeat): Set real-this-command (bug#12232).
2195
d1069532
SM
2196 * htmlfontify.el (hfy-post-html-hook):
2197 * filesets.el (filesets-cache-fill-content-hook):
2198 * arc-mode.el (archive-extract-hook):
2199 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
2200 * net/rcirc.el (rcirc-sentinel-functions)
2201 (rcirc-receive-message-functions, rcirc-activity-functions)
2202 (rcirc-print-functions):
2203 * net/dbus.el (dbus-event-error-functions):
2204 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
2205 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
2206 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
2207 * term/sun.el (sun-raw-prefix-hooks):
2208 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
2209
f7eac6d8
MA
22102012-10-23 Michael Albinus <michael.albinus@gmx.de>
2211
d1069532
SM
2212 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
2213 Set `tramp-chunksize' to 1. This improves the performance.
f7eac6d8
MA
2214 (tramp-smb-wait-for-output): Add timeout to
2215 `tramp-accept-process-output' calls.
2216
608d9d7c
CY
22172012-10-23 Chong Yidong <cyd@gnu.org>
2218
49238e7f
CY
2219 * faces.el (font-list-limit): Define as an obsolete variable.
2220
2221 * startup.el (command-line):
2222 * cus-start.el: Don't refer to font-list-limit.
2223
608d9d7c
CY
2224 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
2225
4ff5b1b2
SM
22262012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2227
2228 * subr.el (internal-temp-output-buffer-show): Rename from
2229 temp-output-buffer-show, since previously compiled files expect this name.
2230
ea1d4aac
GM
22312012-10-23 Glenn Morris <rgm@gnu.org>
2232
2233 * image.el (image-type-from-file-name): If multiple types match,
2234 return the first one that is supported. (Bug#9045)
2235
eda82a31
GM
22362012-10-22 Glenn Morris <rgm@gnu.org>
2237
2238 * image.el (imagemagick-enabled-types): Doc fix.
2239
4f020bec
TA
22402012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
2241
2242 * progmodes/which-func.el (which-func-current): The hash-table may have
2243 an explicit nil (bug#12338).
2244
c77d37e2
SM
22452012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
2246
2247 * electric.el (electric-pair-delete-selection-self-insert-function):
2248 Rename to electric-pair-will-use-region, return a boolean.
2249 (electric-pair-mode): Adjust accordingly. Don't require delsel.
2250
2251 * delsel.el (delete-selection-helper): Use a function instead of a hook.
2252 (delete-selection-pre-hook): Use use-region-p.
2253 (delete-selection-self-insert-function): Remove.
2254 (self-insert-command): Obey self-insert-uses-region-functions.
2255 (self-insert-iso): Revert to previous setting, since we don't actually
2256 know what that command does.
2257 (delete-selection-self-insert-hooks): Remove.
2258
b1d39ccc
SL
22592012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
2260
2261 * delsel.el (delete-selection-helper): New function, extracted from
2262 delete-selection-pre-hook.
2263 (delete-selection-pre-hook): Use it.
2264 (delete-selection-self-insert-function): New function.
2265 (delete-selection-self-insert-hooks): New hook.
2266 (self-insert-command, self-insert-iso): Use it.
2267 * electric.el (electric-pair-syntax): New function, extracted from
2268 electric-pair-post-self-insert-function.
2269 (electric-pair-post-self-insert-function): Use it.
2270 (electric-pair-delete-selection-self-insert-function): New function.
2271 (electric-pair-mode): Require delsel and setup
2272 delete-selection-self-insert-hooks (bug#11520).
2273
045ef729
CY
22742012-10-20 Chong Yidong <cyd@gnu.org>
2275
4c5d08a8
CY
2276 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
2277 no changes to show (Bug#12586).
2278
045ef729
CY
2279 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
2280 list explicitly (Bug#12571).
2281
3503c798 22822012-10-20 Arne Jørgensen <arne@arnested.dk>
79e1997a 2283
b1d39ccc
SL
2284 * progmodes/flymake.el (flymake-create-temp-inplace):
2285 Use file-truename.
79e1997a 2286
2068905b
EZ
22872012-10-20 Eli Zaretskii <eliz@gnu.org>
2288
2289 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
2290
4c9e9550
JB
22912012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
2292
2293 * calc/calc-units.el (math-extract-units): Properly extract powers
2294 of units.
2295
1a6e7e38
DC
22962012-10-20 Daniel Colascione <dancol@dancol.org>
2297
2298 * frame.el (make-frame): Set x-display-name as we used to in order
2299 to unbreak creating an X11 frame from an Emacs daemon started
2300 without a display.
2301
8e808318
SM
23022012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2303
2304 * minibuffer.el (minibuffer-force-complete): Make the next completion use
f5925cd9 2305 the same completion-field (bug#12221).
8e808318 2306
fb0104da
MR
23072012-10-19 Martin Rudalics <rudalics@gmx.at>
2308
2309 * emacs-lisp/debug.el (debug): Record height of debugger window
2310 also when debugger will be back (Bug#8789).
2311
8c27235e
CY
23122012-10-18 Chong Yidong <cyd@gnu.org>
2313
2314 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
2315 Convert to defcustom.
2316 (gdb-get-source-file): Don't bind pop-up-windows.
2317
2318 * progmodes/gud.el (gud-display-line): Don't specially re-use
2319 other frames for the gdb-mi case (Bug#12648).
2320
90eacf99
SM
23212012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
2322
aaf0c300
SM
2323 * emacs-lisp/advice.el: Clean up commentary a bit.
2324 (ad-do-advised-functions, ad-with-originals): Use `declare'.
2325 (byte-code-function-p): Never redefine.
2326
90eacf99
SM
2327 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
2328
281c9d2b
GM
23292012-10-18 Glenn Morris <rgm@gnu.org>
2330
40714e3d
GM
2331 * dired.el (dired-sort-toggle): Some ls implementations only allow
2332 a single option string. (Bug#12666)
2333
281c9d2b
GM
2334 * minibuffer.el (completion-cycle-threshold): Doc fix.
2335
b278604e
KH
23362012-10-17 Kenichi Handa <handa@gnu.org>
2337
90eacf99
SM
2338 * international/mule.el (set-keyboard-coding-system):
2339 Recover input meta mode when the new coding system doesn not use 8-bit.
b278604e
KH
2340 Supply TERMINAL arg to set-input-meta-mode.
2341
df171c23 23422012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
7ebc5f5a
MH
2343
2344 * wdired.el (wdired-old-marks): New variable.
2345 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
2346 (wdired-do-renames): Move point with renamed file and don't lose
2347 mark status (Bug#11795).
2348
e5a94ec4
JL
23492012-10-16 Juri Linkov <juri@jurta.org>
2350
2351 * replace.el (query-replace-help): Mention multi-buffer replacement
2352 keys in the Help message. (Bug#12655)
2353
d18a0d24
CY
23542012-10-15 Chong Yidong <cyd@gnu.org>
2355
2356 * emacs-lisp/byte-run.el (defsubst): Doc fix.
2357
8111f5e6
EZ
23582012-10-14 Eli Zaretskii <eliz@gnu.org>
2359
7b9abf24
EZ
2360 * window.el (display-buffer): Doc fix.
2361
8111f5e6
EZ
2362 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2363 Adjust the msft regexp to the output of Studio 2010, and move msft
2364 before edg-1. See the discussion on emacs-devel,
2365 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
2366 for the details.
2367
5046ef67
SM
23682012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
2369
9760c73c
SM
2370 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
2371 (oset): Move uses of object-class-fast macro after its definition.
2372
5046ef67
SM
2373 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
2374
0d11ff1c
CY
23752012-10-13 Chong Yidong <cyd@gnu.org>
2376
2377 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
2378 enabled, re-enable it (Bug#11963).
2379
88ded8ac
MR
23802012-10-13 Martin Rudalics <rudalics@gmx.at>
2381
2382 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
2383 non-nil, restore window configuration (Bug#12623).
2384
bd0ffffd
SM
23852012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
2386
06485aa8
SM
2387 * help-fns.el (describe-variable, describe-function-1):
2388 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
2389
bd0ffffd
SM
2390 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
2391
3a989246
GM
23922012-10-12 Glenn Morris <rgm@gnu.org>
2393
2394 * mail/rmailsum.el (rmail-header-summary):
2395 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
2396
55cd00c8
FEG
23972012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
2398
bd0ffffd
SM
2399 * progmodes/python.el (python-mode-map):
2400 Replace subtitute-key-definition with proper command remapping.
55cd00c8
FEG
2401 (python-nav--up-list): Fix behavior for blocks on the same level.
2402
ac9fc2c7
SM
24032012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
2404
d8cc4c00 2405 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
d8cc4c00 2406
5253a5fd
SM
2407 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
2408 changes to the format of load-history.
2409
ac9fc2c7
SM
2410 * international/mule-cmds.el (read-char-by-name): Move let-binding of
2411 completion-ignore-case in case that var is buffer-local (bug#12615).
2412
cde44a77
KH
24132012-10-11 Kenichi Handa <handa@gnu.org>
2414
2415 * international/eucjp-ms.el: Re-generated.
2416
4ef4a10d
KH
24172012-10-10 Kenichi Handa <handa@gnu.org>
2418
2419 * select.el (xselect--encode-string): If a coding is specified for
2420 selection, and that is compatible with COMPOUND_TEXT, use it.
2421
9d7f027b
MR
24222012-10-10 Martin Rudalics <rudalics@gmx.at>
2423
2424 * window.el (switch-to-buffer-preserve-window-point): New option.
ac9fc2c7
SM
2425 (switch-to-buffer):
2426 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
9d7f027b 2427
238f3a58
SM
24282012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
2429
2430 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
2431 Don't document nil as a useful value (bug#12583).
2432
1d51f99c
MA
24332012-10-09 Michael Albinus <michael.albinus@gmx.de>
2434
238f3a58
SM
2435 * net/tramp.el (tramp-debug-message):
2436 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
1d51f99c
MA
2437 (with-tramp-progress-reporter): Rename from
2438 `tramp-with-progress-reporter'.
238f3a58
SM
2439 (with-tramp-file-property, with-tramp-connection-property):
2440 Move from tramp-cache.el, rename from `with-file-property' and
1d51f99c
MA
2441 `with-connection-property', respectively.
2442
2443 * net/tramp-cache.el: Remove `with-file-property' and
2444 `with-connection-property'.
2445
2446 * net/tramp.el:
2447 * net/tramp-gvfs.el:
2448 * net/tramp-sh.el:
2449 * net/tramp-smb.el: Adapt callees.
2450
2451 * net/trampver.el: Update release number.
2452
26b77251
GM
24532012-10-09 Glenn Morris <rgm@gnu.org>
2454
9a5f296f
GM
2455 * w32-fns.el (set-message-beep):
2456 * term/w32-win.el (set-message-beep): Update declarations.
2457
94c66ce5
SM
24582012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
2459
10766e9e
SM
2460 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
2461 (mode-line-widen, mode-line-input-method-map)
2462 (mode-line-coding-system-map, mode-line-remote)
2463 (mode-line-unbury-buffer, mode-line-bury-buffer)
2464 (mode-line-next-buffer, mode-line-previous-buffer):
2465 Replace save-selected-window+select-window => with-selected-window.
2466
f754db08
SM
2467 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
2468 * progmodes/cc-vars.el (bq-process): Remove, unused.
2469
94c66ce5
SM
2470 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
2471
a4ff7fe1
FEG
24722012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
2473
2474 Implemented `backward-up-list'-like navigation.
2475 * progmodes/python.el (python-nav-up-list)
2476 (python-nav-backward-up-list): New functions.
2477 (python-mode-map): Define substitute key for backward-up-list to
2478 python-nav-backward-up-list.
2479
24517d82
FEG
24802012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
2481
2482 * progmodes/python.el (python-fill-paragraph): Rename from
2483 python-fill-paragraph-function. Fixed fill-paragraph for
2484 decorators (Bug#12605).
2485
51867ae2
FEG
24862012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
2487
2488 * progmodes/python.el (python-shell-output-filter): Handle extra
2489 carriage return in OSX (Bug#12409).
2490
a5b773c4
FEG
24912012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
2492
2493 Fix shell handling of unbalanced quotes and parens in output.
94c66ce5 2494 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
a5b773c4
FEG
2495 (python-syntax-propertize-function): Use it.
2496 (python-shell-output-syntax-table): New var.
2497 (inferior-python-mode): Prevent unbalanced parens/quotes from
2498 previous output mess with current input context.
2499
13373538
JB
25002012-10-08 Juanma Barranquero <lekktu@gmail.com>
2501
2502 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
2503 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
2504
775a132d
MA
25052012-10-08 Michael Albinus <michael.albinus@gmx.de>
2506
2507 * ffap.el (ffap-replace-file-component): Support Tramp file name
2508 syntax, not only ange-ftp's one.
2509
3ab44929
GM
25102012-10-08 Glenn Morris <rgm@gnu.org>
2511
57f1dee4
GM
2512 * cus-start.el (message-log-max): Set :version.
2513
3ab44929
GM
2514 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
2515
6a088630
MR
25162012-10-08 Martin Rudalics <rudalics@gmx.at>
2517
2518 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
2519 the minibuffer window (Bug#10851).
2520
8dbce54c
FEG
25212012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
2522
2523 Enhancements on forward-sexp movement.
2524 * progmodes/python.el (python-nav-beginning-of-statement)
2525 (python-nav-end-of-statement): Return point-marker.
2526 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
2527 (python-info-current-symbol)
2528 (python-info-statement-starts-block-p): Rename from
2529 python-info-beginning-of-block-p.
2530 (python-info-statement-ends-block-p): Rename from
2531 python-info-end-of-block-p.
2532 (python-info-beginning-of-statement-p)
2533 (python-info-end-of-statement-p)
2534 (python-info-beginning-of-block-p, python-info-end-of-block-p):
2535 New functions.
2536
5acd2b3e
SM
25372012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2538
2539 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
2540 frame-selected-windows.
2541
e08348a0
DC
25422012-10-08 Daniel Colascione <dancol@dancol.org>
2543
2544 * battery.el (battery-status-function): Check for
2545 w32-battery-status itself, not system-time windows-nt.
2546
2547 * frame.el: Require cl-lib.
2548 (display-format-alist): New variable mapping frame types to
2549 functions that initialize them.
2550 (window-system-for-display): New function: interprets
2551 display-format-alist.
2552 (make-frame-on-display): Remove existing display-selection logic
2553 and just forward to make-frame, which will now DTRT.
2554 (make-frame): Restructure to use window-system-for-display to
2555 figure out how to create a frame on a given display.
2556 (display-mouse-p): Look for frame-type w32, not a particular
2557 system-type.
2558
2559 * loadup.el: Load w32 lisp code when we have the w32 feature.
2560
2561 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
2562 system-type windows-nt.
2563
2564 * server.el (server-create-window-system-frame): Look for window
2565 type.
2566 (server-proces-filter): Only force a window system when windows-nt
2567 _and_ w32. Explain why.
2568
2569 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
2570 of window systems we configure for the mode.
2571
2572 * startup.el (command-line): Mark window system is initialized
2573 after we've done it.
2574
2575 * common-win.el (x-select-text): Look for w32, not windows-nt.
2576
2577 * ns-win.el: Require cl-lib. Add ourselves to
2578 display-format-alist.
2579 (ns-initialize-window-system): Assert we're not initialized twice.
2580
2581 * w32-win.el: Enable lexical binding; require cl-lib; add
2582 ourselves to display-format-alist.
2583 (w32-handle-dropped-file): Convert incoming dropped files from
2584 Windows paths to Cygwin ones before passing them on to the rest of
2585 Emacs.
2586 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
2587 (w32-initialize-window-system): Assert we're not initialized twice.
2588
2589 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
2590 (x-initialize-window-system): Assert we're not initialized twice.
2591
2592 * w32-common-fns.el: New File.
2593 (w32-version, w32-using-nt, w32-get-clipboard-data)
2594 (w32-set-clipboard-data, x-set-selection, x-get-selection)
2595 (w32-charset-info-alist, x-last-selected, text)
2596 (x-get-selection-value, x-selection-value): Move here.
2597
2598 * w32-fns.el: Require w32-common-fns.
2599 (w32-version, w32-using-nt, w32-get-clipboard-data)
2600 (w32-set-clipboard-data, x-set-selection, x-get-selection)
2601 (w32-charset-info-alist, x-last-selected, text)
2602 (x-get-selection-value, x-selection-value): Move to
2603 w32-common-fns.
2604
2605 * w32-vars.el:
2606 (w32-allow-system-shell, w32-system-shells): Define only in
2607 non-cygwin case.
2608
795b1482
SM
26092012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2610
2611 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
2612 (read-passwd): Remove a few more potential sources of leaks.
2613
f27c99dc
FEG
26142012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
2615
2616 * progmodes/python.el (inferior-python-mode)
795b1482 2617 (python-shell-make-comint): Fix initialization of local
f27c99dc
FEG
2618 variables copied from parent buffer.
2619
fcacb558
JD
26202012-10-07 Jan Djärv <jan.h.d@swipnet.se>
2621
2622 * term/ns-win.el (ns-read-file-name): Update declaration to match
2623 nsfns.m.
2624 (ns-respond-to-change-font): Change fontsize separatly so we are sure
2625 it is set when font is acted upon.
2626
be0d5bae
FEG
26272012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
2628
2629 Enhancements to indentation.
2630 * progmodes/python.el (python-indent-context): Give priority to
2631 inside-string context. Make comments indentation markers.
2632 (python-indent-region): Do not mess with strings, unless it's the
2633 enclosing set of quotes.
2634
13af0d10
SM
26352012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2636
662a9d0e
SM
2637 * window.el (internal--before-save-selected-window)
2638 (internal--after-save-selected-window): New functions extracted from
2639 save-selected-window. Make sure we return the `alist' we construct.
2640 (save-selected-window): Use them.
2641
2642 * textmodes/tex-mode.el (tex-recenter-output-buffer):
2643 Use with-selected-window.
2644
13af0d10
SM
2645 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
2646 forms that define macros (bug#12593).
2647
6aa75fb6
KH
26482012-10-07 Kenichi Handa <handa@gnu.org>
2649
13af0d10
SM
2650 * international/mule-conf.el (compound-text-with-extensions):
2651 Add :mime-charset property as x-ctext.
6aa75fb6 2652
78d876b9
SM
26532012-10-07 Stefan Merten <smerten@oekonux.de>
2654
2655 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
2656 (rst-indent-literal-normal, rst-indent-literal-minimized)
2657 (rst-indent-comment): Correct :version tag.
557337e9 2658 (rst-official-cvs-rev): Correct version string.
78d876b9 2659
99a1e701
GM
26602012-10-07 Glenn Morris <rgm@gnu.org>
2661
2662 * mail/rmailmm.el (rmail-mime-process-multipart):
2663 Do not confuse a multipart message with an epilogue
2664 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
2665
08f18c3d
FEG
26662012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
2667
2668 Fix shell output retrieval and comint-prompt-regexp init.
2669 * progmodes/python.el (inferior-python-mode):
2670 (python-shell-make-comint): Fix initialization of
2671 comint-prompt-regexp from copied file local variables.
2672 (python-shell-fetched-lines): Remove var.
2673 (python-shell-output-filter-in-progress): Rename from
2674 python-shell-fetch-lines-in-progress.
2675 (python-shell-output-filter-buffer): Rename from
2676 python-shell-fetch-lines-string.
2677 (python-shell-fetch-lines-filter): Delete function.
2678 (python-shell-output-filter): New function.
2679 (python-shell-send-string-no-output): Use them.
2680
82ed3ab4
GM
26812012-10-07 Glenn Morris <rgm@gnu.org>
2682
1595ecfa
GM
2683 * hi-lock.el (hi-lock-process-phrase):
2684 Try to make it less fragile. (Bug#7161)
2685
82ed3ab4
GM
2686 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
2687
f1f4dba0
GM
26882012-10-06 Glenn Morris <rgm@gnu.org>
2689
addc11ed 2690 * ehelp.el (electric-help-mode): Use help-mode rather than
32939005
GM
2691 non-existent mode `help'.
2692 (electric-help-map): Use button-buffer-map. (Bug#10917)
addc11ed 2693
460042b8
GM
2694 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
2695 (reftex-create-bibtex-footer): Fix custom types.
2696
67667c70
GM
2697 * progmodes/sh-script.el (sh-indent-after-continuation):
2698 Add explicit :group.
2699
18dec750
GM
2700 * textmodes/rst.el (rst-preferred-decorations)
2701 (rst-shift-basic-offset): Clarify obsolescence versions.
2702
d1a1c7e6
GM
2703 * profiler.el (profiler): Add missing group :version tag.
2704 * avoid.el (mouse-avoidance-banish-position):
2705 * proced.el (proced-renice-command):
2706 * calc/calc.el (calc-ensure-consistent-units):
2707 * calendar/icalendar.el (icalendar-import-format-uid):
2708 * net/tramp.el (tramp-save-ad-hoc-proxies):
2709 * progmodes/bug-reference.el (bug-reference-bug-regexp):
2710 * progmodes/flymake.el (flymake-error-bitmap)
2711 (flymake-warning-bitmap, flymake-fringe-indicator-position):
2712 * progmodes/sh-script.el (sh-indent-after-continuation):
2713 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
2714 (verilog-before-save-font-hook, verilog-after-save-font-hook):
2715 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
2716 (vhdl-array-index-record-field-in-sensitivity-list)
2717 (vhdl-indent-comment-like-next-code-line):
2718 * textmodes/reftex-vars.el (reftex-ref-style-alist)
2719 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
2720 (reftex-cite-key-separator, reftex-create-bibtex-header)
2721 (reftex-create-bibtex-footer):
2722 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
2723 (rst-indent-literal-normal, rst-indent-literal-minimized)
2724 (rst-indent-comment): Add missing custom :version tags.
2725
ef35abb4
GM
2726 * calendar/timeclock.el (timeclock-modeline-display):
2727 Add missing obsolete alias for renamed user option.
2728
d1aae614
GM
2729 * strokes.el (strokes-modeline-string):
2730 * emulation/crisp.el (crisp-mode-modeline-string):
2731 * eshell/esh-mode.el (eshell-status-in-modeline):
2732 Aliases to defcustoms must come before the defcustom.
2733
f1f4dba0
GM
2734 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
2735 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
2736 (cal-tex-cursor-week-monday): Doc fixes.
2737 (cal-tex-cursor-week2-summary): Doc fix.
2738 Rename from cal-tex-cursor-week-at-a-glance.
2739
2740 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
2741 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
2742
2743 * calendar/calendar.el (calendar-mode-map):
2744 Add cal-tex-cursor-week2-summary.
2745
d39109c3
SM
27462012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
2747
685f87b0
SM
2748 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
2749
d39109c3
SM
2750 * subr.el (read-passwd-map): New var.
2751 (read-passwd): Use `read-string' again.
2752 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
2753
5694896d
J
27542012-10-06 Jambunathan K <kjambunathan@gmail.com>
2755
2756 * register.el (append-to-register, prepend-to-register):
2757 Deactivate mark, as does `copy-to-register' (bug#12389).
2758
9414dd8d
CY
27592012-10-06 Chong Yidong <cyd@gnu.org>
2760
2761 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
2762
2b89bca4
KH
27632012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
2764
2765 * international/characters.el: Fix simple mistake ((car chars) ->
2766 elt), delete duplicated code.
2767
d5acb99a
GM
27682012-10-06 Glenn Morris <rgm@gnu.org>
2769
2770 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
2771
123ec157
JS
27722012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
2773
2774 * color.el (color-hsl-to-rgb): Fix incorrect results for
2775 small and large hue values. (Bug#12559)
2776
7fa36ccb
FEG
27772012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
2778
2779 Enhancements to docstring formatting when filling paragraphs.
2780 * progmodes/python.el (python-fill-docstring-style): Rename from
2781 python-fill-string-style. Added new style.
2782 (python-fill-string): Use new style. Better checks for
2783 docstrings.
2784
d8788e1e
GM
27852012-10-05 Glenn Morris <rgm@gnu.org>
2786
204f3953
GM
2787 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
2788
d8788e1e
GM
2789 * color.el (color-name-to-rgb, color-rgb-to-hex)
2790 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
2791 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
2792 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
2793 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
2794
8d956cef
GM
2795 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
2796
e8757f09 27972012-10-05 Juanma Barranquero <lekktu@gmail.com>
ea9a3563
JB
2798
2799 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
2800 to get the correct size across symlinks.
2801
e8757f09
GM
2802 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
2803
0e2ae83d
JL
28042012-10-04 Juri Linkov <juri@jurta.org>
2805
2806 * replace.el (query-replace-interactive): Declare obsolete.
2807 (query-replace-read-from): Add the last incremental search string
2808 to the list of default values accessible via M-n.
2809 (map-query-replace-regexp): Use `read-regexp'.
2810 (query-replace, query-replace-regexp, query-replace-regexp-eval)
2811 (map-query-replace-regexp, replace-string, replace-regexp):
2812 Fix docstrings to replace mentions of `query-replace-interactive'
2813 with alternatives. (Bug#12526)
2814
93cacb6d
JL
28152012-10-04 Juri Linkov <juri@jurta.org>
2816
2817 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
2818 (dired-pop-to-buffer): Declare obsolete.
2819 (dired-mark-pop-up): Doc fix.
2820
fc345011
FEG
28212012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
2822
2823 Allow user to set docstring style for fill-paragraph.
2824 * progmodes/python.el
2825 (python-fill-comment-function, python-fill-string-function)
2826 (python-fill-decorator-function, python-fill-paren-function):
2827 Remove :safe for defcustoms.
2828 (python-fill-string-style): New defcustom
5694896d 2829 (python-fill-paragraph-function): Enhance context detection.
fc345011
FEG
2830 (python-fill-string): Honor python-fill-string-style settings.
2831
6bab5d8b
MR
28322012-10-04 Martin Rudalics <rudalics@gmx.at>
2833
2834 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
2835 after setting its buffer (Bug#10805).
2836
a1a9f411
FEG
28372012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
2838
2839 Fix cornercase for string syntax.
2840 * progmodes/python.el (python-syntax-propertize-function):
2841 Simplify and enhance the regexp for unescaped quotes. Now it also
2842 matches quotes in weird situations like the single quote in
2843 "something\"'".
2844 (python-syntax-stringify): Simplify num-quotes detecting code.
2845
05e153a6
GM
28462012-10-03 Glenn Morris <rgm@gnu.org>
2847
2848 * help-macro.el (three-step-help):
2849 Revert 2012-09-29 change. (Bug#12567)
2850
2e566ecb
MR
28512012-10-03 Martin Rudalics <rudalics@gmx.at>
2852
96ef9ccd
MR
2853 * menu-bar.el (kill-this-buffer): Don't do anything when
2854 `menu-frame' is not alive or visible (Bug#8184).
2855
2e566ecb
MR
2856 * emacs-lisp/debug.el (debug): When quitting the debugger window
2857 restore current buffer (Bug#12502).
2858
a96e1cb7
CY
28592012-10-02 Chong Yidong <cyd@gnu.org>
2860
5694896d
J
2861 * progmodes/hideif.el (hif-lookup, hif-defined):
2862 Handle semantic-c-takeover-hideif.
a96e1cb7 2863
b3ecad33
PE
28642012-10-02 Paul Eggert <eggert@cs.ucla.edu>
2865
2866 Change sampling interval units from ms to ns.
2867 * profiler.el (profiler-sampling-interval): Change units
2868 from ms to ns, multiplying the default by 1000000 so that
2869 it remains 1 ms.
2870 (profiler-report-cpu-line-format): Give enough room for
2871 the maximum counters on 64-bit hosts.
2872 (profiler-report-render-calltree-1): Call them "CPU samples",
2873 not "Time (ms)", since they are not milliseconds now (and
2874 never really were).
2875
8cb51b66 28762012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
c623f81a 2877
5694896d
J
2878 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
2879 Fix querying BBDB for entries without a last name (Bug#11580).
c623f81a 2880
fd795bf4
CY
28812012-10-02 Chong Yidong <cyd@gnu.org>
2882
2883 * emacs-lisp/eieio.el: Restore Version header.
2884
fe0a74f9
SM
28852012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
2886
6be9197e
SM
2887 * vc/diff-mode.el (diff--auto-refine-data): New var.
2888 (diff-hunk): Use it to delay refinement.
2889 (diff-mode): Remove overlays when we turn off font-lock.
2890
18486139
SM
2891 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
2892 (table-initialize-table-fixed-width-mode)
2893 (table-set-table-fixed-width-mode): Remove functions.
2894 (table-command-list): Move initialization into declaration.
2895 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
2896 (table-with-cache-buffer): Use `declare'.
2897 (table-span-cell): Simplify via CSE.
2898 (table-fixed-width-mode): Use define-minor-mode.
2899 (table-call-interactively, table-funcall, table-apply): Remove.
2900 (table-function): New function, to replace them.
2901
d83ef976
SM
2902 * bookmark.el (bookmark-search-pattern): Remove var.
2903 (bookmark-read-search-input): Remove function.
2904 (bookmark-bmenu-search): Reimplement using a minibuffer.
2905
cd386662
SM
2906 * faces.el (modeline): Remove obsolete face name.
2907
fe0a74f9
SM
2908 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
2909 and give a non-nil default value.
2910 (add-change-log-entry): Simplify accordingly.
2911
9f7b98f8
DG
29122012-10-01 Dmitry Gutov <dgutov@yandex.ru>
2913
2914 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
2915 (vc-git-log-edit-toggle-amend): New function.
2916 (vc-git-log-edit-toggle-signoff): New function.
2917 (vc-git-log-edit-mode): New major mode.
2918 (vc-git-log-edit-mode-map): Keymap for it.
2919 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
2920
2921 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
2922 header names.
2923 (log-edit-toggle-header): New function.
2924 (log-edit-extract-headers): Accept function values in HEADERS alist.
2925
62a81506
CY
29262012-10-01 David Engster <deng@randomsample.de>
2927
2928 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
2929 from symbol property and change message to be more consistent with
2930 Emacs proper.
2931 (eieio-describe-generic): Add filename for each implementation.
2932 Fix indices for generic and normal methods.
2933 (eieio-method-def, eieio-class-def): New buttons.
2934 (eieio-help-find-method-definition)
2935 (eieio-help-find-class-definition): New functions.
2936 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
2937 class, constructor and method definitions.
2938
2939 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
2940 information in symbol property.
2941 (scoped-class): Remove.
2942 (eieio-slot-name-index, call-next-method): Check if it is bound.
2943
29442012-10-01 Leo P. White <lpw25@cam.ac.uk>
2945
2946 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
2947 (eieio-custom-mode): New major mode.
2948 (eieio-customize-object): Use it.
2949
29502012-10-01 Eric Ludlam <zappo@gnu.org>
2951
2952 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
2953 specifying the expected class, and whether subclassing is allowed.
2954 (eieio-persistent-convert-list-to-object):
1f9f395d
JB
2955 (eieio-persistent-validate/fix-slot-value)
2956 (eieio-persistent-slot-type-is-class-p): New functions.
2957 (eieio-named::slot-missing): Doc fix.
62a81506
CY
2958
2959 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
2960 Stop using unused publd variable.
2961
2962 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
2963 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
2964 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
2965 (eieio-speedbar-handle-click): Do not specify a class for the
2966 method. Fixes method invocation order problems with EDE.
2967
375e49d4
SM
29682012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
2969
2970 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
2971 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
2972
16ce6ccd
KF
29732012-10-01 Karl Fogel <kfogel@red-bean.com>
2974
2975 * bookmark.el (bookmark-version-control): Give tags in the
2976 :type choices (Bug#12309), and improve doc string.
e4c4abdd
KF
2977 (bookmark-write-file): Bind `print-circle' to `t' to allow
2978 circular custom bookmark types. (Bug#12503)
16ce6ccd 2979
19e54a4d
PE
29802012-10-01 Paul Eggert <eggert@cs.ucla.edu>
2981
86ec63ba
PE
2982 Revert the FOLLOW-SYMLINKS change for file-attributes.
2983 * files.el (remote-file-name-inhibit-cache, after-find-file):
2984 * time.el (display-time-file-nonempty-p): Undo last change.
2985
19e54a4d
PE
2986 * profiler.el (profiler-sampling-interval): Change default back to 1.
2987 See Stefan Monnier in
2988 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
2989
0478776b
FEG
29902012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
2991
2992 Shell output catching a la gud-gdb.
2993 * progmodes/python.el (python-shell-fetch-lines-in-progress)
375e49d4
SM
2994 (python-shell-fetch-lines-string, python-shell-fetched-lines):
2995 New Vars.
0478776b
FEG
2996 (python-shell-fetch-lines-filter): New function.
2997 (python-shell-send-string-no-output): Use them.
2998
c22bac2c
TM
29992012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
3000
3001 * profiler.el (profiler-sampling-interval): Rename from
3002 profiler-sample-interval.
3003 (profiler-sampling-interval): Default to 10.
3004 (profiler-find-profile): New command (was profiler-find-log).
3005 (profiler-find-profile-other-window): New command.
3006 (profiler-find-profile-other-frame): New command.
3007 (profiler-profile): Introduce API-level data structure.
3008
e7a2937b
PE
30092012-09-30 Paul Eggert <eggert@cs.ucla.edu>
3010
3011 file-attributes has a new optional arg FOLLOW-SYMLINKS.
3012 * files.el (remote-file-name-inhibit-cache):
3013 * time.el (display-time-file-nonempty-p): Use it.
3014 * files.el (after-find-file): Don't chase links before calling
3015 file-exists-p, as file-exists-p already does the right thing.
3016
4f595e15
RA
30172012-09-30 Ralf Angeli <angeli@caeruleus.net>
3018
3019 Merge from standalone RefTeX repository.
3020
3021 The following ChangeLog entries are shortened versions of the
3022 original ones with file paths adapted. A not so strongly edited
3023 version of the original ChangeLog can be found in the commit log.
3024
3025 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
375e49d4
SM
3026 (reftex-arg-cite): Use `reftex-cite-key-separator'.
3027 Correctly handle new value type returned by `reftex-citation'.
4f595e15
RA
3028
3029 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
375e49d4
SM
3030 that entries with whitespace at various places are found.
3031 Doc fix. Include entries that are cross-referenced from cited entries.
4f595e15
RA
3032 Include @String definitions in the resulting bib file. Add header
3033 and footer defined in `reftex-create-bibtex-header' and
3034 `reftex-create-bibtex-footer'.
3035 (reftex-do-citation): Make it possible again to insert
3036 non-existent entries. Save match data when asking for optional
3037 arguments. Return all keys, not just the first one.
3038 (reftex-all-used-citation-keys): Fix regexp to correctly extract
3039 all citations in the same line.
3040 (reftex-parse-bibtex-entry): Accept additional optional argument
3041 `raw' and keep quotes or braces if it is non-nil. Match fields
3042 containing hyphens besides word constituents.
3043 (reftex-get-string-refs): New function.
3044 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
3045 and ask if it should be reread in case it did.
3046 (reftex-pop-to-bibtex-entry)
3047 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
3048 entries with spaces or tabs in front of arguments.
3049 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
375e49d4
SM
3050 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
3051 Match entries containing numbers and symbol constituents.
3052 (reftex-do-citation, reftex-figure-out-cite-format):
3053 Use `reftex-cite-key-separator'.
4f595e15
RA
3054
3055 * textmodes/reftex-dcr.el: Move provide statement to end of file.
3056 (reftex-mouse-view-crossref): Explain why point is set.
3057
3058 * textmodes/reftex-global.el: Whitespace changes.
3059
3060 * textmodes/reftex-index.el: Move provide statement to end of
3061 file.
3062 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
3063 (reftex-index-visit-phrases-buffer): Set marker when visiting
3064 buffer. This allows for returning from the phrases file to the
3065 file one was just editing instead of the file where the last
3066 phrases was added from.
3067 (reftex-index-phrases-syntax-table): New variable. Give ?\"
3068 punctuation syntax as it usually is not used as string quote in
3069 TeX-related modes and may occur unmatched. The change also
3070 prevents fontification of quoted content.
3071 (reftex-index-phrases-mode): Use it.
3072
375e49d4
SM
3073 * textmodes/reftex-parse.el (reftex-parse-from-file):
3074 Move backward one char if a `\' was matched after a section macro.
4f595e15
RA
3075 (reftex-parse-from-file): Use beginning of match instead of end as
3076 bound.
3077
3078 * textmodes/reftex-ref.el: Adapt creation of
3079 `reftex-<package>-<macro>' functions to new structure of
3080 `reftex-ref-style-alist'.
375e49d4
SM
3081 (reftex-reference): Use `reftex-ref-style-list' function.
3082 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
4f595e15
RA
3083 reference macro if `reftex-ref-macro-prompt' is non-nil.
3084 (reftex-reference): Pass refstyle to `reftex-format-special'.
3085 Determine reference macro by looking at
375e49d4
SM
3086 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
3087 Use only one special format function.
4f595e15
RA
3088 (reftex-varioref-vref, reftex-fancyref-fref)
3089 (reftex-fancyref-Fref): Remove definitions. The functions are now
3090 generated from `reftex-ref-style-alist'.
3091 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
3092 Remove.
3093 (reftex-format-special): New function.
3094
3095 * textmodes/reftex-sel.el
3096 (reftex-select-cycle-ref-style-internal): Adapt to new structure
3097 of `reftex-ref-style-alist'. Remove code for testing macro type.
3098 (reftex-select-toggle-varioref)
3099 (reftex-select-toggle-fancyref): Remove.
3100 (reftex-select-cycle-ref-style-internal)
3101 (reftex-select-cycle-ref-style-forward)
3102 (reftex-select-cycle-ref-style-backward): New functions.
3103 (reftex-select-label-map): Use `v' and `V' for general cycling
3104 through reference styles. Add `p' for switching between number
3105 and page reference types.
3106
375e49d4
SM
3107 * textmodes/reftex-toc.el (reftex-re-enlarge):
3108 Call `enlarge-window' only if there is something to do because in Emacs
4f595e15
RA
3109 the horizontal version throws an error even if the parameter is 0.
3110
3111 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
3112 (reftex-plug-into-AUCTeX): Doc fix.
3113 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
3114 string. Adapt to new name.
3115 (reftex-ref-style-alist): Change structure so that it is not
3116 possible to use multiple different package names within a style.
375e49d4
SM
3117 Remove the symbols for symbols for macro type distinction.
3118 Add characters for macro selection.
4f595e15
RA
3119 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
3120 (reftex-create-bibtex-footer): New variables.
3121 (reftex-format-ref-function): Mention third argument of special
3122 format function.
375e49d4
SM
3123 (reftex-ref-style-alist, reftex-ref-style-default-list):
3124 New variables.
4f595e15
RA
3125 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
3126 to new implementation. Mark as obsolete. Add compatibility code
3127 for honoring the variable values in case they are set.
375e49d4
SM
3128 (reftex-cite-format-builtin, reftex-bibliography-commands):
3129 Add support for ConTeXt.
3130 (reftex-format-ref-function, reftex-format-cite-function):
3131 Fix custom type.
4f595e15
RA
3132 (reftex-cite-key-separator): New variable.
3133
3134 * textmodes/reftex.el (reftex-syntax-table-for-bib)
3135 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
3136 `reftex-syntax-table' because parens have to retain their paren
3137 syntax in order for parsing of BibTeX entries like @book(...) to
3138 work.
3139 (reftex-in-comment): Do not error out if `comment-start-skip' is
3140 not set. Deal correctly with escaped comment characters.
375e49d4
SM
3141 (reftex-tie-multifile-symbols): Add doc string.
3142 Initialize `reftex-ref-style-list'.
4f595e15
RA
3143 (reftex-untie-multifile-symbols): Add doc string.
3144 (reftex-add-index-macros): Doc fix.
3145 (reftex-ref-style-activate, reftex-ref-style-toggle)
3146 (reftex-ref-style-list): New functions.
3147 (reftex-mode-menu): Use them. Adapt to new structure of
3148 `reftex-ref-style-alist'.
3149 (reftex-select-with-char): Kill the RefTeX Select buffer when
3150 done.
3151 (reftex-remove-if): New function.
3152 (reftex-erase-all-selection-and-index-buffers)
3153 (reftex-mode-menu): Reference styles are now computed from
3154 `reftex-ref-style-alist'. Fix typo.
3155 (reftex-report-bug): New function.
3156 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
3157 algorithms with O(n log n). Introduce optional argument SORT (not
3158 yet used).
3159
440ba395
FEG
31602012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
3161
3162 Enhancements for triple-quote string syntax.
375e49d4
SM
3163 * progmodes/python.el (python-syntax-propertize-function):
3164 Match both quote cases in one regexp.
440ba395
FEG
3165 (python-syntax-stringify): Handle matches properly.
3166
4c478e6b
JL
31672012-09-30 Juri Linkov <juri@jurta.org>
3168
3169 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
93cacb6d 3170 to nil around the call to `insert' to prevent
4c478e6b
JL
3171 directory time modification by lock_file. (Bug#2295)
3172 * tar-mode.el (tar-summarize-buffer): Idem.
3173
d80d54b2
JL
31742012-09-30 Juri Linkov <juri@jurta.org>
3175
3176 * facemenu.el (list-colors-sort): Add option "Luminance".
3177 (list-colors-sort-key): Implement it.
3178
3179 * vc/diff-mode.el (diff-refine-removed):
3180 * vc/ediff-init.el (ediff-fine-diff-A):
3181 * vc/smerge-mode.el (smerge-refined-removed):
3182 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
3183
d7e642cc
JD
31842012-09-30 Jan Djärv <jan.h.d@swipnet.se>
3185
3186 * term/ns-win.el (x-file-dialog): New function.
3187
ee41332b
JB
31882012-09-30 Juanma Barranquero <lekktu@gmail.com>
3189
3190 * ido.el (ido-max-directory-size): Default to nil; the current
3191 default is small for POSIX systems, and impractical on Windows 7
3192 now that lstat returns directory sizes for NTFS.
3193
5938d519
MR
31942012-09-30 Martin Rudalics <rudalics@gmx.at>
3195
3196 In buffer display functions handle window-height/window-width
3197 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
375e49d4
SM
3198 * window.el (window--display-buffer): New argument ALIST.
3199 Obey window-height and window-width alist entries.
3200 (window--try-to-split-window): New argument ALIST.
3201 Bind window-combination-limit to t when the window's size shall be
5938d519
MR
3202 changed and window-combination-limit equals `window-size'.
3203 (display-buffer-in-atom-window)
3204 (display-buffer-in-major-side-window)
3205 (display-buffer-in-side-window, display-buffer-same-window)
3206 (display-buffer-reuse-window, display-buffer-pop-up-frame)
3207 (display-buffer-pop-up-window, display-buffer-below-selected)
3208 (display-buffer-at-bottom, display-buffer-in-previous-window)
3209 (display-buffer-use-some-window): Adjust all callers of
3210 window--display-buffer and window--try-to-split-window.
3211 (fit-frame-to-buffer): New option.
3212 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
3213 is non-nil.
3214 (display-buffer-in-major-side-window): Evaluate window-height /
3215 window-width alist entries.
3216
3217 * help.el (temp-buffer-resize-frames)
3218 (temp-buffer-resize-regexps): Remove options.
3219 (temp-buffer-resize-mode): Adjust doc-string.
3220 (resize-temp-buffer-window): Don't consult
3221 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
3222 temp-buffer-resize-frames.
3223
375e49d4
SM
3224 * dired.el (dired-mark-pop-up):
3225 Call display-buffer-below-selected with a fit-window-to-buffer alist
5938d519
MR
3226 entry.
3227
c4c0c2df
CY
32282012-09-30 Chong Yidong <cyd@gnu.org>
3229
48de8b12
CY
3230 * server.el (server-host): Document the security implications.
3231 (server-auth-key): Doc fix.
3232
3233 * startup.el (initial-buffer-choice): Doc fix.
3234
3235 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
3236
a97dc380
CY
3237 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
3238 restriction change.
3239
d39d3c8e
CY
3240 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
3241
c4c0c2df
CY
3242 * help-fns.el (help-fns--obsolete): Fix last change.
3243
98a5e33b
SM
32442012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
3245
34cf6f39
SM
3246 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
3247 (minor-mode-map-alist): Remove redundant code.
3248
e01c13fe
SM
3249 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
3250 visited in a buffer.
3251 (cvs-insert-visited-file): New function.
3252 (find-file-hook): Use it.
3253
3254 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
3255
02661b3a
SM
3256 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
3257 chose face.
3258 (log-edit-empty-buffer-p): Don't require a space after a header.
3259
43711d4b
SM
3260 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
3261
38a30d64
SM
3262 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
3263
4ffb41a9
SM
3264 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
3265 a proper minor-mode.
3266
98a5e33b
SM
3267 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
3268
de82e29b
GM
32692012-09-29 Glenn Morris <rgm@gnu.org>
3270
5cc2e639
GM
3271 * winner.el (winner-mode): Remove variable (let define-minor-mode
3272 handle it).
3273 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
3274 Doc fixes.
3275 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
3276 (winner-mode): Use define-minor-mode.
3277
7bd302eb
GM
3278 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
3279 the full definition in loaddefs, rather than duplicating it.
3280
2923922f 3281 * help-macro.el (three-step-help): No need to autoload defcustom.
ced08382 3282
0e3e4156
GM
3283 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
3284 (inferior-lisp-program, inferior-lisp-load-command)
3285 (inferior-lisp-prompt, inferior-lisp-mode-hook):
2923922f 3286 No need to autoload defcustoms.
0e3e4156 3287
de82e29b
GM
3288 * hippie-exp.el (hippie-expand-try-functions-list)
3289 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
3290 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
3291 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
2923922f 3292 (hippie-expand-only-buffers): No need to autoload defcustoms.
de82e29b
GM
3293 * progmodes/vhdl-mode.el (vhdl-line-expand):
3294 Explicitly load hippie-exp, so it does not get autoloaded
3295 while hippie-expand-try-functions-list is let-bound.
3296
e60b51ab
GM
32972012-09-28 Glenn Morris <rgm@gnu.org>
3298
277f0cfa
GM
3299 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
3300
e60b51ab
GM
3301 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
3302 Only "cl.el" counts as cl these days.
3303
53baf48a
JL
33042012-09-28 Juri Linkov <juri@jurta.org>
3305
3306 Display archive errors in the echo area instead of inserting
3307 to the file buffer.
3308
3309 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
3310 to STDERR-TEST that can be a regexp matching a successful output.
3311 Create a temporary file and redirect stderr to it. Search for
3312 STDERR-TEST in the stderr output and display it in the echo area
3313 if no match is found.
3314 (archive-extract-by-file): New function like
3315 `archive-extract-by-stdout' but extracting archives to files
3316 and looking for successful matches in stdout. Function body is
3317 mostly copied from `archive-rar-extract'.
3318 (archive-rar-extract): Use `archive-extract-by-file'.
3319 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
3320
9c1228c3
LL
33212012-09-28 Leo Liu <sdl.web@gmail.com>
3322
375e49d4
SM
3323 * pcomplete.el (pcomplete-show-completions):
3324 Use minibuffer-message to make pcomplete usable in minibuffer.
147c0425 3325
9c1228c3
LL
3326 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
3327
7f457c06
SM
33282012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
3329
3df749b0
SM
3330 * type-break.el: Use lexical-binding.
3331 (type-break-mode): Use define-minor-mode.
3332
7f457c06
SM
3333 * emacs-lisp/pcase.el (pcase--mark-used): New.
3334 (pcase--u1): Use it (bug#12512).
3335
3336 * custom.el (load-theme): Set buffer-file-name so the load is recorded
3337 in load-history with the right file name.
3338
c00ebc98
TH
33392012-09-28 Tassilo Horn <tsdh@gnu.org>
3340
3341 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
3342 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
3343 (doc-view-get-bounding-box): Make bounding box slicing work for
3344 ODF and DVI documents.
3345
96fb7170
GM
33462012-09-28 Glenn Morris <rgm@gnu.org>
3347
3348 * type-break.el (type-break-mode, type-break-interval)
3349 (type-break-good-rest-interval, type-break-keystroke-threshold):
3350 No need to autoload.
3351 (type-break-good-rest-interval, type-break-keystroke-threshold):
3352 Add :set-after.
3353
5bc93c67
CY
33542012-09-28 Chong Yidong <cyd@gnu.org>
3355
3356 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
3357 Add :version tag.
3358
9cad61d6
SM
33592012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
3360
e28e67b3 3361 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
9cad61d6 3362
daee954c
GM
33632012-09-27 Glenn Morris <rgm@gnu.org>
3364
a88324d4
GM
3365 * faces.el (x-display-name): Declare (for without-x builds).
3366
8e5064e5
GM
3367 * linum.el (linum-format): Don't autoload it. Improve :type.
3368
cc1783c2
GM
3369 * progmodes/tcl.el: Don't require outline when compiling.
3370 (outline-regexp, outline-level): Declare.
1dddcf4c
GM
3371 * textmodes/sgml-mode.el: Don't require outline when compiling.
3372 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
3373
48c339f2
GM
3374 * term.el (term-ansi-reset):
3375 Try setting term-ansi-face-already-done to nil. (Bug#11785)
3376
daee954c
GM
3377 * vc/vc.el (vc-next-action): Only gripe about committing read-only
3378 files for RCS and SCCS. (Bug#9781)
3379
b7f42161
CY
33802012-09-27 Chong Yidong <cyd@gnu.org>
3381
3382 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
3383 change; value should be t.
3384
a2e770db
SM
33852012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
3386
83600dc8
SM
3387 * image-mode.el: Use lexical-binding.
3388 (image-mode-winprops): Use t to stand for the window of
3389 a buffer that's not displayed.
3390 * doc-view.el (doc-view-new-window-function): Handle the new
3391 t in winprops.
3392 (doc-view-enlarge): Make it a real nop if the size is not changed.
3393 (doc-view-display): Handle the case where the buffer is not (yet?)
3394 displayed in any window.
3395 (doc-view-saved-settings): New var.
3396 (doc-view-mode): Use it.
3397 (doc-view-fallback-mode): Set it.
3398
a2e770db
SM
3399 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
3400 Set lexical-binding.
3401 (minibuffer-eldef-shorten-default): New var.
3402 (minibuffer-default-in-prompt-regexps): Use it for new default.
3403 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
3404
e3b60857
JB
34052012-09-26 Juanma Barranquero <lekktu@gmail.com>
3406
3407 * international/uni-bidi.el:
3408 * international/uni-category.el:
3409 * international/uni-name.el:
3410 * international/uni-numeric.el: Regenerate.
3411
3a880af4
SM
34122012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
3413 Stefan Monnier <monnier@iro.umontreal.ca>
3414
3415 * profiler.el: New file.
3416
07b1a5fb
SM
34172012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
3418
3419 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
3420 (testcover-reinstrument): Simplify with CSE.
3421
42019c2e
JB
34222012-09-26 Juanma Barranquero <lekktu@gmail.com>
3423
3424 * window.el (temp-buffer-window-setup): Fix typo in docstring.
3425
179f044b
WS
34262012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
3427
3428 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
3429 (verilog-auto-input, verilog-auto-insert-lisp)
3430 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
3431 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
3432 (verilog-auto-unused, verilog-auto-wire)
3433 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
3434 newline. Reported by Andrew Jones.
3435 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
3436 Reported by Brad Dobbie.
07b1a5fb
SM
3437 (verilog-batch-delete-trailing-whitespace):
3438 Create verilog-batch-delete-trailing-whitespace.
3439 Reported by Brad Dobbie.
179f044b
WS
3440 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
3441 parameters from another module. Reported by Dan Katz.
3442 (verilog-auto, verilog-auto-assign-modport)
3443 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
3444 AUTOINOUTMODPORT for UVM interface module shell generation.
3445 Reported by Brad Dobbie.
3446 (verilog-auto-inst-interfaced-ports): Make default nil, as more
3447 standard behavior.
3448 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
3449 Reported by Matt Martin.
3450
9c52dd5a
MR
34512012-09-25 Martin Rudalics <rudalics@gmx.at>
3452
3453 * window.el (window--resize-child-windows): When resizing child
3454 windows proportionally, process them in reverse order to
3455 preserve the "when splitting a window the new one gets the odd
3456 line" behavior.
3457 (window--resize-root-window-vertically): When resizing the
3458 minibuffer window try to affect only windows at the bottom of the
3459 frame. (Bug#12419)
3460
863666eb
CY
34612012-09-25 Chong Yidong <cyd@gnu.org>
3462
3463 * subr.el (declare): Doc fix.
3464
3465 * help-fns.el (help-fns--obsolete): Handle macros properly.
3466
59f7af81
CY
34672012-09-25 Chong Yidong <cyd@gnu.org>
3468
3469 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
3470 this function obsolete.
3471
3472 * calendar/cal-x.el (calendar-two-frame-setup)
3473 (calendar-only-one-frame-setup, calendar-one-frame-setup):
3474 * calendar/calendar.el (american-calendar, european-calendar)
3475 (calendar-for-loop):
3476 * comint.el (comint-dynamic-simple-complete)
3477 (comint-dynamic-complete-as-filename, comint-unquote-filename):
3478 * desktop.el (desktop-load-default):
3479 * dired-x.el (dired-omit-here-always)
3480 (dired-hack-local-variables, dired-default-directory):
3481 * emacs-lisp/derived.el (derived-mode-class):
3482 * emacs-lisp/timer.el (timer-set-time-with-usecs):
3483 * emacs-lock.el (toggle-emacs-lock):
3484 * epa.el (epa-display-verify-result):
3485 * epg.el (epg-sign-keys, epg-start-sign-keys)
3486 (epg-passphrase-callback-function):
3487 * eshell/esh-util.el (eshell-for):
3488 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
3489 (eshell-add-to-window-buffer-names):
3490 * files.el (locate-file-completion):
3491 * imenu.el (imenu-example--create-c-index)
3492 (imenu-example--create-lisp-index)
3493 (imenu-example--lisp-extract-index-name)
3494 (imenu-example--name-and-position):
3495 * international/mule-cmds.el (princ-list):
3496 * international/mule-diag.el (decode-codepage-char):
3497 * international/mule-util.el (detect-coding-with-priority):
3498 * iswitchb.el (iswitchb-read-buffer):
3499 * mail/mailalias.el (mail-complete):
3500 * mail/sendmail.el (mail-sent-via):
3501 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
3502 (mouse-major-mode-menu):
3503 * password-cache.el (password-read-and-add):
3504 * pcomplete.el (pcomplete-parse-comint-arguments):
3505 * progmodes/sh-script.el (sh-maybe-here-document):
3506 * replace.el (query-replace-regexp-eval):
3507 * savehist.el (savehist-load):
3508 * simple.el (choose-completion-delete-max-match):
3509 * term.el (term-dynamic-simple-complete):
3510 * vc/ediff-init.el (ediff-check-version):
3511 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
3512 * vc/vc.el (vc-diff-switches-list):
3513 * view.el (view-return-to-alist-update): Likewise.
3514
3515 * subr.el (eval-next-after-load, makehash, insert-string)
3516 (assoc-ignore-representation, assoc-ignore-case): Use declare to
3517 mark obsolete.
3518 (mode-line-inverse-video): Variable deleted.
3519
3520 * international/mule-util.el (string-to-sequence): Remove.
3521
3522 * calendar/calendar.el (calendar-version):
3523 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
3524 (icalendar-convert-diary-to-ical):
3525 * cus-edit.el (custom-mode):
3526 * ansi-color.el (ansi-color-unfontify-region):
3527 * international/latin1-disp.el (latin1-char-displayable-p):
3528 * progmodes/cwarn.el (turn-on-cwarn-mode):
07b1a5fb
SM
3529 * progmodes/which-func.el (which-func-update-1):
3530 Use define-obsolete-function-alias.
59f7af81
CY
3531
3532 * net/newst-backend.el (newsticker-cache-filename):
07b1a5fb
SM
3533 * net/newst-treeview.el (newsticker-groups-filename):
3534 Fix incorrect obsolescence declaration.
59f7af81
CY
3535
3536 * allout.el (allout-passphrase-hint-string): Likewise.
3537 (allout-init): Use a declare form to mark obsolete.
3538
3539 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
3540 this applies to functions.
3541
3542 * iswitchb.el (iswitchb-read-buffer): Move code of
3543 iswitchb-define-mode-map here, and delete that obsolete function.
3544
3545 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
3546 font-lock-reference-face.
3547
cca96c97
GM
35482012-09-25 Glenn Morris <rgm@gnu.org>
3549
b06eeda8
GM
3550 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
3551 Doc fixes.
3552
cca96c97
GM
3553 * eshell/em-term.el (eshell-term-name):
3554 Default to term-term-name. (Bug#12485)
3555
dc4f818b
FEG
35562012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
3557
cca96c97
GM
3558 * progmodes/python.el (python-shell-send-buffer): Better handling
3559 of "if __name__ == '__main__':" conditionals when sending the buffer.
dc4f818b 3560
289c24bd
GM
35612012-09-24 Glenn Morris <rgm@gnu.org>
3562
3563 * eshell/esh-cmd.el (eshell-find-alias-function):
3564 Tighten up file-name regexp. (Bug#12499)
3565
8fb8b88f
FEG
35662012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
3567
3568 Enhancements for triple-quote string syntax.
3569 * progmodes/python.el (python-quote-syntax): Remove.
3570 (python-syntax-propertize-function): New value.
07b1a5fb
SM
3571 (python-syntax-count-quotes, python-syntax-stringify):
3572 New functions.
8fb8b88f 3573
6c27f0f8
CY
35742012-09-24 Chong Yidong <cyd@gnu.org>
3575
a5f2b6ec
CY
3576 * mail/supercite.el (sc-version): Remove obsolete function.
3577 (sc-describe): Don't mark as obsolete, since it is bound.
3578 (sc-submit-bug-report): Remove.
3579
3580 * vc/log-edit.el (cvs-changelog-full-paragraphs)
3581 (cvs-commit-buffer-require-final-newline): Remove.
0c765e5f
CY
3582 (log-edit-require-final-newline)
3583 (log-edit-changelog-full-paragraphs): Default to t.
a5f2b6ec
CY
3584
3585 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
3586 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
3587 * vc/vc.el (vc-checkout-carefully): Likewise.
3588
3589 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
3590 (emerge-version): Remove.
3591
3592 * progmodes/compile.el (compile-internal): Remove.
3593 (compilation-parse-errors-function): Fix typo.
3594
3595 * international/mule.el (set-char-table-default): Remove.
3596 (set-coding-priority, make-coding-system, generic-char-p)
3597 (charset-list, charset-bytes, charset-id): Use declare to mark
3598 functions as obsolete.
3599
3600 * vc/pcvs-defs.el (cvs-buffer-name-alist)
3601 (cvs-invert-ignore-marks): Remove references to obsolete vars.
3602 * vc/vc-hooks.el (vc-default-registered): Don't use
3603 vc-master-templates.
3604
07b1a5fb
SM
3605 * font-lock.el (font-lock-reference-face):
3606 Use define-obsolete-variable-alias.
6c27f0f8
CY
3607
3608 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
3609 * calendar/calendar.el (calendar-font-lock-keywords):
3610 * calendar/diary-lib.el (diary-font-lock-keywords)
3611 (diary-fancy-font-lock-keywords):
3612 * textmodes/reftex-sel.el (reftex-insert-docstruct):
3613 * textmodes/reftex-index.el (reftex-insert-index):
3614 * textmodes/reftex-cite.el (reftex-format-bib-entry):
3615 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3616 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
3617 * progmodes/prolog.el (prolog-font-lock-keywords):
3618 * progmodes/idlwave.el (idlwave-idl-keywords):
3619 * progmodes/ada-mode.el (ada-font-lock-keywords):
3620 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
3621
bcc0adbf
GM
36222012-09-24 Glenn Morris <rgm@gnu.org>
3623
3624 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
3625
095bb823
FEG
36262012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
3627
3628 * progmodes/python.el (python-indent-line): More consistent cursor
3629 movement behavior.
3630
70efc5c9
SM
36312012-09-23 Stefan Merten <smerten@oekonux.de>
3632
3633 * textmodes/rst.el: Fix compiler warning.
3634
2f438239
RW
36352012-09-23 Roland Winkler <winkler@gnu.org>
3636
07b1a5fb
SM
3637 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
3638 Transcribe also LaTeX hyphenation.
2f438239
RW
3639 (bibtex-reformat): Bug fix. Do not quote twice the elements of
3640 bibtex-reformat-previous-options.
3641
936ad041
RW
36422012-09-23 Roland Winkler <winkler@gnu.org>
3643
3644 * proced.el (proced-renice-command): New variable.
3645 (proced-marked-processes): New function.
3646 (proced-with-processes-buffer): New macro.
3647 (proced-send-signal): Use them.
3648 (proced-renice): New command bound to r.
3649
6fab0274
RW
36502012-09-23 Roland Winkler <winkler@gnu.org>
3651
3652 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
3653 ibuffer-saved-filter-groups has one element, shortcut the call of
3654 completing-read. (Bug#12331)
3655
9a930676
CY
36562012-09-23 Chong Yidong <cyd@gnu.org>
3657
3658 * bindings.el (mode-line-toggle-read-only):
3659 * bs.el (bs-toggle-readonly):
3660 * buff-menu.el (Buffer-menu-toggle-read-only):
3661 * dired.el (dired-toggle-read-only):
3662 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
3663
d07ff9db
CY
36642012-09-23 Chong Yidong <cyd@gnu.org>
3665
3666 * image.el (image-type-available-p): Adapt to init-image-library
3667 argument changes.
3668
51c4474e
JL
36692012-09-22 Juri Linkov <juri@jurta.org>
3670
3671 * dired.el (dired-mode-map): Add [remap read-only-mode] for
3672 `dired-toggle-read-only'. (Bug#12462)
3673
43bf5e8e
MR
36742012-09-22 Martin Rudalics <rudalics@gmx.at>
3675
3676 * subr.el (temp-output-buffer-show): New function.
3677 (with-output-to-temp-buffer): Call temp-output-buffer-show
3678 instead of internal-temp-output-buffer-show.
3679
c88b867f
CY
36802012-09-22 Chong Yidong <cyd@gnu.org>
3681
3df47cd5
CY
3682 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
3683 (Bug#12462).
3684
c88b867f
CY
3685 * repeat.el (repeat): Doc fix (Bug#12348).
3686
3687 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
3688 (Bug#10909).
3689
3690 * simple.el (shell-command-on-region): Doc fix.
3171e303 3691 (read-only-mode): Doc fix.
c88b867f 3692
df9685f3
EZ
36932012-09-22 Eli Zaretskii <eliz@gnu.org>
3694
3695 * emacs-lisp/timer.el (run-with-idle-timer)
3696 (timer-activate-when-idle): Warn against reinvoking an idle timer
3697 from within its own timer action. (Bug#12447)
3698
8e17c9ba
MR
36992012-09-22 Martin Rudalics <rudalics@gmx.at>
3700
3701 * cus-start.el (window-combination-limit): Add new optional
3702 values.
3703 * window.el (temp-buffer-window-show)
3704 (window--try-to-split-window): Handle new values of
3705 window-combination-limit (Bug#1806).
3706 (split-window): Test window-combination-limit for t instead of
3707 non-nil.
3708 (display-buffer-at-bottom): New buffer display action function.
3709 * help.el (temp-buffer-resize-regexps): New option.
3710 (temp-buffer-resize-mode): Rewrite doc-string.
3711 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
bd909927 3712 Don't resize reused window. Suggested by Glenn Morris.
8e17c9ba 3713
48a24920
SM
37142012-09-22 Stefan Merten <smerten@oekonux.de>
3715
70efc5c9 3716 * textmodes/rst.el: Revamp section title faces.
48a24920
SM
3717 (rst-official-version)
3718 (rst-package-emacs-version-alist): Sync with official version
3719 V1.4.0.
3720 (rst-faces-defaults, rst-set-level-default)
3721 (rst-level-face-max, rst-level-face-base-color)
3722 (rst-level-face-base-light, rst-level-face-format-light)
3723 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
3724 (rst-adornment-faces-alist): Match new setup.
3725 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
3726 (rst-level-5, rst-level-6): New faces.
3727
82f8cd94
CY
37282012-09-22 Chong Yidong <cyd@gnu.org>
3729
3730 * simple.el (undo): Handle indirect buffers (Bug#8207).
3731
acfa068f 37322012-09-21 Leo Liu <sdl.web@gmail.com>
a8c14da8
LL
3733
3734 IDO: Disable match re-ordering for buffer switching.
2bc9406c 3735 * ido.el (ido-buffer-disable-smart-matches): New variable.
a8c14da8
LL
3736 (ido-set-matches-1): Use it. (Bug#2042)
3737
acfa068f 37382012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
a316d229
JM
3739
3740 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
3741 Fix 2011-05-17 change. (Bug#12418)
3742
acfa068f 37432012-09-21 Leo Liu <sdl.web@gmail.com>
d02e58f8
LL
3744
3745 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
3746
acfa068f 37472012-09-21 Glenn Morris <rgm@gnu.org>
511fd0b2
GM
3748
3749 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
3750 Be more robust about locating simple.el.
3751
acfa068f 37522012-09-21 Glenn Morris <rgm@gnu.org>
fa05bfe0
GM
3753
3754 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
3755
acfa068f
CY
37562012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
3757
3758 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
3759
41a97e6f
JL
37602012-09-20 Juri Linkov <juri@jurta.org>
3761
eb2deaff
JL
3762 * replace.el (query-replace-read-from): Use `read-regexp' instead
3763 of `read-from-minibuffer' when `regexp-flag' is non-nil.
3764 (occur-read-primary-args): Use `read-regexp' instead of
3765 `read-string'.
3766 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
3767 `read-from-minibuffer'.
3768 * isearch.el (isearch-occur): Use `read-regexp' instead of
3769 `read-string'.
3770 * dired.el (dired-read-regexp): Use `read-regexp' instead of
3771 `read-from-minibuffer'.
3772 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
3773 of `read-string'. (Bug#7567)
3774
5825610b
JL
3775 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
3776 and allow accepting a list of strings prepended to a list of
3777 standard default values. Doc fix. (Bug#12321)
3778
eebbf404
JL
3779 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
3780
41a97e6f
JL
3781 * replace.el (read-regexp): Don't add ": " when PROMPT already
3782 ends with a colon and space. (Bug#12321)
3783
c9e452d3
TH
37842012-09-20 Tassilo Horn <tsdh@gnu.org>
3785
3786 * doc-view.el (doc-view-display): Better fix for the cl-assertion
3787 error.
3788
ee97deee
SM
37892012-09-20 Stefan Merten <smerten@oekonux.de>
3790
70efc5c9 3791 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
ee97deee
SM
3792 Fixes feature request bug#11711.
3793 (rst-mode): Create `imenu-create-index-function'.
3794 (rst-get-stripped-line): Delete after refactoring.
3795 (rst-section-tree, rst-section-tree-rec)
3796 (rst-section-tree-point): Refactor and document properly.
3797 (rst-imenu-find-adornments-for-position)
07b1a5fb
SM
3798 (rst-imenu-convert-cell, rst-imenu-create-index):
3799 New function.
ee97deee 3800
f490dab9
SM
38012012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3802
95b9712e
SM
3803 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
3804 (macroexp--expand-all): Use it.
3805 (macroexp--funcall-and-return): Remove by folding it into its sole
3806 caller (macroexp--warn-and-return).
3807 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
3808 Use macroexp--obsolete-warning.
3809
f490dab9
SM
3810 * calc/calc.el: Fix last change by removing the whole chunk, since it
3811 was only needed back when Calc was not bundled.
3812
96e8d411
MR
38132012-09-20 Martin Rudalics <rudalics@gmx.at>
3814
3815 * emacs-lisp/debug.el (debug): Restore assignment to
3816 debugger-old-buffer removed on 2012-09-08.
3817
0876a82d
JL
38182012-09-20 Juri Linkov <juri@jurta.org>
3819
3820 * dired-aux.el (dired-diff): Remove (require 'diff) since
3821 `diff-latest-backup-file' is now autoloaded.
3822
9f7c28f0
CY
38232012-09-20 Chong Yidong <cyd@gnu.org>
3824
3825 * vc/diff.el (diff-latest-backup-file): Autoload.
3826
7a04bee9
SM
38272012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3828
e6f0a80d
SM
3829 * calc/calc.el: Remove redundant autoload shape check.
3830 (sel-mode): Don't defvar.
3831 (calc-get-stack-element): Add `sel-mode' arg instead.
3832 (calc-top, calc-top-list): Pass it this additional argument.
3833 * calc/calc-store.el (calc-store-map):
3834 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
3835 (calc-map-equation, calc-outer-product, calc-inner-product):
3836 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
3837
7a04bee9
SM
3838 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
3839
12734222
JL
38402012-09-19 Juri Linkov <juri@jurta.org>
3841
3842 * dired-aux.el (dired-diff): Add (require 'diff) because
3843 `diff-latest-backup-file' is not autoloaded.
3844 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
3845 of `dired-get-filename' to t to not report error when there is
3846 no default file on the current line.
3847
46624b4f
SM
38482012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3849
ce97595b
SM
3850 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
3851 macroexp--eval-if-compile.
3852 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
3853 (macroexp--expand-all): Use them (bug#12371).
3854
46624b4f
SM
3855 * doc-view.el (doc-view-guess-paper-size)
3856 (doc-view-scale-bounding-box): Fix unbound `caddr'.
3857
db8a5a18
TH
38582012-09-19 Tassilo Horn <tsdh@gnu.org>
3859
3860 New feature: set optimal slice from BoundingBox information.
3861 * doc-view.el (doc-view-mode-map): Add keybinding.
3862 (doc-view-menu): Add menu entry.
3863 (doc-view-set-slice): Adapt docstring.
3864 (doc-view-get-bounding-box, doc-view-guess-paper-size)
3865 (doc-view-scale-bounding-box)
3866 (doc-view-set-slice-from-bounding-box): New functions.
3867 (doc-view-paper-sizes): New defvar.
3868
69f6644c
GM
38692012-09-19 Glenn Morris <rgm@gnu.org>
3870
35f5b19d
GM
3871 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
3872 (byte-compile-log-warning): Autoload. (Bug#12371)
3873
69f6644c
GM
3874 * calendar/calendar.el (calendar-american-month-header)
3875 (calendar-european-month-header, calendar-iso-month-header)
3876 (calendar-month-header): New options.
3877 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
3878 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
3879
e543ae91
JD
38802012-09-19 Jan Djärv <jan.h.d@swipnet.se>
3881
3882 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
3883
2fd5e67d
JL
38842012-09-18 Juri Linkov <juri@jurta.org>
3885
3886 * dired-aux.el (dired-diff): Restore original functionality of
3887 getting the default value, but keep new feature of using the
3888 latest existing backup file (`diff-latest-backup-file').
3889
42917e79
JL
38902012-09-18 Juri Linkov <juri@jurta.org>
3891
3892 * dired.el (dired-mark): If the region is active in Transient Mark
3893 mode, mark all files in the active region. Doc fix.
3894 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
3895 Doc fix. (Bug#10624)
3896
20f70ede
JL
38972012-09-18 Juri Linkov <juri@jurta.org>
3898
3899 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
3900 attributes for M-n are pulled from the file at point.
3901 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
3902 Suggested by Drew Adams. (Bug#10624)
3903
32fb8162
DG
39042012-09-18 Dmitry Gutov <dgutov@yandex.ru>
3905
3906 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
3907 whitespace after "end".
3908 (ruby-do-end-to-brace): Collapse block to one line if it fits
3909 within fill-column.
3910
37ab5092
MR
39112012-09-18 Martin Rudalics <rudalics@gmx.at>
3912
3913 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
3914 value.
3915 (debug): Don't remove debugger window when debugger is expected
3916 to be back.
3917
ed1f0bd3
CY
39182012-09-18 Chong Yidong <cyd@gnu.org>
3919
3920 * custom.el (defface): Doc fix.
3921
3922 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
3923
a11035b8
MB
39242012-09-18 Martin Blais <blais@furius.ca> (tiny change)
3925
3926 * progmodes/compile.el (compilation-start): Use compilation-always-kill
3927 to initialize query-on-exit; then test that instead (bug#12288).
3928
64f6a736
SM
39292012-09-17 Stefan Merten <smerten@oekonux.de>
3930
70efc5c9 3931 * textmodes/rst.el: Add support for `testcover'.
64f6a736
SM
3932 (rst-defcustom-testcover, rst-testcover-add-compose)
3933 (rst-testcover-add-1value): New functions.
3934 (rst-portable-mark-active-p): Replace by `use-region-p'.
3935 (rst-update-section, rst-classify-adornment)
3936 (rst-find-title-line): Mark `1value' forms.
3937 (rst-classify-adornment): Remove superfluous form.
3938 (rst-update-section, rst-get-adornments-around)
3939 (rst-adornment-complete-p, rst-get-next-adornment)
3940 (rst-adjust, rst-promote-region)
3941 (rst-display-adornments-hierarchy, rst-straighten-adornments)
3942 (rst-find-pfx-in-region, rst-section-tree-rec)
3943 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
3944 (rst-toc-node, rst-toc, rst-forward-section)
3945 (rst-iterate-leftmost-paragraphs)
3946 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
3947 (rst-bullet-list-region)
3948 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
3949 (rst-compile-find-conf, rst-compile)
3950 (rst-repeat-last-character): Fix style.
3951
580bd868
CY
39522012-09-17 Chong Yidong <cyd@gnu.org>
3953
3954 * comint.el (comint--complete-file-name-data): Don't add a space
3955 if the status is `sole'; that adds a gratuitous space in the
3956 completion-cycling case (Bug#12092).
3957
3958 * pcomplete.el (pcomplete-completions-at-point): Likewise.
3959
69de3ec6
RS
39602012-09-17 Richard Stallman <rms@gnu.org>
3961
0dee970c
RS
3962 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
3963 only in the mime-shown mode, not in raw mode.
3964 (rmail-mime): Toggle off mime by displaying the message without
6b250df6 3965 mime processing. (Bug#12305)
0dee970c 3966
6b250df6
GM
3967 * mail/rmail.el (rmail-retry-failure):
3968 Turn off mime processing first. (Bug#12037)
acb1c47b 3969
69de3ec6
RS
3970 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
3971
d079ee5f
CY
39722012-09-17 Chong Yidong <cyd@gnu.org>
3973
3974 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
3975 (shell-dynamic-complete-functions): Convert to defcustom.
3976 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
3977
865fe16f
CY
3978 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
3979 * comint.el (comint-prompt-read-only):
3980 * custom.el (defcustom):
3981 * hi-lock.el (hi-lock-mode):
3982 * ibuffer.el (ibuffer-formats):
3983 * ielm.el (ielm-prompt-read-only):
3984 * novice.el (disable-command):
3985 * saveplace.el (toggle-save-place):
3986 * speedbar.el (speedbar-supported-extension-expressions):
3987 * startup.el (auto-save-list-file-prefix, init-file-user)
3988 (after-init-hook, inhibit-startup-echo-area-message):
3989 * strokes.el (strokes-help):
3990 * time-stamp.el (time-stamp):
3991 * calendar/calendar.el (calendar, diary-file):
3992 * calendar/diary-lib.el (diary-mail-entries, diary)
3993 (diary-list-entries-hook):
3994 * calendar/holidays.el (holidays, calendar-holidays):
3995 * calendar/lunar.el (lunar-phases):
3996 * calendar/solar.el (sunrise-sunset):
3997 * emulation/edt.el (edt-load-keys):
3998 * emulation/viper.el (viper-mode):
3999 * eshell/em-alias.el (eshell-command-aliases-list):
4000 * eshell/esh-util.el (eshell-convert-numeric-arguments):
4001 * international/ogonek.el (ogonek-information):
4002 * net/tramp-cmds.el (tramp-bug):
4003 * net/quickurl.el (quickurl-reread-hook-postfix):
4004 * play/decipher.el (decipher-font-lock-keywords):
4005 * progmodes/cc-styles.el (c-set-style):
4006 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
4007 * progmodes/inf-lisp.el (inferior-lisp-prompt):
4008 * progmodes/octave-mod.el (octave-mode):
4009 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
4010 * progmodes/verilog-mode.el (verilog-read-defines):
4011 * textmodes/two-column.el (2C-mode): Likewise.
4012
48093eb9
KY
40132012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
4014
4015 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
4016 that holds many addresses.
4017
c584eaf9
CY
40182012-09-16 Chong Yidong <cyd@gnu.org>
4019
40d70ecb
CY
4020 * align.el (align-areas): Call the indication function with
4021 positions instead of markers for arguments (Bug#12343).
4022
1667e065
CY
4023 * files.el (parse-colon-path): Use split-string (Bug#12351).
4024
fdc2806d 4025 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
71ce58e7 4026 (display-buffer-function): Mark as obsolete.
fdc2806d 4027
f1be615c 4028 * progmodes/compile.el (compilation-parse-errors): Accept list
ce97595b
SM
4029 values similar to font-lock-keywords (Bug#12136).
4030 Suggested by Oleksandr Manzyuk.
c584eaf9
CY
4031 (compilation-error-regexp-alist): Doc fix.
4032
f40a9709
GM
40332012-09-15 Glenn Morris <rgm@gnu.org>
4034
72aa16e1
GM
4035 * version.el (emacs-bzr-version-bzr): New function.
4036 (emacs-bzr-get-version): Add optional EXTERNAL argument.
4037
82375160
GM
4038 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
4039 checkouts, check the parent dirstate matches the branch.
4040 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
4041 empty string.
4042
f40a9709
GM
4043 * version.el (emacs-bzr-version): Doc fix.
4044 (emacs-bzr-version-dirstate): New function.
4045 (emacs-bzr-get-version): For lightweight checkouts, if the parent
4046 is local try and check that it matches the branch. If not, just
4047 use dirstate information. (Bug#12441)
4048
cb26b7f5
JL
40492012-09-14 Juri Linkov <juri@jurta.org>
4050
4051 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
4052 (Bug#12399)
4053
2de39f08
SM
40542012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
4055
0fb3cb7c
SM
4056 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
4057
2de39f08
SM
4058 * emacs-lisp/edebug.el: Miscellaneous cleanup.
4059 Remove obsolete byte-compiler hack that tried to silence some warnings.
4060 (edebug-submit-bug-report): Remove.
4061 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
4062 Remove aliases, use the un-prefixed name instead.
4063 (edebug-pop-to-buffer): Consider other frames.
4064 (edebug-original-read):: Make it more obvious that it's always defined.
4065 (edebug--make-form-data-entry, edebug--form-data-name)
4066 (edebug--form-data-begin, edebug--form-data-end): Rename from the
4067 single-dashed name, and implement with cl-defstruct.
4068 (edebug-set-form-data-entry): Use the standard accessors.
4069 (edebug-make-top-form-data-entry): Use push.
4070 (edebug-no-match): Drop useless `funcall'.
4071 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
4072 to functions.
4073 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
4074 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
4075 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
4076 (easy-menu-define, with-custom-print): Remove redundant specs.
4077 (edebug-outside-overriding-local-map)
4078 (edebug-outside-overriding-terminal-local-map): Remove, unused.
4079 (edebug--display): Bind unread-command-events directly to nil rather
4080 than binding it to unread-command-events and later setting it to nil.
4081 (edebug--display): Kill edebug-eval-buffer here...
4082 (edebug--recursive-edit): ...rather than here.
4083 Bind standard-output and standard-input.
4084 (edebug-eval): Check cl-macroexpand-all is fboundp.
4085 (edebug-temp-display-freq-count): Fix last change.
4086
4087 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
4088 * subr.el (noreturn, 1value): Add `debug' spec.
4089 * emacs-lisp/advice.el: Require cl-lib.
4090 (ad-copy-tree): Remove, use copy-tree instead.
4091 (ad-dolist): Remove use dolist or cl-dolist instead.
4092 (ad-do-return): Remove, use cl-return instead.
4093 (defadvice): Add `debug' spec.
4094
5b68b333
JL
40952012-09-13 Juri Linkov <juri@jurta.org>
4096
4097 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
4098 (Bug#12399)
4099
b9800ec4
GM
41002012-09-13 Glenn Morris <rgm@gnu.org>
4101
6a2e6868
GM
4102 * calc/calc.el (math-compose-expr):
4103 * calc/calc-ext.el (math-compose-expr):
4104 * progmodes/cc-defs.el (cl-macroexpand-all):
4105 * progmodes/cc-langs.el (delete-duplicates, mapcan)
4106 (cl-macroexpand-all): Update declarations.
4107
b9800ec4
GM
4108 * vc/vc.el: No need to require ediff.
4109 (ediff-load-version-control): Declare.
4110 (ediff-vc-internal): Fix declaration.
4111 (vc-version-ediff): Require ediff.
4112
c18e885b
PE
41132012-09-13 Paul Eggert <eggert@cs.ucla.edu>
4114
4115 Use a more backwards-compatible timer format (Bug#12430).
4116 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
4117 being right after USECS, as that better supports old code that
4118 inadvisedly looked directly at the timer vector.
4119
d607d303
KH
41202012-09-13 Kenichi Handa <handa@gnu.org>
4121
4122 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
4123 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
4124 `coding-priority' property of these language environment.
4125
72eac303
PE
41262012-09-13 Paul Eggert <eggert@cs.ucla.edu>
4127
4128 Fix glitches caused by addition of psec to timers (Bug#12430).
4129 * image.el (image-animate-timer):
4130 * time.el (display-time-world-timer):
4131 Use timer--function and timer--args rather than raw access to
4132 timer vector.
4133
2168fe4f
GM
41342012-09-13 Glenn Morris <rgm@gnu.org>
4135
4136 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
4137 If not compiling a file, try using load-file-name.
4138
bd8d6108
SM
41392012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
4140
c0c54fbd
SM
4141 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
4142 Fix last change.
4143 (edebug-update-eval-list): Use `push'.
4144
bd8d6108
SM
4145 * emacs-lisp/edebug.el: Use lexical-binding.
4146 Remove the "edebug-" prefix from non-dynamically-scoped variables.
4147 Mark unused args with underscore.
4148 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
4149 (edebug-form-data): Use defvar-local.
4150 (edebug-make-before-and-after-form, edebug-make-after-form):
4151 Use backquote.
4152 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
4153 Not dynamically scoped any more.
4154 (edebug--enter-trace): Add arguments `function' and `args'.
4155 Rename from edebug-enter-trace.
4156 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
4157 (edebug--update-coverage): Add `after-index' and `value' args.
4158 Rename from edebug-update-coverage.
4159 (edebug-slow-after): Call it accordingly.
4160 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
4161 edebug-recursive-edit.
4162 (edebug--display): Call it accordingly. Add args `value',
4163 `offset-index', and `arg-mode'. Rename from edebug-display.
4164 (edebug-debugger, edebug): Call it accordingly.
4165 (edebug-eval-display-list): Use dolist.
4166
a9f9d9de
JL
41672012-09-12 Juri Linkov <juri@jurta.org>
4168
4169 * info.el (Info-search): Don't check for isearch-mode and
4170 isearch-regexp before let-binding search-spaces-regexp to
4171 Info-search-whitespace-regexp.
4172 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
4173 search-whitespace-regexp if isearch-lax-whitespace or
4174 isearch-regexp-lax-whitespace is non-nil.
4175 (Info-mode): Don't set local variable search-whitespace-regexp.
4176 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
4177
bfeae2cf
SM
41782012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4179
4180 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
4181 (debugger-env-macro): Remove support for unread-command-char.
4182
4183 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
4184 the temporary map re-appearing on emulation-mode-map-alists.
4185
4186 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
4187 since 22.1.
4188
4189 * ehelp.el (with-electric-help): Accept functions in
4190 electric-help-form-to-execute.
4191 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
4192 And replace unread-command-char -> unread-command-events.
4193
fbbcaf1b
MA
41942012-09-12 Michael Albinus <michael.albinus@gmx.de>
4195
4196 Sync with Tramp 2.2.6.
4197
4198 * net/tramp.el (tramp-accept-process-output): Don't use
4199 JUST-THIS-ONE in the XEmacs case.
4200
4201 * net/trampver.el: Update release number.
4202
4dece104
MR
42032012-09-12 Martin Rudalics <rudalics@gmx.at>
4204
bfeae2cf
SM
4205 * emacs-lisp/debug.el (debugger-previous-window-height):
4206 New variable.
4dece104
MR
4207 (debug): When debugger-jumping-flag is non-nil try to restore
4208 height of debugger window. (Bug#8789)
4209
45b82ad0
SM
42102012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4211
60c49c0f
SM
4212 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
4213 overriding-local-map and pre/post-command-hook here.
4214 (edebug-recursive-edit): Do it here instead (bug#12345).
4215 (edebug-outside-unread-command-char): Remove all uses of
4216 unread-command-char.
4217
45b82ad0
SM
4218 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
4219 inhibit-debugger is bound instead.
4220
baa26ea0
BG
42212012-09-11 Bastien Guerry <bzg@gnu.org>
4222
4223 * subr.el (set-temporary-overlay-map): Add a docstring.
fc0c31f8 4224 (Bug#12346)
baa26ea0 4225
04e8abfa
BG
42262012-09-11 Bastien Guerry <bzg@gnu.org>
4227
96d03571 4228 * minibuffer.el (completion-table-subvert): Fix docstring.
fc0c31f8 4229 (Bug#12347)
96d03571
BG
4230
42312012-09-11 Bastien Guerry <bzg@gnu.org>
4232
fc0c31f8 4233 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
04e8abfa 4234
04e082b0
MM
42352012-09-10 Michael R. Mauger <mmaug@yahoo.com>
4236
4237 * progmodes/sql.el: Version 3.1
4238 (sql-db2-escape-newlines): New variable.
4239 (sql-escape-newlines-filter): Use it.
4240
399a361b
JB
42412012-09-10 Juanma Barranquero <lekktu@gmail.com>
4242
4243 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
4244
0780c517
DN
42452012-09-10 Dan Nicolaescu <dann@gnu.org>
4246
45b82ad0
SM
4247 * vc/diff-mode.el (diff-mode-menu):
4248 Bind diff-remove-trailing-whitespace.
0780c517 4249
9b851e25
SM
42502012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
4251
4252 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
fc0c31f8
JB
4253 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
4254 (emacs-lisp-byte-code-mode): New functions.
9b851e25
SM
4255 (eval-sexp-add-defvars): Don't skip defvars in column >0.
4256 (eval-defun-2): Remove bogus interactive spec.
4257 (lisp-indent-line): Remove redundant whole-exp code, now done in
4258 indent-according-to-mode.
4259 (save-match-data): Remove redundant indent data.
4260
4261 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
4262 Use `declare'.
4263
3231d532
JL
42642012-09-09 Juri Linkov <juri@jurta.org>
4265
4266 * replace.el (replace-regexp-lax-whitespace): New defcustom.
4267 (replace-lax-whitespace, query-replace-regexp)
4268 (query-replace-regexp-eval, replace-regexp): Doc fix.
4269 (perform-replace, replace-highlight): Let-bind
4270 isearch-lax-whitespace to replace-lax-whitespace and
4271 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
4272
4273 * isearch.el (isearch-query-replace): Let-bind
4274 replace-lax-whitespace to isearch-lax-whitespace and
4275 replace-regexp-lax-whitespace to
4276 isearch-regexp-lax-whitespace. (Bug#10885)
4277
70fe8236
SM
42782012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
4279
4280 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
4281
8ed43f15
AM
42822012-09-09 Alan Mackenzie <acm@muc.de>
4283
70fe8236
SM
4284 * progmodes/cc-engine.el (c-state-cache-init):
4285 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
4286 (c-record-parse-state-state):
4287 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
8ed43f15 4288
bfabf70a
AS
42892012-09-09 Andreas Schwab <schwab@linux-m68k.org>
4290
4291 * register.el (register-separator): Rename from
4292 separator-register. All uses changed. Doc fix.
4293 (register): Fix version.
4294
011474aa
CY
42952012-09-09 Chong Yidong <cyd@gnu.org>
4296
4297 * replace.el (query-replace-map): Bind four new symbols for
4298 requesting window scrolling.
4299
4300 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
4301 query-replace-map (Bug#8948).
4302
4303 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
4304
4305 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
4306 since they are now in query-replace-map.
4307
4308 * window.el (scroll-other-window-down): Make the arg optional.
4309
a8b7cd8d
CY
43102012-09-09 Chong Yidong <cyd@gnu.org>
4311
4312 * files.el (hack-local-variables-confirm): Use quit-window to kill
4313 the *Local Variables* buffer.
4314
c3268831
DG
43152012-09-08 Dmitry Gutov <dgutov@yandex.ru>
4316
4317 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
4318 not just expect to be at its beginning. Adjust callees.
4319 Succeed when do-end block has no space before the pipe character.
4320 (ruby-brace-to-do-end): When the original block is one-liner,
4321 convert to multiline. Reindent the result.
4322
0979429b
J
43232012-09-08 Jambunathan K <kjambunathan@gmail.com>
4324
4325 * register.el (register): New group.
27359e99 4326 (separator-register): New user option.
0979429b
J
4327 (increment-register): Route it to `append-to-register', if
4328 register contains text. Implication is that `C-x r +' can now be
4329 used for appending to a text register (bug#12217).
4330 (append-to-register, prepend-to-register): Add separator based on
5b9c45a6 4331 `separator-register'.
0979429b 4332
ace2989a
AM
43332012-09-08 Alan Mackenzie <acm@muc.de>
4334
4335 AWK Mode: make auto-newline work when there's "==" in the pattern.
4336 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
4337 correctly.
0979429b
J
4338 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
4339 Test more rigorously for "=" token.
ace2989a 4340
616c6c36
DG
43412012-09-08 Dmitry Gutov <dgutov@yandex.ru>
4342
0979429b
J
4343 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
4344 Only fail when reached LIMIT.
616c6c36 4345
35d98877
CY
43462012-09-08 Chong Yidong <cyd@gnu.org>
4347
4348 * dired.el (dired-mode-map): Don't bind M-=.
4349
4350 * dired-aux.el (dired-diff): Use backup file as default.
4351
1715f2db
DA
43522012-09-08 Drew Adams <drew.adams@oracle.com>
4353
4354 * subr.el (add-to-history): Fix delete usage (Bug#12314).
4355
6dcef6ec
CY
43562012-09-08 Chong Yidong <cyd@gnu.org>
4357
4358 * subr.el (syntax-after, syntax-class): Doc fix.
4359
fa2bcf43
MR
43602012-09-08 Martin Rudalics <rudalics@gmx.at>
4361
4362 * window.el (display-buffer-in-previous-window): New buffer
4363 display action function.
4364
4365 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
4366 (debugger-previous-window): New variable.
4367 (debug): Rewrite using display-buffer-in-previous-window,
4368 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
4369
daac280a
SM
43702012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
4371
4372 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
4373
9dd40b00
MM
43742012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
4375
daac280a
SM
4376 * progmodes/python.el (python-shell-send-string):
4377 When default-directory is remote, create temp file on remote
9dd40b00
MM
4378 filesystem.
4379 (python-shell-send-file): When file is remote, pass local view of
4380 file paths to remote Python interpreter. (Bug#12340)
4381
145823ec
CY
43822012-09-07 Chong Yidong <cyd@gnu.org>
4383
cee2e90d
CY
4384 * window.el (switch-to-buffer): Doc fix (Bug#12181).
4385
0d7eb2ea
CY
4386 * files.el (after-find-file): Don't fail on a read-only buffer if
4387 require-final-newline is `visit' or `visit-save' (Bug#11156).
4388
145823ec
CY
4389 * subr.el (read-char-choice): Allow quitting via ESC ESC.
4390
daac280a
SM
4391 * userlock.el (ask-user-about-supersession-threat):
4392 Use read-char-choice (Bug#12093).
145823ec 4393
74c582e6
CY
43942012-09-07 Chong Yidong <cyd@gnu.org>
4395
e5c2edf7
CY
4396 * subr.el (buffer-narrowed-p): New function.
4397
4398 * ses.el (ses-widen):
4399 * simple.el (count-words--buffer-message):
1f9f395d 4400 * net/browse-url.el (browse-url-of-buffer): Use it.
e5c2edf7
CY
4401
4402 * simple.el (count-words-region): Don't signal an error if there
4403 is a non-nil prefix arg and the mark is not set.
c640e87d 4404
74c582e6
CY
4405 * help.el (describe-key-briefly): Allow the message to be seen
4406 when invoked from the minibuffer (Bug#7014).
4407
d81ceaaf
DG
44082012-09-07 Dmitry Gutov <dgutov@yandex.ru>
4409
4410 * progmodes/ruby-mode.el (ruby-end-of-defun)
4411 (ruby-beginning-of-defun): Simplify, allow indentation before
4412 block beginning and end keywords.
8f06acce
DG
4413 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
4414 (ruby-end-of-defun): Expect that the point is at the beginning of
4415 the defun.
d81ceaaf 4416
d458ef98
SM
44172012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4418
4419 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
4420 (bug#12367).
4421 (cl--make-usage-args): Strip _ from argument names.
4422
20367d28
RS
44232012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4424
4425 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
4426 obsolete alias speedbar-key-map.
4427 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
4428 (vhdl-index-menu-init): Don't use obsolete variable
4429 font-lock-maximum-size.
4430
3424a4f6
CY
44312012-09-06 Chong Yidong <cyd@gnu.org>
4432
4433 * frame.el (window-system-version): Mark as obsolete.
4434
fcbfbdea
CY
4435 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
4436 of obsolete variable speedbar-key-map.
4437
826b3235
JL
44382012-09-06 Juri Linkov <juri@jurta.org>
4439
4440 * replace.el (replace-lax-whitespace): New defcustom.
4441 (query-replace, query-replace-regexp, query-replace-regexp-eval)
4442 (replace-string, replace-regexp): Mention it in docstrings.
4443 (perform-replace, replace-highlight): Let-bind
4444 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
4445 to the values of replace-lax-whitespace and regexp-flag.
4446 Don't let-bind search-whitespace-regexp. (Bug#10885)
4447
4448 * isearch.el (isearch-query-replace): Let-bind
4449 replace-lax-whitespace instead of let-binding
4450 replace-search-function and replace-re-search-function.
4451 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
4452 and isearch-regexp-lax-whitespace to lazy-highlight variables.
4453 (isearch-toggle-symbol): Set isearch-regexp to nil
4454 in isearch-word mode (like in isearch-toggle-word).
4455
1ec5e41d
JL
44562012-09-06 Juri Linkov <juri@jurta.org>
4457
4458 * replace.el (replace-search-function)
4459 (replace-re-search-function): Set default values to nil.
4460 (perform-replace): Let-bind isearch-related variables based on
4461 replace-related values, call `isearch-search-fun' and let-bind
4462 the result to `search-function'. Remove code that sets
4463 `search-function' and `search-string' separately for
4464 `delimited-flag'.
4465 (replace-highlight): Add new argument `delimited-flag' and
4466 rename other arguments to the names used in `perform-replace'.
4467 Let-bind `isearch-word' to the argument `delimited-flag'.
4468 (Bug#10885, bug#10887)
4469
0ba2d4b6
DG
44702012-09-07 Dmitry Gutov <dgutov@yandex.ru>
4471
4472 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
4473 ruby-beginning-of-indent, simplify, allow all keywords to have
4474 indentation before them.
4475 (ruby-beginning-of-indent): Adjust for above. Search until the
4476 found point is not inside a string or comment.
4477 (ruby-font-lock-keywords): Allow symbols to start with "@"
4478 character, give them higher priority than variables.
4479 (ruby-syntax-propertize-function)
4480 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
4481 matchers. Expression expansions are not comments when inside a
4482 string, and there comment syntax status is irrelevant.
4483 (ruby-match-expression-expansion): New function. Check that
4484 expression expansion is inside a string, and it's not escaped.
4485 (ruby-font-lock-keywords): Use it.
4486
ef654460
MR
44872012-09-05 Martin Rudalics <rudalics@gmx.at>
4488
4489 * help.el (temp-buffer-max-height): New default value.
4490 (temp-buffer-resize-frames): New option.
4491 (resize-temp-buffer-window): Optionally resize frame.
4492
4493 * window.el (fit-frame-to-buffer-bottom-margin): New option.
4494 (fit-frame-to-buffer): New function.
4495
7e570fbf 44962012-09-05 Glenn Morris <rgm@gnu.org>
72308848
GM
4497
4498 * emulation/cua-rect.el (cua--init-rectangles):
4499 * textmodes/picture.el (picture-mode-map):
4500 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
4501 like forward-char and backward-char. (Bug#12317)
4502
7e570fbf 45032012-09-05 Leo Liu <sdl.web@gmail.com>
3aca1291
LL
4504
4505 * progmodes/flymake.el (flymake-warning-re): New variable.
4506 (flymake-parse-line): Use it.
4507
7e570fbf 45082012-09-05 Glenn Morris <rgm@gnu.org>
b6683353
GM
4509
4510 * calendar/holidays.el (holiday-christian-holidays):
4511 Rename an entry. (Bug#12289)
4512
7e570fbf 45132012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
64f8c4bd
SM
4514
4515 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
4516 (bug#12222).
4517
972debf2
SM
45182012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4519
4520 * loadup.el: Load macroexp. Remove hack.
4521 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
4522 (macroexp--expand-all): Use it to get better warnings.
4523 (macroexp--backtrace, macroexp--trim-backtrace-frame)
4524 (internal-macroexpand-for-load): New functions.
4525 (macroexp--pending-eager-loads): New var.
4526 (emacs-startup-hook): New hack to replace one in loadup.el.
4527 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
4528 (cl--compiler-macro-cXXr): Move to top, before they can be used.
4529 (cl-psetf): Simplify.
4530 (cl-defstruct): Add indent rule.
4531
8ce192e3
LI
45322012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
4533
4534 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
4535 over `user-mail-address' for the SMTP MAIL FROM envelope.
4536 (smtpmail-via-smtp): Ditto.
4537
6578b4d8
DG
45382012-09-04 Dmitry Gutov <dgutov@yandex.ru>
4539
4540 * progmodes/ruby-mode.el: Clean up keybindings.
4541 (ruby-mode-map): Don't bind ruby-electric-brace,
4542 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
4543 backward-kill-word, reindent-then-newline-and-indent.
4544 (ruby-mark-defun): Remove.
4545 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
4546 (ruby-mode): Set local beginning-of-defun-function and
4547 end-of-defun-function values.
4548
c5e28e39
MR
45492012-09-03 Martin Rudalics <rudalics@gmx.at>
4550
4551 * window.el (temp-buffer-window-setup-hook)
4552 (temp-buffer-window-show-hook): New hooks.
4553 (temp-buffer-window-setup, temp-buffer-window-show)
4554 (with-temp-buffer-window): New functions.
972debf2
SM
4555 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
4556 (special-display-popup-frame): Make sure the window used shows BUFFER.
c5e28e39
MR
4557
4558 * help.el (temp-buffer-resize-mode): Fix doc-string.
4559 (resize-temp-buffer-window): New optional argument WINDOW.
4560
4561 * files.el (recover-file, save-buffers-kill-emacs):
4562 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
4563
73406194
MA
45642012-09-02 Michael Albinus <michael.albinus@gmx.de>
4565
4566 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
4567 remote definition of `default-directory', ensure we can connect.
4568
63dd1c6f
JL
45692012-09-02 Juri Linkov <juri@jurta.org>
4570
4571 Toggle whitespace matching mode with M-s SPC.
4572 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
4573
4574 * isearch.el (search-whitespace-regexp): Doc fix.
4575 Remove cons cell customization.
4576 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
4577 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
4578 New variables.
4579 (isearch-forward, isearch-forward-regexp): Doc fix.
4580 (isearch-toggle-lax-whitespace): New command.
4581 (search-forward-lax-whitespace, search-backward-lax-whitespace)
4582 (re-search-forward-lax-whitespace)
4583 (re-search-backward-lax-whitespace): New functions.
4584 (isearch-whitespace-regexp): Remove function.
4585 (isearch-query-replace): Let-bind replace-search-function and
4586 replace-re-search-function.
4587 (isearch-occur): Let-bind search-spaces-regexp according to the
4588 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
4589 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
4590 condition for C-q SPC.
4591 (isearch-search-fun-default): Use new functions mentioned above.
4592 (isearch-search-forward, isearch-search-backward): Remove functions.
4593 (isearch-search): Don't let-bind search-spaces-regexp.
4594 (isearch-lazy-highlight-space-regexp): Remove variable.
4595 (isearch-lazy-highlight-lax-whitespace)
4596 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
4597 (isearch-lazy-highlight-new-loop): Use them.
4598 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
4599
af7dda05
CY
46002012-09-02 Chong Yidong <cyd@gnu.org>
4601
4602 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
4603
d67d3afd
GM
46042012-09-02 Glenn Morris <rgm@gnu.org>
4605
4606 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
4607
69678719
GM
46082012-09-01 Glenn Morris <rgm@gnu.org>
4609
4610 * term.el: Tidy up menu definitions.
4611 (term-mode-map): Use easymenu for In/Out, Complete menus.
4612 (term-pager-break-map): Initialize in the defvar.
4613 (term-terminal-menu, term-signals-menu): Define with easymenu.
4614 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
4615 (term-pager-menu): New, extracted from term-process-pager.
4616 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
4617 (term-update-mode-line): Propertize line/char and page items.
4618 (term-process-pager): Move keymap initialization elsewhere.
4619
78dd6ab1
MR
46202012-09-01 Martin Rudalics <rudalics@gmx.at>
4621
4622 * window.el (switch-to-prev-buffer): Handle additional values of
4623 BURY-OR-KILL argument. Don't switch in minibuffer window.
4624 (switch-to-next-buffer): Don't switch in minibuffer window.
4625 (quit-restore-window): New function based on quit-window.
4626 Handle additional values of former KILL argument.
4627 (quit-window): Call quit-restore-window with appropriate
4628 interpretation of KILL argument.
4629 (display-buffer-below-selected): New buffer display action
4630 function.
4631
3d10e134
SM
46322012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
4633
4634 * minibuffer.el (completion-at-point-functions): Complete docstring
4635 (bug#12254).
4636
0e23ef9d
PE
46372012-09-01 Paul Eggert <eggert@cs.ucla.edu>
4638
4639 Better seed support for (random).
4640 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
4641 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
4642 * play/mpuz.el, play/tetris.el, play/zone.el:
4643 * calc/calc-comb.el (math-init-random-base):
4644 * play/blackbox.el (bb-init-board):
4645 * play/life.el (life):
4646 * server.el (server-use-tcp):
4647 * type-break.el (type-break):
4648 Remove unnecessary call to (random t).
4649 * net/sasl.el (sasl-unique-id-function):
4650 Change (random t) to (random), now that the latter is more random.
4651 * play/life.el (life-initialized): Remove no-longer-needed var.
4652
862382df
MR
46532012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
4654
4655 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
4656 Consider frame's buffer predicate when choosing the buffer.
4657 (Bug#12081)
4658
262a66e1
RS
46592012-08-30 Richard Stallman <rms@gnu.org>
4660
4661 * simple.el (special-mode-map): Delete binding for `z'.
4662
f17e1d00
AS
46632012-08-30 Andreas Schwab <schwab@linux-m68k.org>
4664
4665 * progmodes/compile.el (compilation-always-kill): Doc fix.
4666
24777832
CY
46672012-08-30 Chong Yidong <cyd@gnu.org>
4668
4669 * window.el (display-buffer-reuse-frames): Make the obsolescence
4670 message more informative.
4671
69ba1f04
GM
46722012-08-30 Glenn Morris <rgm@gnu.org>
4673
4674 * paren.el (show-paren-delay):
4675 Add a :set function. Doc fix. (Bug#12297)
4676
f0019ede
MB
46772012-08-29 Martin Blais <blais@furius.ca> (tiny change)
4678
4679 * progmodes/compile.el (compilation-always-kill): New var.
4680 (compilation-start): Use it.
4681
35e62fc9
SM
46822012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4683
af070a1c
SM
4684 * simple.el (read-only-mode): Move from files.el for bootstrapping.
4685 * files.el (read-only-mode): Move to simple.el.
4686
35e62fc9
SM
4687 * files.el (read-only-mode): New minor mode.
4688 (toggle-read-only): Use it and mark obsolete.
4689 (find-file--read-only):
4690 * vc/vc.el (vc-next-action, vc-checkout):
4691 * vc/vc-cvs.el (vc-cvs-checkout):
4692 * obsolete/vc-mcvs.el (vc-mcvs-update):
4693 * ffap.el (ffap--toggle-read-only): Update callers.
4694
c2c43c23
MA
46952012-08-29 Michael Albinus <michael.albinus@gmx.de>
4696
4697 * eshell/esh-ext.el (eshell-external-command): Do not examine
972debf2
SM
4698 remote shell scripts.
4699 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
c2c43c23
MA
4700
4701 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
4702 "/usr/local/sbin".
4703
9fba804b
SM
47042012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4705
4706 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
4707
eada0861 47082012-08-28 Leo Liu <sdl.web@gmail.com>
22ab32ef 4709
806f0cc7
LL
4710 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
4711 completion-at-point. (Bug#12220)
4712
3bb213b9
LL
4713 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
4714
22ab32ef
LL
4715 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
4716
eada0861 47172012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
db148c21 4718
19c17fc1
CY
4719 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
4720 be buffer-local; add delete-trailing-whitespace (bug#12259).
db148c21 4721
eada0861 47222012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
ffe6eaf1
JM
4723
4724 * progmodes/hideif.el (hif-compress-define-list):
4725 Fix typo. (Bug#11951)
4726
eada0861 47272012-08-28 Dan Nicolaescu <dann@gnu.org>
d30aca1b
DN
4728
4729 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
4730 buffer local setting.
4731
27d6c5a8
LL
4732 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
4733 rcirc-encode-coding-system.
4734
eada0861 47352012-08-28 Leo Liu <sdl.web@gmail.com>
4432d2e2
LL
4736
4737 * net/rcirc.el (rcirc-split-message): New function.
4738 (rcirc-send-message): Use it. (Bug#12051)
4739
d44688e4
JL
47402012-08-28 Juri Linkov <juri@jurta.org>
4741
4742 * info.el (Info-fontify-node): Hide empty lines at the end of
4743 the node. (Bug#12272)
4744
34f10d41
MR
47452012-08-27 Drew Adams <drew.adams@oracle.com>
4746
4747 * dired.el (dired-pop-to-buffer): Make window start at beginning
4748 of buffer (Bug#12281).
4749
77f1f99c
CY
47502012-08-26 Chong Yidong <cyd@gnu.org>
4751
4752 * window.el (special-display-regexps, special-display-frame-alist)
4753 (special-display-buffer-names, special-display-function)
4754 (display-buffer-reuse-frames): Mark as obsolete.
4755
4756 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
4757
4758 * help.el (help-print-return-message): Don't treat
4759 display-buffer-reuse-frames specially.
4760
d97af5a0
CY
47612012-08-26 Chong Yidong <cyd@gnu.org>
4762
9fba804b
SM
4763 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
4764 New variable, replacing gdb-frame-parameters.
d97af5a0
CY
4765 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
4766 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
4767 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
4768 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
4769 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
4770 the functions directly with gdb-display-buffer-other-frame-action.
4771 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
4772 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
4773 (gdb-display-stack-buffer, gdb-display-locals-buffer)
4774 (gdb-display-registers-buffer): Define directly.
4775 (def-gdb-display-buffer): Macro deleted.
4776 (gdb-display-buffer): Remove second and third args, callers don't
4777 use them. Defer to the default display-buffer behavior, apart
4778 from making windows dedicated.
4779 (gdb-setup-windows): Don't call display-buffer unnecessarily.
4780
4781 * progmodes/gud.el (gud-display-line): Just use display-buffer.
4782
4783 * window.el (display-buffer-pop-up-frame): Handle a
4784 pop-up-frame-parameters alist entry.
4785 (display-buffer): Document it.
4786
dd7ffad6
CY
47872012-08-26 Chong Yidong <cyd@gnu.org>
4788
4789 * isearch.el (search-whitespace-regexp): Make string and nil
4790 values apply to both ordinary and regexp search. Allow a cons
4791 cell value to distinguish between the two.
4792 (isearch-whitespace-regexp, isearch-search-forward)
4793 (isearch-search-backward): New functions.
4794 (isearch-occur, isearch-search-fun-default, isearch-search)
4795 (isearch-lazy-highlight-new-loop): Use them.
4796 (isearch-forward, isearch-forward-regexp): Doc fix.
4797
4c47bd1e
CY
47982012-08-26 Chong Yidong <cyd@gnu.org>
4799
4800 * faces.el (help-argument-name): Always inherit from italic
4801 (Bug#12213).
4802
9aba119d
MR
48032012-08-25 Martin Rudalics <rudalics@gmx.at>
4804
4805 * window.el (window--even-window-heights): Even heights when
4806 WINDOW and the selected window form a vertical combination.
4807 (display-buffer-use-some-window): Provide that window used gets
4808 sized back by quit-window. (Bug#11880) and (Bug#12091)
4809
ca5256ad
PE
48102012-08-24 Paul Eggert <eggert@cs.ucla.edu>
4811
4812 Fix file time stamp problem with bzr and CVS (Bug#12001).
4813 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
4814 in the file's time stamp, since the version control system loses
4815 that information.
4816
d1c0d176
JL
48172012-08-22 Juri Linkov <juri@jurta.org>
4818
4819 * info.el (Info-fontify-node): Hide the suffix of the
4820 Info file name in the header line. (Bug#12187)
4821
141562ff
GM
48222012-08-22 Glenn Morris <rgm@gnu.org>
4823
4824 * calendar/cal-tex.el (cal-tex-weekly-common):
4825 Restore leading blank page.
4826
3a21537c 48272012-08-22 Le Wang <l26wang@gmail.com>
add9ca2d
BG
4828
4829 * misc.el (forward-to-word, backward-to-word): Activate or extend
61a48e19
GM
4830 the region under `shift-select-mode'. (Bug#12231)
4831
48322012-08-22 Bastien Guerry <bzg@gnu.org>
0fcd3d9f
BG
4833
4834 * progmodes/executable.el (executable-prefix): Set to "#!" instead
4835 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
4836 gives details on why the space is never needed.
4837
ea95074e
MR
48382012-08-22 Martin Rudalics <rudalics@gmx.at>
4839
9fba804b
SM
4840 * window.el (walk-window-tree, window-with-parameter):
4841 New optional argument MINIBUF to control whether these functions
ea95074e
MR
4842 should run on the minibuffer window.
4843 (window-at-side-list): Don't operate on minibuffer window.
4844 (window-in-direction): Simplify and rewrite doc-string.
9fba804b
SM
4845 (window--size-ignore): Rename to window--size-ignore-p.
4846 Update callers.
caceae25
MR
4847 (display-buffer-in-atom-window, window--major-non-side-window)
4848 (window--major-side-window, display-buffer-in-major-side-window)
9fba804b
SM
4849 (delete-side-window, display-buffer-in-side-window):
4850 New functions.
caceae25
MR
4851 (window--side-check, window-deletable-p, delete-window)
4852 (delete-other-windows, split-window): Handle side windows and
4853 atomic windows appropriately.
4854 (window--display-buffer): Call display-buffer-record-window also
4855 when the window buffer did not change.
ea95074e 4856
80a51fa0
CS
48572012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
4858
4859 * help-fns.el (help-fns--key-bindings):
4860 Abbreviate non-symbol remap targets. (Bug#12174)
4861
fbb6300b
MR
48622012-08-22 Martin Rudalics <rudalics@gmx.at>
4863
4864 * dired.el (dired-mark-remembered): Don't clobber point.
4865 (Bug#11795)
4866
2b2c0794
GM
48672012-08-22 Glenn Morris <rgm@gnu.org>
4868
4869 * progmodes/bug-reference.el (bug-reference): New custom group.
4870 (bug-reference-bug-regexp): Make it a defcustom.
4871
37219830
DU
48722012-08-22 Daiki Ueno <ueno@unixuser.org>
4873
4874 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
4875 (js-paren-indent-offset, js-square-indent-offset)
4876 (js-curly-indent-offset): Add :safe (Bug#12257).
4877
94e0e559
EC
48782012-08-22 Edward O'Connor <hober0@gmail.com>
4879
4880 * json.el (json-key-format): Add error properties.
4881 (json-encode-key): New function.
4882 (json-encode-hash-table, json-encode-alist, json-encode-plist):
4883 Use json-encode-key.
4884
da485f5e
GM
48852012-08-22 Glenn Morris <rgm@gnu.org>
4886
4887 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
4888 (cal-tex-leftday, cal-tex-rightday): Remove functions.
4889 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
4890 Update for above change.
4891
c6cc78b8
AS
48922012-08-21 Andreas Schwab <schwab@linux-m68k.org>
4893
4894 * cus-face.el (custom-face-attributes): Fix customize type for the
4895 :underline attribute. (Bug#11805)
4896
5481664a
MR
48972012-08-21 Martin Rudalics <rudalics@gmx.at>
4898
4899 * window.el (window-point-1, set-window-point-1): Remove.
4900 (window-in-direction, record-window-buffer)
4901 (set-window-buffer-start-and-point, split-window-below)
9fba804b
SM
4902 (window--state-get-1, display-buffer-record-window):
4903 Replace calls to window-point-1 and set-window-point-1 by calls to
5481664a
MR
4904 window-point and set-window-point respectively.
4905
6d74698e
GM
49062012-08-21 Glenn Morris <rgm@gnu.org>
4907
b7fa2691
GM
4908 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
4909 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
4910 Use it.
4911
52f56d5a
GM
4912 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
4913 (cal-tex-shortday): New function.
4914 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
4915 (cal-tex-cursor-filofax-daily): Use the above.
4916
9f1ee09e
GM
4917 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
4918 New functions.
4919 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
4920 (cal-tex-cursor-filofax-week): Use them.
4921
79858159
GM
4922 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
4923 New constants.
4924 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
4925 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
4926
d346b2b4
GM
4927 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
4928 (cal-tex-end-document): Don't rely on buffer name.
4929
b2403709
GM
4930 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
4931 Use cal-tex-vspace.
4932 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
4933 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2d225a3a
GM
4934 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
4935 Use cal-tex-arg.
b2403709 4936
1cebb5c0
GM
4937 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
4938 (cal-tex-cursor-week, cal-tex-cursor-week2)
4939 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
4940 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
4941 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
4942 (cal-tex-insert-preamble, cal-tex-b-document)
4943 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
4944 Improve cal-tex-cmd usage.
4945
c68cd5d4
GM
4946 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
4947 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
4948 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
4949 (cal-tex-weekly-paper): New function.
4950 (cal-tex-cursor-week, cal-tex-cursor-week2)
4951 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
4952 (cal-tex-cursor-day): Use it.
4953
9dca4801
GM
4954 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
4955 (cal-tex-cursor-filofax-week): Remove leading blank page.
4956
1941e134
GM
4957 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
4958 Add autoload cookie. For now at least, don't use color, since
4959 no other cal-tex function does.
4960
6d74698e
GM
4961 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
4962 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
4963 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
4964
64cde199
JL
49652012-08-21 Juri Linkov <juri@jurta.org>
4966
4967 * info.el (Info-file-attributes): New variable.
4968 (info-insert-file-contents): Add file attributes to
4969 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
4970 `Info-toc-nodes' when previous modtime of the Info file is less
4971 than new modtime.
4972 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
4973 of info.el. (Bug#12230)
4974
32757648
GM
49752012-08-20 Glenn Morris <rgm@gnu.org>
4976
4977 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
4978 * calendar/holidays.el (calendar-holiday-list):
4979 Report errors with display-warning rather than beep'n'sleep.
4980
a32fbbcf
MA
49812012-08-20 Michael Albinus <michael.albinus@gmx.de>
4982
4983 * net/tramp.el (tramp-accept-process-output): Accept only output
4984 from PROC. Otherwise, process filters and sentinels might be
4985 confused. (Bug#12145)
4986
a05731a0
CY
49872012-08-20 Chong Yidong <cyd@gnu.org>
4988
4989 * descr-text.el (describe-text-properties-1): Use overlays-in to
4990 report on empty overlays (Bug#3322).
4991
36e8d1eb
GM
49922012-08-20 Glenn Morris <rgm@gnu.org>
4993
3d300447
GM
4994 * mail/rmailout.el (rmail-output-read-file-name):
4995 Trap and report errors in rmail-output-file-alist elements.
4996
36e8d1eb
GM
4997 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
4998 since most non-font-lock faces are not also variables).
4999
b96e5814
ER
50002012-08-20 Edward Reingold <reingold@iit.edu>
5001
5002 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
5003 New function. (Bug12160)
5004
7cef3569
GM
50052012-08-19 Glenn Morris <rgm@gnu.org>
5006
5007 * mail/rmailout.el (rmail-output-read-file-name):
5008 Fix previous change (when the alist is nil or does not match).
5009
17975d7f
CY
50102012-08-19 Chong Yidong <cyd@gnu.org>
5011
5012 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
5013 (Bug#12228).
5014
2170b1bd
CY
50152012-08-18 Chong Yidong <cyd@gnu.org>
5016
5017 * simple.el (yank-handled-properties): New defcustom.
5018 (yank-excluded-properties): Add font-lock-face and category.
5019 (yank): Doc fix.
5020
9fba804b
SM
5021 * subr.el (remove-yank-excluded-properties):
5022 Obey yank-handled-properties. The special handling of font-lock-face
2170b1bd
CY
5023 and category is now done this way, instead of being hard-coded.
5024 (insert-for-yank-1): Remove font-lock-face handling.
5025 (yank-handle-font-lock-face-property)
5026 (yank-handle-category-property): New function.
5027
ee218151
GM
50282012-08-17 Glenn Morris <rgm@gnu.org>
5029
5030 * mail/rmailout.el (rmail-output-read-file-name):
5031 Check rmail-output-file-alist against the full message body
5032 in the correct rmail buffer. (Bug#12214)
5033
4a6bc3fd
MA
50342012-08-17 Michael Albinus <michael.albinus@gmx.de>
5035
9fba804b
SM
5036 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
5037 Eliminate superfluous prompt. (Bug#12203)
4a6bc3fd 5038
383dcbf9
CY
50392012-08-17 Chong Yidong <cyd@gnu.org>
5040
5041 * mouse.el (mouse-appearance-menu): If x-select-font returns a
5042 font spec, set the font directly (Bug#3228).
5043
998c4a6a
MR
50442012-08-17 Martin Rudalics <rudalics@gmx.at>
5045
5046 * window.el (delete-window): Fix last fix.
5047
52162052
MR
50482012-08-16 Martin Rudalics <rudalics@gmx.at>
5049
5050 * window.el (window-valid-p): Move to window.c.
85c2386b
MR
5051 (window-child, window-child-count, window-last-child)
5052 (window-normalize-window, window-combined-p)
5053 (window-combinations, window-atom-root, window-min-size)
5054 (window-sizable, window-sizable-p, window-size-fixed-p)
5055 (window-min-delta, window-max-delta, window--resizable)
5056 (window--resizable-p, window-resizable, window-total-size)
5057 (window-full-height-p, window-full-width-p, window-body-size)
5058 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
5059 (minimize-window, window-deletable-p, delete-window)
5060 (delete-other-windows, set-window-buffer-start-and-point)
5061 (next-buffer, previous-buffer, split-window, balance-windows-2)
5062 (set-window-text-height, window-buffer-height)
5063 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9fba804b
SM
5064 (truncated-partial-width-window-p): Minor code adjustments.
5065 In doc-strings state whether the argument window has to denote a
85c2386b 5066 live, valid or any window.
52162052 5067
1c308380
PS
50682012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
5069
5070 * progmodes/subword.el (subword-forward-function)
5071 (subword-backward-function, subword-forward-regexp)
5072 (subword-backward-regexp): New variables.
5073 (subword-forward, subword-forward-internal, subword-backward-internal):
5074 Use new variables, eg so that different "word" definitions
5075 can be easily used. (Bug#11411)
5076
94c9ece1
SM
50772012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5078
5079 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
5080 for composite selectors.
5081 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
5082 operation just because we can't find a previous revision.
5083
f2045622
CY
50842012-08-15 Chong Yidong <cyd@gnu.org>
5085
5086 * frame.el (set-frame-font): Accept font objects.
5087
582db660
SM
50882012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5089
5090 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
5091
2f29c200
WJ
50922012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
5093
456e62c2
WJ
5094 * man.el (Man-overstrike-face, Man-underline-face)
5095 (Man-reverse-face): Remove variables.
5096 (Man-overstrike, Man-underline, Man-reverse): New faces.
5097 (Man-fontify-manpage): Use them instead of the variables.
5098 (Man-cleanup-manpage): Comment change.
5099 (Man-ansi-color-map): New variable.
5100 (Man-fontify-manpage): Use it.
5101 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
5102
2f29c200
WJ
5103 Implement ANSI SGR parameters 22-27 (bug#12146).
5104 * ansi-color.el (ansi-colors): Doc fix.
5105 (ansi-color-context, ansi-color-context-region): Doc fix.
5106 (ansi-color--find-face): New function.
5107 (ansi-color-apply, ansi-color-apply-on-region): Use it.
5108 Rename the local variable `face' to `codes' since it is now a list of
5109 ansi codes. Doc fix.
5110 (ansi-color-get-face): Remove.
5111 (ansi-color-parse-sequence): New function, derived from
5112 ansi-color-get-face.
5113 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
5114 codes 22-27.
5115
b4f5e9df
SM
51162012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
5117
5118 * subr.el (read-passwd): Allow use from a minibuffer.
5119
ba025fbd
EZ
51202012-08-14 Eli Zaretskii <eliz@gnu.org>
5121
5122 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
5123 inside comments and strings as identifiers.
5124
5125 * progmodes/gud.el (gud-tooltip-print-command): Quote the
5126 expression to evaluate. This allows to evaluate expressions with
5127 embedded whitespace.
5128 (gud-tooltip-tips): Add a blank before the newline in the
5129 message-box text, for the benefit of message-box emulation on
5130 MS-Windows.
5131
5132 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
5133 messages from GDB, pop them up in a tooltip to give feedback to
5134 user.
b4f5e9df
SM
5135 (gdb-tooltip-print-1): Quote the expression to evaluate.
5136 This allows to evaluate expressions with embedded whitespace.
ba025fbd
EZ
5137 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
5138 if the TTY name is nil or empty (which happens when communicating
5139 with the inferior via pipes, e.g. on MS-Windows).
5140 (gdb-internals): If GDB sends a "&\n" empty debugging message,
5141 don't send that to the GUD buffer.
5142
c548f821
GM
51432012-08-14 Glenn Morris <rgm@gnu.org>
5144
5145 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
5146 Optimize away setq-default with no args, as for setq. (Bug#12195)
5147
55802e4a
CY
51482012-08-14 Chong Yidong <cyd@gnu.org>
5149
4abcdac8
CY
5150 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
5151
55802e4a
CY
5152 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
5153 (Bug#12085).
5154
3c3cda1a
GM
51552012-08-14 Glenn Morris <rgm@gnu.org>
5156
5157 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
5158
e1873bd0
MA
51592012-08-14 Michael Albinus <michael.albinus@gmx.de>
5160
5161 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
5162 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
5163 Use cached shell name.
5164
925411b4
FEG
51652012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
5166
5167 * progmodes/python.el (python-shell-send-string):
3c3cda1a 5168 (python-shell-send-setup-code): Do not use `format' with `message'.
925411b4 5169
e636fafe
DG
51702012-08-14 Dmitry Gutov <dgutov@yandex.ru>
5171
5172 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
5173 (ruby-percent-literal-beg-re): New constant.
5174 (ruby-syntax-general-delimiters-goto-beg): Rename to
5175 `ruby-syntax-enclosing-percent-literal', improve literal type check.
5176 (ruby-syntax-propertize-general-delimiters): Rename to
5177 `ruby-syntax-propertize-percent-literal', it's a shorter and more
5178 popular term. Adjust comments everywhere.
5179 (ruby-syntax-propertize-percent-literal): Only propertize when not
5180 inside a simple string or comment. When the literal is unclosed,
5181 leave the text after it unpropertized.
f063063a
DG
5182 (ruby-syntax-methods-before-regexp): New constant.
5183 (ruby-syntax-propertize-function): Use it to recognize regexps.
5184 Don't look at the text after regexp, just use the whitelist.
e636fafe 5185
e5b19827
AS
51862012-08-14 Andreas Schwab <schwab@linux-m68k.org>
5187
5188 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
5189 non-nil always load the compiled file if it exists. (Bug#12197)
5190
a9f6f311
CY
51912012-08-14 Chong Yidong <cyd@gnu.org>
5192
5193 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
5194 (hi-lock-set-pattern): When deciding whether to use font lock or
5195 overlays, look at font-lock-mode instead of font-lock-fontified
5196 (Bug#12168).
5197 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
5198 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
5199
7d806b1e
DU
52002012-08-14 Daiki Ueno <ueno@unixuser.org>
5201
5202 * subr.el (internal--after-with-selected-window): Fix typo
5203 (Bug#12193).
5204
5beed586
FEG
52052012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
5206
5207 Use `completion-table-dynamic' for completion functions.
5208 * progmodes/python.el
5209 (python-shell-completion--do-completion-at-point)
e636fafe
DG
5210 (python-shell-completion--get-completions):
5211 Remove functions.
5beed586
FEG
5212 (python-shell-completion-complete-at-point): New function.
5213 (python-completion-complete-at-point): Use it.
5214
92cb3b04
J
52152012-08-13 Jambunathan K <kjambunathan@gmail.com>
5216
5217 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
5218 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
5219
89660017
SM
52202012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5221
3c98c962
SM
5222 * subr.el (function-get): Refine `autoload' arg so it can also
5223 autoload functions for gv.el (bug#12191).
5224 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
5225 autoloads macros.
5226
aa7c6dbe
SM
5227 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
5228 Prefer pcase-let over destructuring-bind.
5229 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
5230 Also, remove whitespace as we go, rather than after accumulating the
5231 various places.
5232
89660017
SM
5233 * subr.el (internal--before-with-selected-window)
5234 (internal--after-with-selected-window): Fix typo seleted->selected.
5235 (with-selected-window): Adjust callers.
5236 Reported by Dmitry Gutov <dgutov@yandex.ru>.
5237
31cd32c9
BG
52382012-08-13 Bastien Guerry <bzg@gnu.org>
5239
0fcd3d9f 5240 * window.el (special-display-popup-frame): Minor docstring
31cd32c9
BG
5241 enhancement. (Bug#12172)
5242
1b15d8ad
AS
52432012-08-13 Andreas Schwab <schwab@linux-m68k.org>
5244
31e54db0
AS
5245 * tar-mode.el (tar-header-data-end): Only ignore size for files of
5246 type 1-6.
5247 (tar-header-block-summarize, tar-get-descriptor): Handle pax
5248 extended headers.
5249
1b15d8ad
AS
5250 * files.el (hack-local-variables-filter): Remove useless eval.
5251
35cb9c06
MR
52522012-08-13 Martin Rudalics <rudalics@gmx.at>
5253
5254 * subr.el (with-selected-window): Fix last change.
5255
1439443b
SM
52562012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
5257
5258 * subr.el (internal--before-with-seleted-window)
5259 (internal--after-with-seleted-window): New functions.
1b15d8ad
AS
5260 (with-selected-window): Use them, to replace dependency on
5261 tty-top-frame.
1439443b 5262
0d9e2599
NN
52632012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
5264
5265 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
5266 binding for `newline'.
5267 (ruby-move-to-block): When moving backward, stop at block opening,
5268 not indentation.
5269 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
5270 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
5271 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
5272 `ruby-toggle-block'.
5273
ba10c48c
SM
52742012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
5275
5276 * ibuffer.el (ibuffer-do-toggle-read-only):
5277 * dired.el (dired-toggle-read-only):
5278 * buff-menu.el (Buffer-menu-toggle-read-only):
5279 * bindings.el (mode-line-toggle-read-only):
5280 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
5281
9229c658
AS
52822012-08-12 Andreas Schwab <schwab@linux-m68k.org>
5283
5284 * descr-text.el (describe-char): Put the overlays over the
5285 "displayed as" character.
5286
0fd09128
JB
52872012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
5288
5289 * calc/calc-units.el (math-default-units-table): Give an
5290 initial value.
5291 (math-put-default-units): Add options to put composite units and
5292 unit systems in the default units table.
5293 (calc-convert-units): Send composite units to
5294 `math-put-default-units' when appropriate.
5295
9ff9402d 52962012-08-11 Glenn Morris <rgm@gnu.org>
7aacaf15 5297
fbb5e336
GM
5298 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
5299
7aacaf15
GM
5300 * tutorial.el (help-with-tutorial):
5301 * emacs-lisp/copyright.el (copyright-update-directory):
5302 * emacs-lisp/autoload.el (autoload-find-generated-file)
5303 (autoload-find-file): Disable local eval: (for insurance).
5304
f40b9f10
GM
5305 * files.el (hack-local-variables-filter): If an eval: form is not
5306 known to be safe, and enable-local-variables is :safe, then ignore
5307 the form totally, as is done for non-eval forms. (Bug#12155)
6f97980a 5308 This is CVE-2012-3479.
f40b9f10 5309
daa9f1a6
SM
53102012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
5311
5312 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
5313 (rx-form): Simplify.
5314
9cd80478
DG
53152012-08-09 Dmitry Gutov <dgutov@yandex.ru>
5316
0d9e2599
NN
5317 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
5318 ?, _, and : are symbol constituents, ! is not (but kinda should be).
5319 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
5320 (ruby-syntax-propertize-function): Adjust for changes in
5321 `ruby-syntax-propertize-heredoc'.
5322
53232012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
5324
9cd80478
DG
5325 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
5326 binding (use `M-;' instead).
9cd80478 5327 (ruby-singleton-class-p): New function.
0d9e2599 5328 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9cd80478 5329
d301b413
SM
53302012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
5331
5332 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
5333
1530c98e
CY
53342012-08-10 Chong Yidong <cyd@gnu.org>
5335
5336 * progmodes/python.el (python-shell-get-process-name): Don't mess
5337 with same-window-buffer-names.
5338
5339 * eshell/eshell.el (eshell-add-to-window-buffer-names)
5340 (eshell-remove-from-window-buffer-names): Make obsolete.
5341 (eshell-buffer-name, eshell-unload-hook): Don't use them.
5342 (eshell): Just use pop-to-buffer-same-window instead.
5343
e1293765
CY
53442012-08-10 Chong Yidong <cyd@gnu.org>
5345
5346 * bindings.el: Bind M-= back to count-words-region.
5347
5348 * simple.el (count-words-region): Accept a prefix arg for acting
5349 on the entire buffer.
5350 (count-words--buffer-message): New helper function.
5351
e1894109
SM
53522012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
5353
5354 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
5355 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
5356 (event-start, event-end): Use posn-at-point to return a more
5357 informative posn.
5358 (posnp): New function.
5359 * mouse.el (popup-menu-normalize-position): Use it.
5360
c69f56a2
MY
53612012-08-10 Masatake YAMATO <yamato@redhat.com>
5362
5363 * mouse.el (popup-menu-normalize-position): New function.
5364 (popup-menu): Use `popup-menu-normalize-position' to normalize
5365 the form for POSITION argument.
5366
5367 * term/x-win.el (x-menu-bar-open):
5368 Use the value returend from (posn-at-point) as position
5369 passed to `popup-menu'.
5370
31673780
JB
53712012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
5372
5373 * calc/calccomp.el (math-compose-expr): Add extra argument
5374 indicating that parentheses should be put around products in
5375 denominators. Give multiplication precedence over division during
5376 composition.
5377
dab7711b
CY
53782012-08-09 Chong Yidong <cyd@gnu.org>
5379
dee4ef93
CY
5380 * man.el (Man-switches, Man-sed-command, Man-awk-command)
5381 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
5382 (Man-untabify-command, manual-program): Convert to defcustom
5383 (Bug#10429).
5384
73e2bbc5
CY
5385 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
5386
3e861c8a
CY
5387 * descr-text.el (describe-char): Don't insert extra newlines
5388 (Bug#10127).
5389
a9f5a649
CY
5390 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
5391 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
5392
dab7711b
CY
5393 * align.el (align-region): Delete temporary markers (Bug#10047).
5394 Plus some code cleanups.
5395
e0cc4efa
FEG
53962012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
5397
5398 * progmodes/python.el (python-pdbtrack-tracked-buffer)
5399 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
5400 (python-shell-internal-last-output): Use make-local-variable
5401 instead of make-variable-buffer-local.
5402
489af14f
FEG
54032012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
5404
5405 * progmodes/python.el: Enhancements to forward-sexp.
5406 (python-nav-forward-sexp): Rename from
5407 python-nav-forward-sexp-function.
c69f56a2
MY
5408 (python-nav--forward-sexp, python-nav--backward-sexp):
5409 New functions.
489af14f 5410
0fc50303
JB
54112012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
5412
5413 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
5414 modes and simplification modes.
5415
5d65606a
SM
54162012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
5417
5418 * delsel.el (delete-selection-pre-hook): Don't propagate the
5419 file-supersession signals (bug#12161).
5420
4250fdf5
SM
54212012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5422
5423 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
5424 (cl-map-extents): Add compatibility aliases (bug#12135).
5425
d9f9b465
MA
54262012-08-08 Michael Albinus <michael.albinus@gmx.de>
5427
5428 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
5429 tests by `ignore-error'.
5430 (tramp-find-shell): Open also a new shell, when cache is already
5431 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
5432
ce0fcefa
JL
54332012-08-08 Juri Linkov <juri@jurta.org>
5434
5435 * bookmark.el: Add `defaults' property to the bookmark record.
5436 (bookmark-current-buffer): Doc fix.
5437 (bookmark-make-record): Add `defaults' property with default values
5438 to the bookmark record.
5439 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
5440 with `bookmark-insert-current-bookmark'.
5441 (bookmark-set): Get `defaults' property from the bookmark record
5442 and use it in `read-from-minibuffer'.
5443 (bookmark-insert-current-bookmark): Remove function.
5444
5445 * info.el (Info-bookmark-make-record): Add `defaults' property
5446 with values of canonical Info node name, the current Info file
5447 name and the current Info node name. (Bug#12107)
5448
53fa8652
JL
54492012-08-08 Juri Linkov <juri@jurta.org>
5450
5451 * files.el (basic-save-buffer): Use `buffer-name' as the default
5452 of `read-file-name' when buffer is not visiting a file (bug#12128).
5453
242c0a95
JL
54542012-08-08 Juri Linkov <juri@jurta.org>
5455
5456 * info.el (Info-isearch-search): Doc fix.
5457 (Info-search): Change search-failed message from "initial node" to
5458 "end of node" (bug#12078).
5459 (Info-isearch-search): Change `isearch-string-state' to
5460 `isearch--state-string'.
5461
32ac3a6b
GM
54622012-08-08 Glenn Morris <rgm@gnu.org>
5463
5464 * language/persian.el: Remove file.
f8c1afd5 5465 * language/misc-lang.el: Move unique part of persian.el here.
32ac3a6b
GM
5466 * loadup.el: Remove language/persian.
5467
2c2d9c9c
OF
54682012-08-08 Óscar Fuentes <ofv@wanadoo.es>
5469
5470 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
5471
2d79ec42
FEG
54722012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
5473
5474 * progmodes/python.el Fixed defsubst warning.
5475 (python-syntax-context) Rename from python-info-ppss-context.
5476 (python-syntax-context-type): Rename from
5477 python-info-ppss-context-type.
5478 (python-syntax-comment-or-string-p): Rename from
5479 python-info-ppss-comment-or-string-p.
5480
2bd255dd
JB
54812012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
5482
5483 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
5484
c395097f
AS
54852012-08-07 Andreas Schwab <schwab@linux-m68k.org>
5486
6125983e
AS
5487 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
5488 a defcustom that is quoted with backquote.
5489
4250fdf5
SM
5490 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
5491 Fix handling of interactive spec when the body uses return.
651eaf36
AS
5492 (math-do-arg-check, math-define-function-body): Use backquote forms.
5493 * calc/calc-ext.el (math-defcache): Likewise.
5494 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
5495 * allout.el (allout-new-exposure): Likewise.
5496 * calc/calcalg2.el (math-tracing-integral): Likewise.
5497 * info.el (Info-last-menu-item): Likewise.
5498 * emulation/vip.el (vip-loop): Likewise.
5499 * textmodes/artist.el (artist-funcall): Likewise.
5500 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
5501 Construct menu-item directly.
5502
4250fdf5
SM
5503 * progmodes/autoconf.el (font-lock-syntactic-keywords):
5504 Don't declare.
c395097f 5505
5fb50dd3
CY
55062012-08-07 Chong Yidong <cyd@gnu.org>
5507
5508 * simple.el (deactivate-mark): Preserve text properties when
5509 saving the primary selection (Bug#8384).
5510
54eea618
KR
55112012-08-07 Kevin Ryde <user42@zip.com.au>
5512
5513 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
5514 (woman-parse-numeric-value): On a bad .IP line, issue a warning
5515 and continue processing (Bug#12110).
5516
638eaeb9
SM
55172012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
5518
5519 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
5520 syntax-propertize-function (bug#10095).
5521
ea376861
SM
55222012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
5523
f91b35be
SM
5524 * help-fns.el (help-fns--key-bindings, help-fns--signature)
5525 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
5526 describe-function-1.
5527 (describe-function-1): Use them. Move compiler macro after sig.
5528 (help-fns--compiler-macro): Use function-get. Assume we're already in
5529 standard-output. Adjust layout to new call order.
5530
ea376861
SM
5531 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
5532 re-binding a symbol that has a symbol-macro (bug#12119).
5533
d5be7bd0
MB
55342012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
5535
5536 * language/persian.el: New file. (Bug#11812)
5537 * loadup.el: Add language/persian.el.
5538
90749b53
CY
55392012-08-06 Chong Yidong <cyd@gnu.org>
5540
5541 * window.el (window--maybe-raise-frame): New function.
5542 (window--display-buffer): Split off from here.
5543 (display-buffer-reuse-window, display-buffer-pop-up-frame)
5544 (display-buffer-pop-up-window, display-buffer-use-some-window):
5545 Obey an inhibit-switch-frame action alist entry.
5546 (display-buffer): Update doc.
5547
5548 * replace.el (occur-after-change-function): Avoid losing focus by
5549 using the inhibit-switch-frame display parameter (Bug#12139).
5550
ba7b0154
FEG
55512012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
5552
5553 Make internal shell process buffer names start with space.
5554 * progmodes/python.el (python-shell-make-comint): Add optional
5555 argument INTERNAL.
5556 (run-python-internal): Use it.
5557 (python-shell-internal-get-or-create-process): Check for new
5558 internal buffer names.
5559
5eaeacb5
GM
55602012-08-06 Glenn Morris <rgm@gnu.org>
5561
e296d94b 5562 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
5563 Do less getting and setting of environment variables.
5564
b7ccbdc2
CY
55652012-08-05 Chong Yidong <cyd@gnu.org>
5566
777fe95e
CY
5567 * proced.el (proced): Add substitution string to docstring to
5568 trigger autoloading of the proced library on C-h f (Bug#1768).
5569
4250fdf5
SM
5570 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
5571 Don't show defvars which have no second argument (Bug#8638).
b7ccbdc2
CY
5572
5573 * imenu.el (imenu-generic-expression): Move documentation here
5574 from imenu--generic-function.
5575 (imenu--generic-function): Refer to imenu-generic-expression.
5576
9e3b7800 55772012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
5578
5579 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
5580 indentation declaration.
5581 (viper-loop): Add indentation declaration (Bug#7025).
5582
e5d9c0d1
CY
55832012-08-05 Chong Yidong <cyd@gnu.org>
5584
f0422feb
CY
5585 * help-fns.el (describe-variable): Add hyperlink for
5586 directory-local variables files. Improve buffer-local and
5587 permanent-local reporting; suggested by MON KEY (Bug#6644).
5588
5589 * help-mode.el (help-dir-local-var-def): New button type.
5590
e5d9c0d1
CY
5591 * files.el (kill-buffer-hook): Provide a defvar.
5592
a4f2deaa
GM
55932012-08-05 Glenn Morris <rgm@gnu.org>
5594
5595 * eshell/esh-ext.el (eshell/addpath):
5596 Also update eshell-path-env. (Bug#12013)
5597
a9dd5754
CY
55982012-08-05 Chong Yidong <cyd@gnu.org>
5599
a4f2deaa 5600 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 5601
d014c740
CY
5602 * fringe.el (fringe-styles): Add docstring.
5603 (fringe--check-mode): New function.
5604 (set-fringe-mode, set-fringe-style): Use it.
5605 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
5606
a9dd5754
CY
5607 * files.el (set-auto-mode): Fix invalid setq call.
5608
7c2dc8bd
SM
56092012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5610
5611 * isearch.el: Misc simplification; use defstruct.
5612 (isearch-mode-map): Dense maps now work like sparse ones.
5613 (isearch--state): New defstruct.
5614 (isearch-string-state, isearch-message-state, isearch-point-state)
5615 (isearch-success-state, isearch-forward-state)
5616 (isearch-other-end-state, isearch-word-state, isearch-error-state)
5617 (isearch-wrapped-state, isearch-barrier-state)
5618 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
5619 replaced by defstruct's accessors.
5620 (isearch--set-state): Rename from isearch-top-state and change
5621 calling convention.
5622 (isearch-push-state): Use new isearch--get-state.
5623 (isearch-toggle-word): Disable regexp when enabling word.
5624 (isearch-message-prefix): Remove unused arg _c-q-hack.
5625 (isearch-message-suffix): Remove unused arg _ellipsis.
5626
7fcc0070
AS
56272012-08-04 Andreas Schwab <schwab@linux-m68k.org>
5628
5629 * simple.el (list-processes--refresh): For a server use :host or
5630 :local as the address.
97ad0769 5631 (list-processes): Doc fix.
7fcc0070 5632
a11035b8 56332012-08-04 Michal Nazarewicz <mina86@mina86.com>
00340faf
MN
5634
5635 * lisp/mpc.el: Support password in host argument.
5636 (mpc--proc-connect): Parse and use new password element.
5637 Set mpc-proc variable instead of returning process.
5638 (mpc-proc): Adjust accordingly.
5639
6dad7178
EZ
56402012-08-03 Eli Zaretskii <eliz@gnu.org>
5641
18949c2f
EZ
5642 * whitespace.el (whitespace-display-mappings): Use Unicode
5643 codepoints, instead of emacs-mule codepoints. See
5644 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
5645 for the details.
5646
6dad7178
EZ
5647 * files.el (file-truename): Don't skip symlink-chasing part on
5648 windows-nt. Incorporate the resolution of 8+3 short aliases on
4250fdf5
SM
5649 Windows into the loop that recursively chases symlinks.
5650 Compare directory and its parent case-insensitively on MS-Windows and
6dad7178
EZ
5651 MS-DOS.
5652
385b0198
CY
56532012-08-03 Chong Yidong <cyd@gnu.org>
5654
6200f3c4
CY
5655 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
5656
385b0198
CY
5657 * sort.el (sort-regexp-fields): Doc fix.
5658
b9e74744
TH
56592012-08-03 Tassilo Horn <tsdh@gnu.org>
5660
5661 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
5662 labels regex position point at the expected place.
5663
41013cb4
MK
56642012-08-03 MON KEY <monkey@sandpframing.com>
5665
5666 * net/imap.el (imap-interactive-login, imap-authenticate)
5667 (imap-mailbox-lsub, imap-mailbox-list)
5668 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
5669 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
5670 (imap-parse-response): Doc fix.
5671
0ffee616
JT
56722012-08-03 João Távora <joaotavora@gmail.com>
5673
5674 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
5675 if sexp scanning does not move point (Bug#5734).
5676
cfcc9cc8
TH
56772012-08-02 Tassilo Horn <tsdh@gnu.org>
5678
5679 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
5680 Add listings, minted, and ctable packages.
5681 (reftex-label-alist-builtin): Move listings, minted, and ctable
5682 entries before LaTeX.
a01bbb84 5683 (reftex-label-alist): Docfix.
cfcc9cc8 5684
66ec2442
BG
56852012-08-02 Bastien Guerry <bzg@gnu.org>
5686
5687 * replace.el (occur): Fix docstring (bug#12122).
5688
837b365b
GM
56892012-08-02 Glenn Morris <rgm@gnu.org>
5690
5691 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
5692
e098de97
PE
56932012-08-02 Paul Eggert <eggert@cs.ucla.edu>
5694
5695 Obsolete alias inactivate-current-input-method-function (Bug#10150).
5696 * international/mule-cmds.el: Create
5697 inactivate-current-input-method-function as an obsolete alias for
5698 deactivate-current-input-method-function. See Katsumi Yamaoka in
5699 <http://bugs.gnu.org/10150#46>.
5700
a0f95636
JB
57012012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
5702
5703 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
5704 of nested `if's.
5705
0d26d7c4
GM
57062012-08-01 Glenn Morris <rgm@gnu.org>
5707
5708 * progmodes/autoconf.el (autoconf-definition-regexp):
5709 Add AH_TEMPLATE, adjust submatch numbering.
5710 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
5711 (autoconf-current-defun-function): Update for above change.
5712 (autoconf-current-defun-function): First skip to end of current word.
5713
b686ba06
RS
57142012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
5715
5716 * calendar/cal-html.el (cal-html-insert-agenda-days):
5717 Fix typo. (Bug#12018)
5718
0d49da68
FEG
57192012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
5720
5721 Shell processes: enhancements to startup and CEDET compatibility.
5722 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
5723 (python-shell-make-comint): accept-process-output at startup.
5724 (run-python-internal): Set inferior-python-mode-hook to nil.
5725 (python-shell-internal-get-or-create-process): call sit-for.
5726 (python-preoutput-result): Add obsolete alias.
5727 (python-shell-internal-send-string): Use it.
5728 (python-shell-send-setup-code): Remove call to
5729 accept-process-output.
5730
f1a71c6e
AS
57312012-07-31 Andreas Schwab <schwab@linux-m68k.org>
5732
5733 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
5734 (Bug#12108)
5735
d2605269
JB
57362012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
5737
5738 * calc-mode.el (calc-basic-simplification-mode): Rename from
5739 `calc-limited-simplification-mode'.
5740 (calc-alg-simplification-mode): New function.
fc0c31f8 5741 (calc-set-simplify-mode): Adjust message.
f1a71c6e 5742
d2605269
JB
5743 * calc.el (calc-set-mode-line): Adjust mode line display for
5744 basic simplification mode.
5745
5746 * calc-help.el (calc-m-prefix-help): Update help message.
5747
5748 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
5749 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
5750
a3827a43
BG
57512012-07-31 Bastien Guerry <bzg@gnu.org>
5752
5753 * man.el (man): Fix comment. (bug#12101)
5754
502e3f89
MR
57552012-07-31 Martin Rudalics <rudalics@gmx.at>
5756
5757 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
5758 Don't return a non-nil value when no suitable buffer was found.
5759
d7714961
FEG
57602012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
5761
5762 * progmodes/python.el (run-python-internal): Disable font lock for
5763 internal shells.
5764
1f45e27e
SM
57652012-07-30 Stefan Merten <smerten@oekonux.de>
5766
70efc5c9 5767 * textmodes/rst.el: Silence `checkdoc-ispell'.
1f45e27e
SM
5768 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
5769 (rst-official-version, rst-official-cvs-rev)
5770 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
5771 (rst-mode-map): New key binding.
5772
0aee6912
PE
57732012-07-30 Paul Eggert <eggert@cs.ucla.edu>
5774
5775 Update .PHONY listings in makefiles.
5776 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
5777 autoloads, update-subdirs, updates, bzr-update, update-authors,
5778 compile-onefile, compile-calc, backup-compiled-files,
5779 compile-after-backup, compile-one-process, mh-autoloads,
5780 bootstrap-clean, distclean, maintainer-clean.
5781
9052f9f0
JB
57822012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
5783
1823ac5a
JB
5784 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
5785 (calc-set-mode-line): Don't display "AlgSimp ".
5786
5787 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
5788 (calc-lim-simplify-mode): New function.
5789 (calc-set-simplify-mode): Default to 'alg.
5790 (calc-default-simplify-mode): Make algebraic simplifications
5791 the default.
5792
5793 * calc/calc-ext.el (calc-init-extensions): Remove binding for
5794 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
5795
8d7c7eed 5796 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
5797 indicate new simplification modes.
5798
1823ac5a
JB
5799 * calc/README: Mention new default simplification mode.
5800
9052f9f0
JB
5801 * calc/calc.el (math-normalize-error): New variable.
5802 (math-normalize): Set `math-normalize-error' to t
5803 when there's an error.
5804
5805 * calc/calc-alg.el (math-simplify): Don't simplify when
5806 `math-normalize' returns an error.
5807
20ba0cb4
EZ
58082012-07-29 Eli Zaretskii <eliz@gnu.org>
5809
5810 * international/mule-cmds.el (set-locale-environment): Revert last
5811 change, since display-graphic-p returns nil when this function is
5812 called during startup. Instead...
5813
5814 * term/w32console.el (terminal-init-w32console): ...setup the
5815 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
5816
a5dcc929
JL
58172012-07-29 Juri Linkov <juri@jurta.org>
5818
5819 * simple.el (goto-line): Don't display default line number in the
5820 prompt because it should be displayed by `read-number' (bug#9952).
5821 Add the current line number to the defaults of `goto-line' to
5822 allow its easier modification by users with `M-n' (bug#9201).
5823
5824 * subr.el (read-number): Support multiple default values like in
5825 other minibuffer reading functions. Replace `read' with
5826 `string-to-number' for consistency with `number-to-string'.
5827
72b255c7
PE
58282012-07-29 Paul Eggert <eggert@cs.ucla.edu>
5829
5830 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
5831 * emulation/viper-init.el (viper-deactivate-input-method-action):
5832 Rename from viper-inactivate-input-method-action.
5833 (viper-deactivate-input-method):
5834 Rename from viper-inactivate-input-method.
5835 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
5836 * international/mule-cmds.el (deactivate-input-method):
5837 Rename from inactivate-input-method.
5838 Also run input-method-deactivate-hook.
5839 (deactivate-current-input-method-function):
5840 Rename from inactivate-current-input-method-function.
5841 (input-method-deactivate-hook): New hook.
5842 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
5843 (inactivate-input-method): Mark obsolete.
5844
72b255c7
PE
5845 * international/quail.el (quail-activate):
5846 Also run quail-deactivate-hook.
5847 (quail-deactivate): Rename from quail-inactivate.
5848 * international/robin.el (robin-activate):
5849 Also run robin-deactivate-hook.
5850 (robin-deactivate): Rename from robin-inactivate.
5851
2549c068
CY
58522012-07-29 Chong Yidong <cyd@gnu.org>
5853
5854 * simple.el (indicate-copied-region): New function.
5855 (kill-ring-save): Split off from here.
5856
5857 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
5858 (kill-rectangle): Set deactivate-mark to t on read-only error.
5859
5860 * register.el (copy-to-register, copy-rectangle-to-register):
5861 Deactivate the mark, and use indicate-copied-region (Bug#10056).
4c478e6b
JL
5862 (append-to-register, prepend-to-register): Call indicate-copied-region.
5863
58642012-07-29 Juri Linkov <juri@jurta.org>
17711ed9
JL
5865
5866 * simple.el (async-shell-command-buffer): New defcustom.
5867 (shell-command): Use it. (Bug#4719)
5868
01bd1b0d
EZ
58692012-07-28 Eli Zaretskii <eliz@gnu.org>
5870
5871 * international/mule-cmds.el (set-locale-environment): In a
5872 console session on MS-Windows, set up keyboard and terminal
5873 encoding from the OEM codepage, not the ANSI codepage.
5874 (Bug#12055)
5875
a55739d3
CY
58762012-07-28 Chong Yidong <cyd@gnu.org>
5877
5878 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
5879 gdb-get-location.
5880
0e1a094f 58812012-07-28 Leo Liu <sdl.web@gmail.com>
9a0f8f2e
LL
5882
5883 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
5884 the alist (bug#12029).
5885
20329d73
EZ
58862012-07-28 Eli Zaretskii <eliz@gnu.org>
5887
5888 * makefile.w32-in (custom-deps, finder-data, updates, compile)
5889 (compile-always, compile-first)
5890 ($(lisp)/calendar/cal-loaddefs.el)
5891 ($(lisp)/calendar/diary-loaddefs.el)
5892 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
5893 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
5894 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
5895 instead of on update-subdirs.
5896 (bootstrap-clean): Delete $(lisp)/subdirs.el.
5897
345a2258
CY
58982012-07-28 Chong Yidong <cyd@gnu.org>
5899
1eee6341
CY
5900 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
5901 directory if vc-deduce-backend returns nil (Bug#7350).
5902
345a2258
CY
5903 * simple.el (delete-trailing-lines): New option.
5904 (delete-trailing-whitespace): Obey it (Bug#11879).
5905
049a0936
DE
59062012-07-28 David Engster <deng@randomsample.de>
5907
5908 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
5909 Explanation of new 'symbol-qnames feature in doc-strings.
5910 (xml-maybe-do-ns): Return expanded names as plain symbols if
5911 'symbol-qnames was provided in XML-NS argument (Bug#11916).
5912 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
5913
aa81af71
FEG
59142012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
5915
5916 Consistent completion in inferior python with emacs -nw.
5917 * progmodes/python.el (inferior-python-mode): replace "<tab>"
5918 binding in inferior-python-mode-map with "\t".
5919 (python-shell-completion-complete-at-point)
5920 (python-completion-complete-at-point): Remove interactive spec.
5921
e827b1eb
JB
59222012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
5923
5924 * calc/calccomp.el (math-compose-expr): Undo previous change.
5925
a90dfb95
FEG
59262012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
5927
4250fdf5 5928 * progmodes/python.el (python-mode-map): Add keybinding for
a90dfb95
FEG
5929 run-python.
5930 (python-shell-make-comint): Fix pop-to-buffer call.
5931 (run-python): Autoload. New arg SHOW.
5932 (python-shell-get-or-create-process): Do not pop python process
5933 buffer.
5934
32770973 59352012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
5936
5937 * notifications.el (notifications-on-action-signal)
5938 (notifications-on-closed-signal): Use also the bus address for the map.
5939 (notifications-notify, notifications-close-notification)
fc0c31f8 5940 (notifications-get-capabilities): Add optional argument BUS.
1c6ef030 5941
86332df2
TH
59422012-07-27 Tassilo Horn <tsdh@gnu.org>
5943
4250fdf5
SM
5944 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
5945 Add support for the lstlisting and minted environments, and for the
86332df2
TH
5946 ctable macro.
5947 * textmodes/reftex.el (reftex-compile-variables): Also recognize
5948 labels written in keyvals syntax.
5949
ca1302a4
JB
59502012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
5951
5952 * calc/calccomp.el (math-compose-expr): Use parentheses when
5953 there is a product in the denominator of a fraction.
5954
f8b91036
EZ
59552012-07-26 Eli Zaretskii <eliz@gnu.org>
5956
5957 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
5958 ($(lisp)/calendar/diary-loaddefs.el)
5959 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4250fdf5
SM
5960 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
5961 Fixes failures in parallel bootstrap because subdirs.el is being
f8b91036
EZ
5962 rewritten while the autoload files are built at the same time,
5963 which needs to load subdirs.el.
5964
c8e5a42c
MR
59652012-07-26 Martin Rudalics <rudalics@gmx.at>
5966
5967 * mouse.el (popup-menu): Fix doc-string and re-indent code.
5968 (mouse-drag-line): Don't exit tracking when a switch-frame or
5969 switch-window event occurs (Bug#12006).
5970
670d85ea
SM
59712012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5972
5973 * mouse.el (popup-menu): Fix last change.
5974
7abaf5cc
SM
59752012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5976
5977 Autoload from Lisp with more care. Follow aliases when looking for
5978 function properties.
5979 * subr.el (autoloadp): New function.
5980 (symbol-file): Use it.
5981 (function-get): New function.
5982 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
5983 autoload-do-load.
5984 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
5985 (lisp-indent-function):
5986 * emacs-lisp/gv.el (gv-get):
5987 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
5988 * emacs-lisp/byte-opt.el (byte-optimize-form):
5989 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
5990 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
5991 Use function-get.
5992 * emacs-lisp/cl.el: Don't propagate function properties any more.
5993
5994 * speedbar.el (speedbar-add-localized-speedbar-support):
5995 * emacs-lisp/disass.el (disassemble-internal):
5996 * desktop.el (desktop-load-file):
5997 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
5998 (describe-function-1):
5999 * emacs-lisp/find-func.el (find-function-noselect):
6000 * emacs-lisp/elp.el (elp-instrument-function):
6001 * emacs-lisp/advice.el (ad-has-proper-definition):
6002 * apropos.el (apropos-safe-documentation, apropos-macrop):
6003 * emacs-lisp/debug.el (debug-on-entry):
6004 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
6005 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
6006 * calc/calc.el (name): Use autoloadp & autoload-do-load.
6007
b1364986
AA
60082012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
6009
6010 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
6011 function, not an obsolete variable (Bug#12046).
6012
67ada220
AS
60132012-07-25 Andreas Schwab <schwab@linux-m68k.org>
6014
6015 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
6016
f08088e3
CS
60172012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
6018
6019 * emacs-lisp/pp.el (pp-display-expression): Select old selected
6020 window only if it is still live (Bug#12034).
6021
8137e7b3
MR
60222012-07-25 Martin Rudalics <rudalics@gmx.at>
6023
6024 * subr.el (redirect-frame-focus): Add advertised calling
6025 convention (Bug#12030).
6026
09ae5da1
PE
60272012-07-25 Paul Eggert <eggert@cs.ucla.edu>
6028
6029 Prefer typical American spelling for "acknowledgment".
6030 * vc/add-log.el (change-log-acknowledgment): Rename from
6031 change-log-acknowledgement, with an alias for the old name.
6032
3cc5a3a8
JB
60332012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
6034
6035 * calc-alg.el (math-simplify-divide): Don't cross multiply
6036 in an equation when the lhs is a variable.
6037
b7af7f62
JD
60382012-07-24 Julien Danjou <julien@danjou.info>
6039
6040 * net/netrc.el (netrc-find-service-number, netrc-store-data):
6041 Remove, unused.
6042
ec1b09b1
EZ
60432012-07-23 Eli Zaretskii <eliz@gnu.org>
6044
6045 * startup.el (command-line): Don't display an empty user name in
6046 the error message about non-existent home directory, when
6047 init-file-user was set to an empty string. See
6048 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
6049 for the details and context.
6050
b525fd8a
VB
60512012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
6052
6053 * ses.el (ses-cell-formula-aset): New macro.
6054 (ses-cell-references-aset): New macro.
6055 (ses-cell-p): New function.
6056 (ses-rename-cell): Do no longer rely on complex operations like
6057 ses-cell-set-formula or ses-set-cell to change the cell and handle
6058 the undo at the same time, but rather use lower level new macros
6059 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
fc0c31f8 6060 the undo directly. Refresh the mode line.
b525fd8a 6061
2c73e345
LL
60622012-07-21 Leo Liu <sdl.web@gmail.com>
6063
670d85ea
SM
6064 * progmodes/cc-cmds.el (c-defun-name):
6065 Use match-string-no-properties instead for consistency.
2c73e345 6066
542dfbde
LL
60672012-07-20 Leo Liu <sdl.web@gmail.com>
6068
3646bcd6
LL
6069 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
6070 (Bug#7879)
6071
542dfbde
LL
6072 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
6073
25721031
CY
60742012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
6075
6076 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
6077 * progmodes/bug-reference.el, misearch.el: Provide themselves
6078 (bug#11915).
6079
6080 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
6081 of narrowed buffer (bug#11966).
6082
316e68a7
VB
60832012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
6084
6085 * ses.el (ses-rename-cell): Set new name also in reference list of
6086 cells of which the renamed cell depends.
6087
bbf0e7d9
MY
60882012-07-20 Masatake YAMATO <yamato@redhat.com>
6089
6090 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
6091 to check whether menu-bar is shown or not. If not shown,
6092 show the menu-bar as a popup menu instead of using tmm.
6093 * mouse.el (popup-menu): Accept `point' as `position' argument.
6094
c28662a8
DG
60952012-07-20 Dmitry Gutov <dgutov@yandex.ru>
6096
6097 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
6098 up inside string symbol literal (bug#11923).
6099
87ab808f
EZ
61002012-07-20 Eli Zaretskii <eliz@gnu.org>
6101
6102 * startup.el (fancy-startup-text): Read the whole tutorial, not
6103 just its first 256 bytes. Prevents gibberish in display of the
6104 tutorial title.
6105
89dea803
DA
61062012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
6107
6108 Drop idle buffer compaction due to an absence of the
6109 proved efficiency.
6110 * compact.el: Remove.
6111
8a4e6db8
SS
61122012-07-19 Sam Steingold <sds@gnu.org>
6113
6114 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
6115 vc-bzr-pull & vc-bzr-merge-branch.
6116 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
6117 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
6118 for consistency with compilation-error-regexp-alist.
6119 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
6120 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
6121 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
6122 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
6123
5db81e33
SM
61242012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
6125
6126 * emacs-lisp/chart.el: Use lexical-binding.
6127 (chart-emacs-storage): Don't hardcode the list of entries.
6128
5b835e1d
DA
61292012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
6130
6131 Next round of tweaks caused by Fgarbage_collect changes.
6132 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
6133
9cd47b72
DA
61342012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
6135
6136 Compact buffers when idle.
6137 * compact.el: New file.
6138
1d6fc0df
SM
61392012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
6140
6141 * subr.el (eventp): Presume that if it looks vaguely like an event,
6142 it's an event (bug#10190).
6143
1d29cc7d
FEG
61442012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
6145
6146 Enhancements to ppss related code (thanks Stefan).
6147 * progmodes/python.el (python-indent-context)
6148 (python-indent-calculate-indentation, python-indent-dedent-line)
6149 (python-indent-electric-colon, python-nav-forward-block)
6150 (python-mode-abbrev-table)
1d6fc0df 6151 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
6152 for ppss context.
6153 (python-info-continuation-line-p): Cleanup.
6154 (python-info-ppss-context): Do not catch 'quote.
6155 (python-info-ppss-context-type)
6156 (python-info-ppss-comment-or-string-p): Simplify.
6157
d583cbe6
FEG
61582012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
6159
6160 * progmodes/python.el: Enhancements to eldoc support.
6161 (python-info-current-symbol): New function.
6162 (python-eldoc-at-point): Use python-info-current-symbol.
6163 (python-info-current-defun): Fix cornercase on first defun scan.
6164 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
6165 and signal error when no inferior python process is available.
6166
eceb6feb
DG
61672012-07-18 Dmitry Gutov <dgutov@yandex.ru>
6168
6169 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
6170 assume it's always t.
6171 (vc-git-registered): Remove caching, the function is only called
6172 once.
6173 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
6174
4c8ff0fe
CY
61752012-07-18 Chong Yidong <cyd@gnu.org>
6176
19fb7186
CY
6177 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
6178
9587c688
CY
6179 * simple.el (count-words): Report on narrowing (Bug#9959).
6180
0fe776a1
CY
6181 * bindings.el: Bind M-= to count-words.
6182
4c8ff0fe
CY
6183 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
6184
7f5331cc
MY
61852012-07-18 Masatake YAMATO <yamato@redhat.com>
6186
6187 * progmodes/sh-script.el (sh-imenu-generic-expression):
6188 Capture a function with `function' keyword and without parentheses
6189 like "function FOO" (bug#11856).
6190
2dc2a609
TH
61912012-07-18 Tassilo Horn <tassilo@member.fsf.org>
6192
6193 * window.el (split-window-sensibly): Make WINDOW argument
6194 optional.
6195
439f7677
CY
61962012-07-18 Chong Yidong <cyd@gnu.org>
6197
9aeb25a6
CY
6198 * subr.el (keyboard-translate): Doc fix (Bug#7261).
6199
439f7677
CY
6200 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
6201 and make C-x 8 RET exit isearch (Bug#11439).
6202
6203 * international/iso-transl.el: Move isearch-mode-map key
6204 definitions to isearch.el.
6205
12999ea8
SM
62062012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
6207
6208 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
6209 (eieio-defclass): Use gv-define-setter when possible.
6210
3ab6e069
DA
62112012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
6212
6213 Reflect recent changes in Fgarbage_collect.
6214 * emacs-lisp/chart.el (chart-emacs-storage): Change to
6215 reflect new format of data returned by Fgarbage_collect.
6216
0a60bc10
FEG
62172012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
6218
6219 New utility functions + python-info-ppss-context fix (Bug#11910).
6220 * progmodes/python.el (python-info-beginning-of-block-statement-p)
6221 (python-info-ppss-comment-or-string-p): New functions.
6222 (python-info-ppss-context): Small fix for string check.
6223
6dafa0d5
JL
62242012-07-17 Juri Linkov <juri@jurta.org>
6225
6226 * dired-aux.el (dired-do-async-shell-command): Doc fix.
6227 (dired-do-async-shell-command): Don't add `*' at the end of the
6228 command (Bug#11815).
6229 (dired-do-shell-command): Doc fix.
6230 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
6231 Join the individual commands using either "&" or ";" as the
6232 separator depending on the values of these trailing characters.
6233 At the end re-add the trailing "&". (Bug#10598)
6234
6235 * simple.el (async-shell-command): Sync the interactive spec with
6236 `shell-command'. Doc fix.
6237 (shell-command): Doc fix.
6238
b19dd9d1
JL
62392012-07-17 Juri Linkov <juri@jurta.org>
6240
6241 * descr-text.el (describe-char): Fix format args. (Bug#10129)
6242
bcdc27d7 62432012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 6244
bcdc27d7 6245 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
6246 * progmodes/python.el (python-nav-beginning-of-statement):
6247 Rename from python-nav-statement-start.
bcdc27d7
FEG
6248 (python-nav-end-of-statement): Rename from
6249 python-nav-statement-end.
6250 (python-nav-beginning-of-block): Rename from
6251 python-nav-block-start.
6252 (python-nav-end-of-block): Rename from python-nav-block-end.
6253
191da00e
FEG
62542012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
6255
7f5331cc
MY
6256 * progmodes/python.el (python-shell-send-string-no-output):
6257 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
6258 future interactions (Bug#11868).
6259
4dc7c8d5 62602012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 6261
88ecaf8f
SM
6262 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
6263
ef501ef0
SM
6264 * emacs-lisp/elint.el (elint-find-args-in-code):
6265 Use help-function-arglist, so as to handle lexical byte-code.
6266
aa7aaf8f
SM
6267 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
6268 change (bug#11826).
6269
45fd731c
SM
62702012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
6271
2143fa32
SM
6272 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
6273 Avoid spuriously marking the buffer as modified because of c-is-sws.
6274
efc26dbe
SM
6275 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
6276 as not-a-comment (bug#11946).
6277
f5695c9a
SM
6278 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
6279 for uninterned vars.
6280
6281 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
6282 Use read-event since we don't really want to read chars but bytes.
6283
45fd731c
SM
6284 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
6285 $$..$$ but also $..$ using regexps (bug#11953).
6286 Use tex-verbatim for \url and \path.
6287 (tex-font-lock-keywords): Define as defconst like the others.
6288 (tex-common-initialization): Don't use font-lock-syntax-table any more.
6289
ddfc8813
RK
62902012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
6291
6292 * international/mule-cmds.el (ucs-insert): Make it an obsolete
6293 alias for insert-char.
6294
758e556a
FEG
62952012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
6296
6297 * progmodes/python.el: Simplified imenu implementation.
6298 (python-nav-jump-to-defun): Remove command.
6299 (python-mode-map): Use `imenu' instead.
6300 (python-nav-list-defun-positions-cache)
6301 (python-imenu-include-defun-type, python-imenu-make-tree)
6302 (python-imenu-subtree-root-label, python-imenu-index-alist):
6303 Remove vars.
6304 (python-nav-list-defun-positions, python-nav-read-defun)
6305 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
6306 (python-imenu-make-tree, python-imenu-create-index):
6307 Remove functions.
758e556a
FEG
6308 (python-mode): Update to interact with imenu by setting
6309 `imenu-extract-index-name-function' only.
6310
032d23ab
FEG
63112012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
6312
6313 * progmodes/python.el: Enhancements to navigation commands.
6314 (python-nav-backward-sentence)
6315 (python-nav-forward-sentence): Remove.
6316 (python-nav-backward-statement, python-nav-forward-statement)
6317 (python-nav-statement-start, python-nav-statement-end)
6318 (python-nav-backward-block, python-nav-forward-block)
6319 (python-nav-block-start, python-nav-block-end)
6320 (python-nav-forward-sexp-function)
6321 (python-info-current-line-comment-p)
6322 (python-info-current-line-empty-p): New functions.
6323 (python-indent-context): Use `python-nav-statement-start'.
6324
01795a1b
MA
63252012-07-16 Michael Albinus <michael.albinus@gmx.de>
6326
9328d9aa
MA
6327 * eshell/em-ls.el (eshell/ls): Use `apply'.
6328
6329 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
6330 multi-hops, instead of Tramp internals.
6331
01795a1b
MA
6332 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
6333
6334 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
6335 when F1 and F2 are located on different hosts.
6336
63408057
CY
63372012-07-14 Chong Yidong <cyd@gnu.org>
6338
6339 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
6340 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
6341 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
6342 (xterm-mouse--read-event-sequence-1000)
6343 (xterm-mouse--read-event-sequence-1006): New functions. For old
6344 mouse protocol, handle M-mouse-X events correctly.
6345 (xterm-mouse-event): New arg specifying mouse protocol.
6346 (turn-on-xterm-mouse-tracking-on-terminal)
6347 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
6348 sequence to toggle extended coordinates on newer XTerms.
6349 This appears to be harmless on terminals which do not support this.
63408057 6350
cd276f6e
LL
63512012-07-14 Leo Liu <sdl.web@gmail.com>
6352
28ca98ac
LL
6353 Add fringe bitmap indicators for flymake. (Bug#11253)
6354 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
6355 (flymake-make-overlay): New arg BITMAP.
6356 (flymake-error-bitmap, flymake-warning-bitmap)
6357 (flymake-fringe-indicator-position): New user variables.
6358
cd276f6e
LL
6359 * fringe.el: New bitmap exclamation-mark.
6360
04408072
JD
63612012-07-14 Jan Djärv <jan.h.d@swipnet.se>
6362
6363 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
6364 also (Bug#7879).
6365
b5cf7fc4
CY
63662012-07-14 Chong Yidong <cyd@gnu.org>
6367
6368 * electric.el (electric-pair-post-self-insert-function): Fix pair
6369 insertion in empty-region case (Bug#11520).
6370
be755c79
RT
63712012-07-14 Chong Yidong <cyd@gnu.org>
6372
45fd731c
SM
6373 * bindings.el: Consolidate ctl-x-r-map bindings.
6374 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
6375
6376 * rect.el, register.el: Move bindings to bindings.el.
6377
63782012-07-14 Reuben Thomas <rrt@sc3d.org>
6379
6380 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
6381
7f5b3198
AS
63822012-07-13 Andreas Schwab <schwab@linux-m68k.org>
6383
6384 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
6385
97662200
JB
63862012-07-13 Juanma Barranquero <lekktu@gmail.com>
6387
80185fed
JB
6388 * bindings.el (top): Use `mapc' instead of `mapcar'.
6389
97662200
JB
6390 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
6391
2bb1ae55
MA
63922012-07-13 Michael Albinus <michael.albinus@gmx.de>
6393
6394 * progmodes/sql.el (sql-comint): Suppress the check for program on
6395 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
6396 (Bug#11908)
6397
dea31bd3
CY
63982012-07-13 Chong Yidong <cyd@gnu.org>
6399
6400 * bindings.el: Assign a non-nil permanent-local property to
6401 per-buffer variables which lack a default value (Bug#11930).
6402
6403 * help-fns.el (describe-variable): In the "automatically becomes
6404 local" notice, take note of permanent-local variables.
6405
b68b3337
CY
64062012-07-13 Chong Yidong <cyd@gnu.org>
6407
6408 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
6409 to allow printing the message when called from Lisp.
6410
6411 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6412 Remove toggle-read-only.
6413
6414 * bs.el (bs-toggle-readonly):
45fd731c
SM
6415 * buff-menu.el (Buffer-menu-toggle-read-only):
6416 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
6417
6418 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
6419 Remove with-no-warnings around toggle-read-only.
6420 (ffap-read-only, ffap-read-only-other-window)
6421 (ffap-read-only-other-frame): Callers changed.
6422
6423 * help-mode.el: Don't require view package.
6424 (help-mode-finish): Set buffer-read-only instead of calling
6425 toggle-read-only.
6426
6427 * bindings.el (mode-line-toggle-read-only):
6428 * dired.el (dired-toggle-read-only):
6429 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
6430 with non-nil second arg.
6431
6432 * emacs-lisp/eieio-custom.el (eieio-customize-object):
6433 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
6434 directly.
6435
56bc1586
EZ
64362012-07-12 Eli Zaretskii <eliz@gnu.org>
6437
6438 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
6439 not incf.
6440
a464a6c7
SM
64412012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
6442
6443 More CL cleanups and reduction of use of cl.el.
6444 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
6445 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
6446 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
6447 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
6448 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
6449 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
6450 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
6451 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
6452 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
6453 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
6454 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
6455 * eshell/em-cmpl.el, eshell/em-banner.el:
6456 * calendar/parse-time.el: Use cl-lib.
6457 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
6458 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
6459 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
6460 * term/ns-win.el, term.el, shell.el, ps-samp.el:
6461 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
6462 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
6463 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
6464 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
6465 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
6466 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
6467 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
6468 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
6469 `lambda' rather than with `quote'.
6470 (eshell-do-opt): Adjust accordingly.
6471 (eshell-process-option): Simplify.
6472 * eshell/esh-var.el:
6473 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
6474 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
6475 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
6476 to `pcase--dontcare'.
6477 * emacs-lisp/cl.el (labels): Mark obsolete.
6478 (cl--letf, letf): Move to cl-lib.
6479 (cl--letf*, letf*): Remove.
6480 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
6481 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
6482 (cl-progv): Rewrite.
6483 (cl--letf, cl-letf): Move from cl.el.
6484 (cl-letf*): New macro.
6485 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
6486
7ad4afe1
MA
64872012-07-11 Michael Albinus <michael.albinus@gmx.de>
6488
6489 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
6490
9af57756
CY
64912012-07-11 Chong Yidong <cyd@gnu.org>
6492
6493 * vc/log-edit.el (log-edit-vc-backend): New variable.
6494 (log-edit): Doc fix.
6495
6496 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
6497 argument of log-edit to set up all local variables.
6498 (vc-start-logentry): New optional arg specifying VC backend.
6499
6500 * vc/vc.el (vc-checkin): Use it.
6501 (vc-deduce-fileset): Handle Log Edit buffers.
6502 (vc-diff): Make first argument optional too.
6503
6504 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
6505
8477cc7a
MA
65062012-07-10 Michael Albinus <michael.albinus@gmx.de>
6507
6508 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
6509 command, just in case. The function is not needed anymore.
6510 (eshell-external-command): Do not call `eshell-remote-command'.
6511
19faa8e8
SM
65122012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
6513
f58e0fd5
SM
6514 Reduce use of (require 'cl).
6515 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
6516 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
6517 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
6518 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
6519 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
6520 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
6521 * battery.el, avoid.el, abbrev.el: Use cl-lib.
6522 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
6523 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
6524 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
6525 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
6526 * calculator.el, autorevert.el, apropos.el: Don't require CL.
6527 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
6528 (byte-compile-unfold-bcf, byte-compile-check-variable):
6529 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
6530 (byte-compile-nilconstp):
6531 * emacs-lisp/autoload.el (make-autoload): Use pcase.
6532 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
6533
2519d43a
SM
6534 * emacs-lisp/gv.el (cond): Make it a valid place.
6535 (if): Simplify slightly.
6536
19faa8e8
SM
6537 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
6538 (pcase--self-quoting-p): New function.
6539 (pcase--u1): Use it.
6540
c4907a5e
GM
65412012-07-10 Glenn Morris <rgm@gnu.org>
6542
6543 * emacs-lisp/authors.el (authors-fixed-entries):
6544 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
6545
c4444d16
PE
65462012-07-09 Paul Eggert <eggert@cs.ucla.edu>
6547
6548 Rename configure.in to configure.ac (Bug#11603).
6549 * emacs-lisp/authors.el (authors-canonical-file-name):
6550 * progmodes/autoconf.el (autoconf-mode):
6551 Prefer configure.ac to configure.in.
6552
d75be97d
CY
65532012-07-08 Chong Yidong <cyd@gnu.org>
6554
01ac65bd
CY
6555 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
6556 Implement the mouse-1-click-follows-link handling properly.
6557
6558 * info.el (Info-link-keymap): Use follow-link mechanism for
6559 header-line links (Bug#374).
6560
d75be97d
CY
6561 * simple.el (deactivate-mark): Do not set the primary selection
6562 if another program has acquired it (Bug#11772).
6563
87a92845 65642012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
6565
6566 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
6567 (woman-decode-region): Replace escaped-escapes without destroying
6568 bold or underline (Bug#11552).
87a92845 6569 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 6570
621b9d6c
CY
65712012-07-07 Chong Yidong <cyd@gnu.org>
6572
6573 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
6574 (interprogram-cut-function, interprogram-paste-function):
6575 Mention that we typically mean the clipboard.
621b9d6c 6576
133a11fc
GM
65772012-07-06 Glenn Morris <rgm@gnu.org>
6578
0d27a45e
GM
6579 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
6580
133a11fc
GM
6581 * files.el (toggle-read-only): Restrict message to interactive use.
6582
07b151f1
MA
65832012-07-06 Michael Albinus <michael.albinus@gmx.de>
6584
6585 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
6586
6587 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
6588
211b896b
GM
65892012-07-06 Glenn Morris <rgm@gnu.org>
6590
50394322
GM
6591 * Makefile.in (compile-one-process): Rename from "recompile".
6592
211b896b
GM
6593 * Makefile.in (bzr-update): "compile" is the same as "recompile
6594 autoloads", but parallelizable, so use that instead.
6595
4737eec9
DG
65962012-07-06 Dmitry Gutov <dgutov@yandex.ru>
6597
6598 * window.el (quit-window): Always restore window height when
8137e7b3 6599 it's saved in quit-restore parameter (Bug#11810).
4737eec9 6600
226c3633 66012012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
6602
6603 * simple.el (kill-whole-line): Doc tweak.
6604
226c3633 66052012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
6606
6607 * files.el (file-relative-name): Compare file names
6608 case-insensitively if on MS-Windows or MS-DOS, or if
6609 read-file-name-completion-ignore-case is non-nil. Don't use
6610 case-fold-search for this purpose. (Bug#11827)
6611
4dc7c8d5
SM
66122012-07-17 Andreas Schwab <schwab@linux-m68k.org>
6613
6614 * calendar/cal-dst.el (calendar-current-time-zone):
6615 Return calendar-current-time-zone-cache if non-nil.
6616
66172012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 66182012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 6619
19faa8e8
SM
6620 * calendar/cal-dst.el (calendar-current-time-zone):
6621 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 6622
60198fc9
GM
66232012-07-06 Glenn Morris <rgm@gnu.org>
6624
6625 * Makefile.in (cvs-update): Remove old alias.
6626
957b3189
MA
66272012-07-05 Michael Albinus <michael.albinus@gmx.de>
6628
6629 Sync with Tramp 2.2.6-pre.
6630
6631 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
6632 compatible declaration.
6633
19faa8e8
SM
6634 * net/tramp-cmds.el (tramp-append-tramp-buffers):
6635 Protect `list-load-path-shadows' call.
957b3189
MA
6636
6637 * net/tramp-compat.el (top): Require packages, which aren't
6638 autoloaded anymore for XEmacs. Protect call of
6639 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
6640 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
6641 it hurts at least for SXEmacs.
6642 (tramp-compat-temporary-file-directory): In XEmacs, there is no
6643 standard-value for `temporary-file-directory'.
6644
6645 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
6646 Redirect stderr to /dev/null.
6647 (tramp-sh-handle-write-region): uid and gid can be floats.
6648 Reported by Russell Sim <russell.sim@gmail.com>.
6649 (tramp-sh-handle-vc-registered): Hide errors.
6650 (tramp-vc-file-name-handler): Use dummy results for `process-file'
6651 and `start-file-process'.
6652 (tramp-maybe-open-connection): Check also whether `non-essential'
6653 is bound.
6654
566df3fc
CY
66552012-07-04 Chong Yidong <cyd@gnu.org>
6656
6657 * xml.el (xml--parse-buffer): Use xml-syntax-table.
6658 (xml-parse-tag): Likewise, and avoid changing entity tables.
6659 (xml-syntax-table): Define from scratch, making sure not to give
6660 x2000 and other Unicode spaces whitespace syntax, since those are
6661 not spaces in XML.
6662 (xml-parse-fragment): Delete unused function.
6663 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
6664 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
6665 (xml-entity-ref, xml-pe-reference-re)
6666 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
6667 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
6668 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
6669 (xml-entity-value-re): Use syntax references in regexps where
6670 possible; no need to define inside a let-binding.
6671 (xml-parse-dtd): Use xml-pe-reference-re.
6672 (xml-entity-or-char-ref-re): New defconst.
6673 (xml-parse-string, xml-substitute-special): Use it.
6674
30eabd7a
SM
66752012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
6676
0781098a
SM
6677 * files.el (locate-dominating-file): Allow `name' to be a predicate.
6678 (find-file--read-only): New function.
6679 (find-file-read-only, find-file-read-only-other-window)
6680 (find-file-read-only-other-frame): Use it.
6681 (insert-file-contents-literally): Don't `fset'.
6682 (get-free-disk-space): Use locate-dominating-file.
6683
b5771c0d
SM
6684 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
6685 function is already compiled.
6686
30eabd7a
SM
6687 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
6688
b4886f6e
MA
66892012-07-03 Michael Albinus <michael.albinus@gmx.de>
6690
6691 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
6692 files on the same host.
6693
b9d82339
AS
66942012-07-03 Andreas Schwab <schwab@linux-m68k.org>
6695
6696 * help-fns.el (describe-function-1): Only call
6697 help-fns--autoloaded-p when we have a file name. (Bug#11848)
6698
a76e6535
CY
66992012-07-03 Chong Yidong <cyd@gnu.org>
6700
6701 * xml.el: Protect parser against XML bombs.
6702 (xml-entity-expansion-limit): New variable.
6703 (xml-parse-string, xml-substitute-special): Use it.
6704 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
6705
b544fef2
GM
67062012-07-03 Glenn Morris <rgm@gnu.org>
6707
6708 * progmodes/bug-reference.el (bug-reference-bug-regexp):
6709 Allow linking to specific messages in debbugs reports (eg 123#5).
6710
a7aef6f5
CY
67112012-07-02 Chong Yidong <cyd@gnu.org>
6712
6713 * xml.el: Fix entity and character reference expansion, allowing
6714 them to expand into markup as per XML spec.
6715 (xml-default-ns): New variable.
6716 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
6717 (xml-parse-region): Make first two arguments optional.
6718 Discard text properties.
6719 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
6720 All callers changed.
a7aef6f5
CY
6721 (xml-parse-tag): Call xml-parse-tag-1. For backward
6722 compatibility, this function should not modify buffer contents.
6723 (xml-parse-tag-1): Fix opening-tag regexp.
6724 (xml-parse-string): Rewrite, handling entity and character
6725 references properly.
6726 (xml--entity-replacement-text): Signal an error if a parameter
6727 entity is undefined.
6728
3df31c9f
SM
67292012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
6730
2b5208f1
SM
6731 * comint.el (comint-output-filter): Filter out repeated prompts.
6732
3df31c9f
SM
6733 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
6734 and file-name-absolute-p.
6735 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
6736 internal calls.
6737
e3ac1281
PE
67382012-07-02 Paul Eggert <eggert@cs.ucla.edu>
6739
6740 Spelling fixes.
6741 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
6742 Rename from byte-compile--refiy-function. All uses changed.
6743
fbf2e7ad
CY
67442012-07-01 Chong Yidong <cyd@gnu.org>
6745
6746 * xml.el (xml--parse-buffer): New function. Move most of
6747 xml-parse-region here.
6748 (xml-parse-region): Copy region into a temporary buffer, since
6749 parameter entity substitution requires changing buffer contents.
6750 Use xml--parse-buffer.
6751 (xml-parse-file): Use xml--parse-buffer.
6752 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 6753 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 6754
9bf0aa15
GM
67552012-06-30 Glenn Morris <rgm@gnu.org>
6756
bbce2853
GM
6757 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
6758
9bf0aa15
GM
6759 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
6760 Remove outdated and unnecessary dbus declarations.
6761
0d23c240
EZ
67622012-06-30 Eli Zaretskii <eliz@gnu.org>
6763
6764 * emacs-lisp/timer.el (timer-until): Subtract results of
6765 float-time, instead of taking float-time of the result of
6766 time-subtract, since float-time signals an error for negative time
6767 arguments.
6768
b3218de1
CY
67692012-06-30 Chong Yidong <cyd@gnu.org>
6770
6771 * xml.el (xml-*-re): Convert defvars into defconsts, and
6772 eval-and-compile them so eval-and-compile works on derivatives.
6773 (xml--entity-replacement-text): Use eval-and-comple.
6774
a40c87a0
MA
67752012-06-30 Michael Albinus <michael.albinus@gmx.de>
6776
6777 * vc/vc-git.el (vc-git-registered): Use cache property
6778 `git-registered'.
6779 (vc-git-mode-line-string): Call `vc-working-revision' instead of
6780 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 6781 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 6782
ac87de97
DG
67832012-06-30 Dmitry Gutov <dgutov@yandex.ru>
6784
6785 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 6786 removed (likely outside Emacs). (Bug#11757)
ac87de97 6787
ac10fe06
SM
67882012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
6789
3df31c9f 6790 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 6791
7f3fbd5d
CY
67922012-06-30 Chong Yidong <cyd@gnu.org>
6793
6794 * xml.el: Implement XML parameter entities.
6795 (xml-parameter-entity-alist): New variable.
6796 (xml-parse-region, xml-parse-fragment): Preserve previous values
6797 of xml-entity-alist and xml-parameter-entity-alist, so that
6798 repeated calls on different documents do not change them.
6799 (xml-parse-tag): Fix doctype regexp.
6800 (xml--entity-replacement-text): New function.
6801 (xml-parse-dtd): Use it. Don't handle system entities; doing that
6802 properly requires url retrieval which is unimplemented.
6803 (xml-escape-string): Doc fix.
6804
3cfbebba
SM
68052012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
6806
6807 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
6808
2af3565e
DA
68092012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
6810
6811 * fringe.el (fringe-mode): Doc fix.
6812
929df0e7
MA
68132012-06-29 Michael Albinus <michael.albinus@gmx.de>
6814
6815 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
6816 is non-nil.
6817 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
6818 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
6819
c8d3a25c 68202012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 6821
c8d3a25c
GM
6822 * calendar/cal-dst.el (calendar-current-time-zone):
6823 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 6824
c8d3a25c 68252012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
6826
6827 * progmodes/which-func.el (which-func-format):
6828 Add mouse-face. (Bug#11698)
6829
c8d3a25c
GM
68302012-06-29 Leo Liu <sdl.web@gmail.com>
6831
6832 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
6833
68342012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
6835
6836 * minibuffer.el (minibuffer-confirm-exit-commands):
6837 Add completion-at-point (bug#11725).
6838
68392012-06-29 Glenn Morris <rgm@gnu.org>
6840
6841 * progmodes/f90.el (f90-font-lock-keywords-2):
6842 Add some preprocessor elements. (Bug#10499)
6843
68442012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
6845
6846 * progmodes/cperl-mode.el (cperl-update-syntaxification):
6847 Use syntax-propertize (bug#11739).
6848
2badeec4
JB
68492012-06-28 Juanma Barranquero <lekktu@gmail.com>
6850
6851 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
6852
ae4969c2
JD
68532012-06-28 Julien Danjou <julien@danjou.info>
6854
6855 * term.el (term-handle-colors-array): Use a set of new faces to
6856 color the terminal. Also uses :inverse-video property.
6857 (term-default-fg-color): Set to nil by default, deprecate in favor
6858 of `term-face'.
6859 (term-default-bg-color): Set to nil by default, deprecate in favor
6860 of `term-face'.
6861 (term-current-face): Use `term-face' by default.
6862 (term-bold-attribute): Variable deleted.
6863
1c9bd870
GM
68642012-06-28 Glenn Morris <rgm@gnu.org>
6865
6866 * simple.el (completion-list-mode-finish):
6867 Don't use toggle-read-only. (Since completion-list-mode has
6868 a special mode-class, it wasn't doing anything extra anyway.)
6869
c207708c
SM
68702012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
6871
6872 Make inlining of other-mode interpreted functions work (bug#11799).
6873 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
6874 (byte-compile): Use it to fix compilation of lexical-binding closures.
6875 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
6876 function, if needed.
6877
3fd56834
SM
68782012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
6879
04901786
SM
6880 * help-mode.el (help-make-xrefs): Don't just withstand
6881 cyclic-variable-indirection but any error in documentation-property.
6882
1ec4b7b2
SM
6883 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
6884 memory use.
6885 * bindings.el (bindings--define-key): New function.
6886 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
6887 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
6888 * bindings.el: Use it to purecopy define-key bindings.
6889
e309e2a5
SM
6890 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
6891
d5c6faf9
SM
6892 * emacs-lisp/cl.el (flet): Mark obsolete.
6893 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
6894 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
6895 * progmodes/js.el (js-c-fill-paragraph):
6896 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
6897 (ebrowse-switch-member-buffer-to-derived-class):
6898 * play/5x5.el (5x5-solver): Use cl-flet.
6899
6e9590e2
SM
6900 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
6901 (cl--symbol-function): New macro.
6902 (cl--letf, cl--letf*): Use it.
6903
3fd56834
SM
6904 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
6905 Strip "toggle-" if any.
6906
35ff222c
GM
69072012-06-27 Glenn Morris <rgm@gnu.org>
6908
1ba6038a
GM
6909 * info.el (Info-default-directory-list): Move here from paths.el.
6910 * paths.el: Remove file, which is now empty.
6911 * loadup.el: No longer load "paths".
6912
0ea0e51b
GM
6913 * custom.el (custom-initialize-delay): Doc fix.
6914
35ff222c
GM
6915 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
6916 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
6917 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
6918 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
6919 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
6920 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
6921 * eshell/eshell.el (eshell-defgroup): Remove alias.
6922
c89926a5
CY
69232012-06-27 Chong Yidong <cyd@gnu.org>
6924
6925 * help.el (help-enable-auto-load): New variable.
6926
6927 * help-fns.el (help-fns--autoloaded-p): New function.
6928 (describe-function-1): Refer to a function as "autoloaded" if it
6929 was autoloaded at any time in the past. Perform autoloading if
6930 help-enable-auto-load is non-nil.
6931
cc06e7e7
EZ
69322012-06-26 Eli Zaretskii <eliz@gnu.org>
6933
6934 * makefile.w32-in (compile, compile-always): Depend on
6935 update-subdirs, not on subdirs.el. Otherwise, several different
6936 sub-targets of 'bootstrap' running in parallel could
6937 simultaneously write to subdirs.el, producing a garbled file.
6938
d2c32364
SS
69392012-06-26 Sam Steingold <sds@gnu.org>
6940
6941 * files.el (file-name-base): New convenience function.
0d14cc21
GM
6942 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
6943 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
6944 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
6945 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
6946 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
6947 * textmodes/tex-mode.el: Use it.
6948 Did not touch cedet and org because they are maintained elsewhere.
6949
5cf983b2
MR
69502012-06-26 Martin Rudalics <rudalics@gmx.at>
6951
6952 * calendar/calendar.el (calendar-exit): Don't try to delete or
6953 iconify last frame. See:
6954 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
6955
8c4f2952
JD
69562012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
6957
6958 * server.el (server-process-filter): Remember dir in the
6959 process's `server-client-directory' properties.
6960
772b2e2c
CY
69612012-06-24 Chong Yidong <cyd@gnu.org>
6962
6963 * xml.el (xml-parse-tag): Correctly handle comment embedded in
6964 non-tag text.
6965
711b11e1
JB
69662012-06-23 Juanma Barranquero <lekktu@gmail.com>
6967
6968 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
6969
dc5d230c
SM
69702012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
6971
6972 * help-fns.el (describe-variable): Don't croak when doc is not found.
6973 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
6974 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
6975 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
6976 * emacs-lisp/smie.el (smie-next-sexp): CSE.
6977 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
6978 ((lambda ..) ..).
6979 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
6980
136e1c1d
CY
69812012-06-23 Chong Yidong <cyd@gnu.org>
6982
e8c1cabf
CY
6983 * info.el (Info-mouse-follow-link): Accept symbol values of
6984 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
6985 (Info-fontify-node): Use Info-link-keymap for all navigation
6986 buttons, with link-args property to perform the desired action.
6987 (Info-link-keymap): Doc fix.
6988 (Info-next-link-keymap, Info-prev-link-keymap)
6989 (Info-up-link-keymap): Delete now-unused keymaps.
6990
0e9e6c6a
CY
69912012-06-23 Chong Yidong <cyd@gnu.org>
6992
05e89fea
CY
6993 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
6994
0e9e6c6a
CY
6995 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
6996 system abbrevs.
6997
6998 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
6999
e33c6771
SM
70002012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
7001
b68581e2
SM
7002 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
7003 (bug#11719).
7004
e33c6771
SM
7005 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
7006 the requote function doesn't work properly (bug#11714).
7007
7117e105
GM
70082012-06-23 Glenn Morris <rgm@gnu.org>
7009
7010 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
7011
36cec983
SM
70122012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7013
7014 Further GV/CL cleanups.
7015 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
7016 gv-expander.
7017 (gv--defun-declaration): New function.
7018 (defun-declarations-alist): Use it.
7019 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
7020 (gv-place): Autoload.
7021 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
7022 original definition of dotimes and dolist.
7023 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
7024 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
7025 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
7026 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
7027 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
7028 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
7029 to the function's definition.
7030 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
7031 * window.el:
7032 * files.el:
7033 * faces.el:
7034 * env.el: Don't use CL.
7035
d35af63c
PE
70362012-06-22 Paul Eggert <eggert@cs.ucla.edu>
7037
7038 Support higher-resolution time stamps (Bug#9000).
7039
7040 * calendar/time-date.el (with-decoded-time-value): New arg
7041 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
7042 (encode-time-value): New optional arg PICO. New type 3.
7043 (time-to-seconds) [!float-time]: Support the new picoseconds
7044 component if it's used.
7045 (seconds-to-time, time-subtract, time-add):
7046 Support ps-resolution time stamps as well.
7047
7048 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
7049 (timerp): Timer vectors now have length 9, not 8.
7050 (timer--time): Support new-style (4-part) time stamps.
7051 (timer-next-integral-multiple-of-time): Time stamps now have
7052 picosecond resolution, so take a bit more care about rounding.
7053 (timer-relative-time, timer-inc-time): New optional arg psecs.
7054 (timer-set-time-with-usecs): Set psecs to 0.
7055 (timer--activate): Check psecs component, too.
7056
7057 * proced.el (proced-time-lessp): Support ps-resolution stamps.
7058
ac77b21a
SM
70592012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7060
f143bfe3
SM
7061 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
7062 Move the non-essential binding to the post/pre-command-hook where it is
7063 more obviously correct.
7064
ac77b21a
SM
7065 * subr.el (read-passwd): Don't use a history at all.
7066 * savehist.el (savehist-save): Remove password saved accidentally
7067 because of the above bug.
7068
76386c5a
BG
70692012-06-22 Bastien Guerry <bzg@gnu.org>
7070
7071 * files.el (toggle-read-only): Display a message telling whether
7072 the buffer is read-only or not (bug#11726).
7073
2ee3d7f0
SM
70742012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7075
7076 * emacs-lisp/gv.el: New file.
7077 * subr.el (push, pop): Extend to generalized variables.
7078 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
7079 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
7080 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
7081 gv-define-simple-setter, and gv-define-expander.
7082 Remove setf-methods defined in gv. Rename cl-setf -> setf.
7083 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
7084 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
7085 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
7086 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
7087 gv-letplace.
7088 (cl-defstruct): Don't define setf-method any more.
7089 * emacs-lisp/cl.el (flet): Don't autoload.
7090 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
7091 (define-setf-expander, defsetf, define-modify-macro)
7092 (cl-struct-setf-expander): Move from cl-lib.el.
7093 * emacs-lisp/syntax.el:
7094 * emacs-lisp/ewoc.el:
7095 * emacs-lisp/smie.el:
7096 * emacs-lisp/cconv.el:
7097 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
7098 (timer--time): Use gv-define-simple-setter.
7099 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
7100 to avoid coding-system problems in subr.el. Adjust all users.
7101 (macroexp--maxsize, macroexp-small-p): New functions.
7102 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
7103 * scroll-bar.el (scroll-bar-mode):
7104 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
7105 (normal-erase-is-backspace-mode): Don't use the `eq' place.
7106 * winner.el (winner-configuration, winner-make-point-alist)
7107 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
7108 * files.el (locate-file-completion-table): Avoid list*.
7109
c5695d1d
CY
71102012-06-22 Chong Yidong <cyd@gnu.org>
7111
7112 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
7113 (dired-create-files): Doc fix (Bug#11329).
7114 (dired-do-copy): Doc fix (Bug#11334).
7115 (dired-mark-read-string): Doc fix (Bug#11553).
7116
2ee3d7f0
SM
7117 * dired.el (dired-recursive-copies, dired-recursive-deletes):
7118 Doc fix (Bug#11326).
c5695d1d
CY
7119 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
7120 (dired-dwim-target): Doc fix.
7121
7122 * wdired.el (wdired-mode): Doc fix.
7123
89b5595a
GM
71242012-06-22 Glenn Morris <rgm@gnu.org>
7125
575db3f1
GM
7126 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
7127 (pcmpl-rpm-cache-stamp-file): New constant.
7128 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
7129 (pcmpl-rpm-packages): Optionally cache list of packages.
7130
a4c8dd51
GM
7131 * pcmpl-rpm.el (pcmpl-rpm): New group.
7132 (pcmpl-rpm-query-options): New option.
7133 (pcmpl-rpm-packages): No need to inline it.
7134 Use pcmpl-rpm-query-options.
7135
89b5595a
GM
7136 * calendar/calendar.el (calendar-in-read-only-buffer):
7137 Avoid some needless mode changes.
7138
e76f0800
CY
71392012-06-21 Chong Yidong <cyd@gnu.org>
7140
7141 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
7142 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 7143 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 7144
297a8f1d
CY
71452012-06-20 Chong Yidong <cyd@gnu.org>
7146
7147 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
7148
d34c18b1
DR
71492012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
7150
7151 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
7152 (bug#11201).
7153
32f7f28e
CY
71542012-06-20 Chong Yidong <cyd@gnu.org>
7155
7156 * term.el (term-window-width): Handle the case of a missing right
7157 fringe (Bug#8837).
7158 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
7159 (term-mode): Use define-derived-mode. Minor cleanups.
7160 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
7161 (term-move-columns, term-insert-char, term-emulate-terminal)
7162 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 7163
493c6688
MA
71642012-06-20 Michael Albinus <michael.albinus@gmx.de>
7165
d34c18b1
DR
7166 * net/ange-ftp.el (ange-ftp-get-passwd):
7167 Bind `enable-recursive-minibuffers'.
493c6688
MA
7168 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
7169
3f06ecf4
DR
71702012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
7171
7172 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
7173
68f12411
GM
71742012-06-19 Glenn Morris <rgm@gnu.org>
7175
7176 * progmodes/python.el (python-mode): Derive from prog-mode.
7177
b3820318
KG
71782012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
7179
7180 * emulation/edt.el (edt-default-menu-bar-update-buffers)
7181 (edt-user-menu-bar-update-buffers): New functions.
7182 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
7183
c6bf3022
CY
71842012-06-19 Chong Yidong <cyd@gnu.org>
7185
7186 * subr.el (with-selected-window): Preserve the selected window's
7187 terminal's top-frame (Bug#4702).
7188
7189 * window.el (save-selected-window): Likewise.
7190
25f09295
SM
71912012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7192
7193 * progmodes/python.el (python-rx-constituents): Move backquote.
7194 (python-skeleton-define, python-define-auxiliary-skeleton):
7195 Use `declare'.
7196
6b11952a
MA
71972012-06-18 Michael Albinus <michael.albinus@gmx.de>
7198
7199 * minibuffer.el (read-file-name-default): Revert the patch from
7200 2012-06-17.
7201
ee4b1330
SM
72022012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7203
7204 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
7205 (pcase--u1, pcase--q1): Don't use apply-partially.
7206
35647f79
GM
72072012-06-18 Glenn Morris <rgm@gnu.org>
7208
7209 * progmodes/python.el (python-proc, python-buffer)
7210 (python-send-receive, python-send-string): Fix obsolete versions.
7211
24b0cff0
MR
72122012-06-18 Martin Rudalics <rudalics@gmx.at>
7213
7214 * window.el (special-display-p): Completely remove stringp
7215 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
7216
29855149
MA
72172012-06-17 Michael Albinus <michael.albinus@gmx.de>
7218
7219 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
7220
7221 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
7222
7223 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
7224 * net/tramp-sh.el (tramp-maybe-open-connection):
7225 Throw if `non-essential' is non-nil.
7226
07463363
MR
72272012-06-17 Martin Rudalics <rudalics@gmx.at>
7228
7229 * window.el (special-display-p): Signal an error if BUFFER-NAME
7230 is not a string (Bug#11713).
7231
48d1354e
PE
72322012-06-17 Paul Eggert <eggert@cs.ucla.edu>
7233
7234 * progmodes/python.el (python-info-beginning-of-backslash):
7235 Rename from python-info-beginning-of-backlash, as a spelling fix.
7236
eb4a8a9a
CY
72372012-06-17 Chong Yidong <cyd@gnu.org>
7238
7239 * term.el (term-emulate-terminal): If term-check-size is called,
7240 move point to the process mark without resetting point (Bug#4635).
7241
ddfbf826 72422012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
7243
7244 * international/mule-cmds.el (mule-menu-keymap)
7245 (set-language-environment, set-locale-environment): Doc tweaks.
7246
9b0e3eba
AA
72472012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
7248
7249 * cus-face.el (custom-face-attributes): Add wave-style underline
7250 attribute.
7251 * faces.el (set-face-attribute): Update docstring to describe
7252 wave-style underline attribute.
7253
771e3eae
CY
72542012-06-16 Chong Yidong <cyd@gnu.org>
7255
7256 * term/xterm.el (terminal-init-xterm): Discard input before
7257 querying background mode (Bug#10959).
7258
7ae2ea10
SM
72592012-06-16 Stefan Merten <smerten@oekonux.de>
7260
7261 * textmodes/rst.el: Added and corrected some comments.
7262 (rst-re-alist-def): Improve symbol syntax.
7263 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
7264 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
7265 (rst-official-version, rst-official-cvs-rev): Update version
7266 information.
7ae2ea10 7267
b6974efa
JB
72682012-06-15 Juanma Barranquero <lekktu@gmail.com>
7269
7270 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
7271 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
7272
8826d473
GM
72732012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
7274
7275 * progmodes/python.el: New python.el merge.
7276 (python-guess-indent): Obsolete var.
7277 (python-indent-guess-indent-offset): New defcustom.
7278 (python-indent): Obsolete var.
7279 (python-indent-offset): New defcustom.
7280 (python-python-command, python-jython-command): Delete var.
7281 (python-shell-interpreter): New defcustom.
7282 (python-pdbtrack-do-tracking-p): Delete var.
7283 (python-pdbtrack-activate): New defcustom.
7284 (python-use-skeletons): Obsolete var.
7285 (python-skeleton-autoinsert): New defcustom.
7286 (inferior-python-filter-regexp, python-continuation-offset)
7287 (python-honour-comment-indentation, python-indent-string-contents)
7288 (python-jython-packages, python-mode-hook)
7289 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
7290 (python-shell-prompt-alist)
7291 (python-source-modes): Delete defcustoms.
7292 (python-check-buffer-name, python-eldoc-setup-code)
7293 (python-eldoc-string-code, python-ffap-setup-code)
7294 (python-ffap-string-code, python-fill-comment-function)
7295 (python-fill-decorator-function, python-fill-paren-function)
7296 (python-fill-string-function, python-imenu-include-defun-type)
7297 (python-imenu-make-tree, python-imenu-subtree-root-label)
7298 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
7299 (python-shell-compilation-regexp-alist)
7300 (python-shell-completion-module-string-code)
7301 (python-shell-completion-pdb-string-code)
7302 (python-shell-completion-setup-code)
7303 (python-shell-completion-string-code)
7304 (python-shell-enable-font-lock, python-shell-exec-path)
7305 (python-shell-extra-pythonpaths)
7306 (python-shell-internal-buffer-name, python-shell-interpreter-args)
7307 (python-shell-process-environment)
7308 (python-shell-prompt-block-regexp)
7309 (python-shell-prompt-output-regexp)
7310 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
7311 (python-shell-send-setup-max-wait, python-shell-setup-codes)
7312 (python-shell-virtualenv-path): New defcustoms.
7313 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
7314 (inferior-python-mode-syntax-table, python--prompt-regexp)
7315 (python-buffer, python-command python-python-command)
7316 (python-default-template, python-imports, python-indent-index)
7317 (python-indent-list, python-indent-list-length)
7318 (python-mode-running, python-pdbtrack-is-tracking-p)
7319 (python-preoutput-continuation, python-preoutput-leftover)
7320 (python-preoutput-result, python-preoutput-skip-next-prompt)
7321 (python-prev-dir/file, python-recursing)
7322 (python-saved-check-command, python-version-checked)
7323 (python-which-func-length-limit)
7324 (view-return-to-alist): Delete vars.
7325 (python-check-custom-command, python-dotty-syntax-table)
7326 (python-imenu-index-alist, python-indent-current-level)
7327 (python-indent-dedenters, python-indent-levels)
7328 (python-nav-beginning-of-defun-regexp)
7329 (python-nav-list-defun-positions-cache)
7330 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
7331 (python-shell-internal-buffer)
7332 (python-skeleton-available): New vars.
7333 (def-python-skeleton): Delete macro.
7334 (python-skeleton-define): New macro.
7335 (python-define-auxiliary-skeleton, python-rx): New macros.
7336 (python-insert-class): Delete command.
7337 (python-skeleton-class): New command.
7338 (python-insert-def): Delete command.
7339 (python-skeleton-def): New command.
7340 (python-insert-for): Delete command.
7341 (python-skeleton-for): New command.
7342 (python-insert-if): Delete command.
7343 (python-skeleton-if): New command.
7344 (python-insert-try/except, python-insert-try/finally): Delete commands.
7345 (python-skeleton-try): New command.
7346 (python-insert-while): Delete command.
7347 (python-skeleton-while): New command.
7348 (python-backspace): Delete command.
7349 (python-indent-dedent-line-backspace): New command.
7350 (python-electric-colon): Delete command.
7351 (python-indent-electric-colon): New command.
7352 (python-guess-indent): Delete command.
7353 (python-indent-guess-indent-offset): New command.
7354 (python-shift-left): Delete command.
7355 (python-indent-shift-left): New command.
7356 (python-shift-right): Delete command.
7357 (python-indent-shift-right): New command.
7358 (python-find-function): Delete command.
7359 (python-nav-jump-to-defun): New command.
7360 (python-next-statement): Delete command.
7361 (python-nav-forward-sentence): New command.
7362 (python-previous-statement): Delete command.
7363 (python-nav-backward-sentence): New command.
7364 (python-fill-paragraph): Delete command.
7365 (python-fill-paragraph-function): New command.
7366 (python-send-buffer): Delete command.
7367 (python-shell-send-buffer): New command.
7368 (python-send-defun): Delete command.
7369 (python-shell-send-defun): New command.
7370 (python-send-region, python-send-region-and-go): Delete commands.
7371 (python-shell-send-region)
7372 (python-shell-switch-to-shell): New commands.
7373 (python-send-string): Delete command.
7374 (python-shell-send-string): New command.
7375 (python-switch-to-python): Delete command.
7376 (python-shell-switch-to-shell): New command.
7377 (python-describe-symbol): Delete command.
7378 (python-eldoc-at-point): New command.
7379 (python--set-prompt-regexp, python-args-to-list)
7380 (python-after-info-look, python-check-version)
7381 (python-check-comint-prompt, python-find-imports)
7382 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
7383 (python-unload-function, python-expand-template)
7384 (python-maybe-jython, python-preoutput-filter)
7385 (python-pdbtrack-get-source-buffer)
7386 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
7387 (python-pdbtrack-toggle-stack-tracking)
7388 (python-pdbtrack-track-stack-file, python-initial-text)
7389 (python-first-word, python-comment-line-p, python-send-command)
7390 (python-setup-brm, python-sentinel, python-set-proc)
7391 (python-skip-out, python-input-filter, python-outdent-p)
7392 (python-outline-level, python-backslash-continuation-line-p)
7393 (python-end-of-block, python-end-of-statement, python-mark-block)
7394 (python-beginning-of-block, python-beginning-of-statement)
7395 (python-blank-line-p, python-beginning-of-string)
7396 (python-open-block-statement-p): Delete functions.
7397 (python-indent-line, python-indent-line-1): Delete functions.
7398 (python-indent-line): New function.
7399 (python-indentation-levels): Delete function.
7400 (python-indent-calculate-levels): New function.
7401 (python-proc): Delete function.
7402 (python-shell-get-process): New function.
7403 (python-send-receive): Delete function.
7404 (python-shell-send-string-no-output): New function.
7405 (python-module-path): Delete function.
7406 (python-ffap-module-path): New function.
7407 (python-completion-at-point)
7408 (python-symbol-completions): Delete functions.
7409 (python-completion-complete-at-point): New function.
7410 (python-load-file): Delete function.
7411 (python-shell-send-file): New function.
7412 (python-calculate-indentation): Delete function.
7413 (python-indent-calculate-indentation): New function.
7414 (python-skip-comments/blanks): Delete function.
7415 (python-util-forward-comment): New function.
7416 (python-continuation-line-p): Delete function.
7417 (python-info-continuation-line-p): New function.
7418 (python-which-func, python-current-defun): Delete function.
7419 (python-info-current-defun): New function.
7420 (python-beginning-of-defun): Delete function.
7421 (python-nav-beginning-of-defun): New function.
7422 (python-close-block-statement-p)
7423 (python-block-end-p): Delete function.
7424 (python-info-closing-block): New function.
7425 (python-comint-output-filter-function)
7426 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
7427 (python-fill-comment, python-fill-decorator, python-fill-paren)
7428 (python-fill-string, python-imenu-make-element-tree)
7429 (python-imenu-make-tree, python-imenu-tree-assoc)
7430 (python-indent-context, python-indent-dedent-line)
7431 (python-indent-line-function)
7432 (python-indent-post-self-insert-function)
7433 (python-indent-toggle-levels)
7434 (python-info-assignment-continuation-line-p)
7435 (python-info-beginning-of-backlash)
7436 (python-info-block-continuation-line-p)
7437 (python-info-closing-block-message)
7438 (python-info-line-ends-backslash-p)
7439 (python-info-looking-at-beginning-of-defun)
7440 (python-info-ppss-context, python-info-ppss-context-type)
7441 (python-nav-list-defun-positions, python-nav-read-defun)
7442 (python-nav-sentence-end, python-nav-sentence-start)
7443 (python-pdbtrack-comint-output-filter-function)
7444 (python-pdbtrack-set-tracked-buffer)
7445 (python-shell-calculate-exec-path)
7446 (python-shell-calculate-process-environment)
7447 (python-shell-completion--do-completion-at-point)
7448 (python-shell-completion--get-completions)
7449 (python-shell-completion-complete-at-point)
7450 (python-shell-completion-complete-or-indent)
7451 (python-shell-get-or-create-process)
7452 (python-shell-get-process-name)
7453 (python-shell-internal-get-or-create-process)
7454 (python-shell-internal-get-process-name)
7455 (python-shell-internal-send-string, python-shell-make-comint)
7456 (python-shell-parse-command, python-shell-send-setup-code)
7457 (python-skeleton-add-menu-items)
7458 (python-util-clone-local-variables, python-util-position)
7459 (run-python-internal, python-indentation-levels)
7460 (python-nav-beginning-of-defun)
7461 (python-completion-complete-at-point): New functions.
7462 (run-python): Change arguments. New API requirements.
7463
4302f5ba
SM
74642012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7465
f38ea36d
SM
7466 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
7467 (bug#11649).
7468
7469 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
7470 (macroexp--expand-all): Use it.
7471
4302f5ba
SM
7472 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
7473 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
7474 Use `cl-function' instead.
7475
33377562
JB
74762012-06-14 Juanma Barranquero <lekktu@gmail.com>
7477
7478 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
7479 Suggested by Stefan Monnier while discussing bug#11657.
7480
54c5ba1a
SS
74812012-06-14 Sam Steingold <sds@gnu.org>
7482
7483 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
7484
f9f1b1fe
AS
74852012-06-14 Andreas Schwab <schwab@linux-m68k.org>
7486
7487 * play/doctor.el (doctor-doc): Remove parameter and use
7488 doctor-sent instead of sent.
7489 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
7490
a81068ba
SM
74912012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7492
5a315f9c
SM
7493 * files.el: Require cl-lib.
7494 (file-name-non-special): Replace case -> cl-case.
7495
7496 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
7497
a81068ba
SM
7498 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
7499 mapping from #' to function*.
7500
8cca9703
CY
75012012-06-13 Chong Yidong <cyd@gnu.org>
7502
7503 * mouse.el (mouse-drag-track): Do not set the mark if the user
7504 releases the mouse without selecting anything (Bug#11588).
7505
a12ac9d7
SM
75062012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7507
ccf1dc18
SM
7508 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
7509 as well (bug#11646).
7510
ef62b23d
SM
7511 * loadup.el: Count byte-code functions as well.
7512
c4c8444a
SM
7513 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
7514 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
7515
a12ac9d7
SM
7516 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
7517 (bug#11649). Add cl-defun and cl-defmacro.
7518
87e6e64f
DA
75192012-06-13 Drew Adams <drew.adams@oracle.com>
7520
7521 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
7522 Fix last change.
7523
682cefaf
MA
75242012-06-13 Michael Albinus <michael.albinus@gmx.de>
7525
7526 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
7527 Otherwise, it blocks in batch mode.
7528
773e1f08
JB
75292012-06-13 Juanma Barranquero <lekktu@gmail.com>
7530
7531 * help-mode.el (bookmark-make-record-default): Declare.
7532
60057926
CY
75332012-06-13 Chong Yidong <cyd@gnu.org>
7534
7535 * emacs-lisp/package.el (list-packages): Compute a list of
7536 packages that are newly-available since the last list-packages
7537 invocation.
7538 (package-menu--new-package-list): New var.
7539 (package-menu--generate, package-menu--print-info)
7540 (package-menu--status-predicate, package-menu-mark-install):
7541 Handle new status label "new".
7542
ad4d226c
SM
75432012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7544
7545 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
7546 conversion to backquotes.
7547
f1a4e679
CY
75482012-06-12 Chong Yidong <cyd@gnu.org>
7549
7550 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
7551 Rename from gud-inhibit-global-bindings.
7552
7553 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
7554
7555 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
7556 hook from nxml-glyph-set-hook.
7557
7558 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
7559 declaration.
7560
7561 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
7562
7563 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
7564 Convert to defcustom.
7565
0c9e42b5
DA
75662012-06-12 Drew Adams <drew.adams@oracle.com>
7567
7568 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
7569 New functions.
7570 (help-mode): Use them.
7571
09e06855
GM
75722012-06-11 Glenn Morris <rgm@gnu.org>
7573
7574 * progmodes/fortran.el (fortran-font-lock-keywords-3):
7575 Use preprocessor face for directives.
7576 (fortran-directive-re): Doc fix.
7577
71adb94b
SM
75782012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7579
2eb87922
SM
7580 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
7581 conversion to backquotes (bug#11652).
7582
71adb94b
SM
7583 Fix compiler-expansion of CL's cXXr functions (bug#11673).
7584 * emacs-lisp/cl-lib.el (cl--defalias): New function.
7585 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
7586 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
7587 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
7588 (cl-ninth, cl-tenth): Mark them as inlinable.
7589 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
7590 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
7591 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
7592 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
7593 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
7594 (cl-list*, cl-adjoin): Don't put an autoload manually.
7595 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
7596 (cl--compiler-macro-list*): Add autoload cookie.
7597 (cl--compiler-macro-cXXr): New function.
2eb87922 7598
71adb94b
SM
7599 * help-fns.el (help-fns--compiler-macro): New function extracted from
7600 describe-function-1; follow aliases and use `compiler-macro' property.
7601 (describe-function-1): Use it.
7602
a6674402
CY
76032012-06-11 Chong Yidong <cyd@gnu.org>
7604
7605 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
7606 is uninstalled, if imagemagick is installed.
7607
bb3faf5b
SM
76082012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7609
7610 * emacs-lisp/cl-lib.el: Use lexical-binding.
7611 (cl-map-extents, cl-maclisp-member): Remove.
7612 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
7613 (cl--set-substring, cl--block-wrapper, cl--block-throw)
7614 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
7615 * emacs-lisp/cl-extra.el: Use lexical-binding.
7616 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
7617 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
7618 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
7619 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
7620 * emacs-lisp/cl-seq.el: Use lexical-binding.
7621 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
7622 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
7623 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
7624 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
7625 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
7626 CL's internals.
7627
2fe4b125
MA
76282012-06-11 Michael Albinus <michael.albinus@gmx.de>
7629
7630 Sync with Tramp 2.2.6-pre.
7631
7632 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
7633 `print-length' and `print-level' to nil, in order to avoid
7634 truncation. Reported by Christopher Schmidt
7635 <christopher@ristopher.com>.
7636
7637 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
7638
7639 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
7640 New defmacro.
7641 (tramp-compat-copy-directory): Add optional argument
7642 COPY-CONTENTS. It is not handled yet.
7643
7644 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
7645 (tramp-ftp-file-name-p): Simplify.
7646
7647 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
7648 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
7649 connection vector.
7650
7651 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
7652 (tramp-methods): Do not use `tramp-password-end-of-line'.
7653 (tramp-completion-function-alist-putty): Handle UNIX case.
7654 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
7655 (tramp-do-file-attributes-with-stat)
7656 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
7657 gid as real numbers. They could run out of integer range on cygwin.
7658 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
7659 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
7660 (tramp-open-connection-setup-interactive-shell):
7661 Use `tramp-cleanup'. Move check for busyboxes ...
7662 (tramp-find-shell): ... here. Simplify implementation.
7663 Set "remote-shell" property also for alternative shells.
7664 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
7665 If failing, a regular file would be written otherwise.
7666 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
7667 (tramp-find-inline-encoding): Cache the coding commands in the
7668 process cache. Apply test command on the remote side, if defined.
7669 (tramp-find-inline-compress): Cache the compress commands in the
7670 process cache.
7671 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
7672 when requested. Handle hops.
7673 (tramp-current-connection): New defvar.
87e6e64f
DA
7674 (tramp-maybe-open-connection): Use `tramp-cleanup'.
7675 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 7676 Handle user interrupt. (Bug#10187)
87e6e64f
DA
7677 (tramp-get-inline-compress, tramp-get-inline-coding):
7678 Read connection properties from the process cache.
2fe4b125
MA
7679
7680 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
7681 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
7682 New defconsts.
2fe4b125
MA
7683 (tramp-smb-prompt): Extend for powershell prompt.
7684 (tramp-smb-file-name-handler-alist): Add handlers for
7685 `process-file', `shell-command' and `start-file-process'.
7686 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
7687 (tramp-smb-winexe-shell-command-switch): New defcustoms.
7688 (tramp-smb-file-name-p): Simplify.
7689 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
7690 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
7691 (tramp-smb-shell-quote-argument): New defuns.
7692 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
7693 Implement using "tar". By this, time-stamps are preserved.
7694 (tramp-smb-handle-copy-file): Handle also the case of directories.
7695 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
7696 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
7697 Use `tramp-get-connection-buffer').
2fe4b125
MA
7698 (tramp-smb-handle-rename-file): Use "rename", when source and
7699 target are on the same share.
87e6e64f
DA
7700 (tramp-smb-maybe-open-connection): Handle wrong passwords.
7701 Use `tramp-smb-server-version'.
2fe4b125
MA
7702 (tramp-smb-wait-for-output): Remove prompt.
7703
7704 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
7705 (tramp-methods, tramp-rsh-end-of-line):
7706 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
7707 (tramp-save-ad-hoc-proxies): New defcustom.
7708 (tramp-completion-function-alist): Adapt docstring.
7709 (tramp-default-password-end-of-line): Remove defcustom.
7710 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
7711 (tramp-user-regexp, tramp-file-name-regexp-unified)
7712 (tramp-file-name-regexp-url): Extend regexp by hop separator.
7713 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
7714 (tramp-remote-file-name-spec-regexp): New defconst.
7715 (tramp-file-name-structure): Extend structure for hops.
7716 (tramp-get-method-parameter): Move up.
7717 (tramp-file-name-p, tramp-dissect-file-name)
7718 (with-parsed-tramp-file-name): Handle hops.
7719 (tramp-file-name-hop): New defun.
7720 (tramp-make-tramp-file-name): New optional arg HOP.
7721 (tramp-message-show-progress-reporter-message): New defvar.
7722 (tramp-with-progress-reporter): Use it. We cannot use
7723 `tramp-message-show-message' here, because this suppresses also
7724 error buffers.
7725 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
7726 `tramp-message-show-message' is nil.
7727 Use `tramp-get-connection-buffer'.
2fe4b125
MA
7728 (tramp-cleanup): New defun.
7729 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
7730 (tramp-file-name-handler): If `debug-on-error' is set, propagate
7731 an error unchanged.
7732 (tramp-completion-handle-file-name-all-completions): Handle hops.
7733 Fix an error when called from ido.
7734 (tramp-completion-dissect-file-name): Use better local variable
7735 name. Add hop to the vector.
7736 (tramp-handle-insert-file-contents): Use progress-reporter for the
7737 whole scenario.
7738 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
7739 to `t'.
7740 (tramp-check-for-regexp): Simplify search.
7741 (tramp-enter-password): Remove it. Move implementation ...
7742 (tramp-action-password): ... here.
7743 (tramp-mode-string-to-int, tramp-local-host-p)
7744 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
7745 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
7746 Set tramp-autoload cookie.
2fe4b125
MA
7747
7748 * net/trampver.el: Update release number.
7749
77502012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7751 Michael Albinus <michael.albinus@gmx.de>
7752
7753 * net/tramp.el (tramp-set-completion-function): Fix docstring.
7754 (tramp-parse-group, tramp-parse-file)
7755 (tramp-parse-shostkeys-sknownhosts): New defuns.
7756 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
7757 (tramp-parse-shosts-group, tramp-parse-sconfig)
7758 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
7759 (tramp-parse-sknownhosts, tramp-parse-hosts)
7760 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
7761 Use them.
7762 (tramp-parse-passwd-group, tramp-parse-netrc-group)
7763 (tramp-parse-putty-group): Don't narrow.
7764 (tramp-parse-putty): Make a loop.
7765 (tramp-file-name-handler): Catch the `suppress' signal.
7766
72834e10
CY
77672012-06-11 Chong Yidong <cyd@gnu.org>
7768
7769 * image.el (imagemagick-register-types): Put the ImageMagick entry
7770 at the end of image-type-file-name-regexps.
7771
a4712e11
JB
77722012-06-11 Johan Bockgård <bojohan@gnu.org>
7773
7774 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
7775 (pcase, pcase-let*, pcase-dolist): Use them.
7776
82ad98e3
SM
77772012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7778
7779 * emacs-lisp/pcase.el (pcase--let*): New function.
7780 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
7781 (pcase--expand): Use macroexp-let².
7782
f80efb86
SM
77832012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
7784
7785 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
7786 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
7787 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
7788 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
7789 * emacs-lisp/derived.el: Use pcase instead of `cl'.
7790 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
7791
31ca4639 77922012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 7793
31ca4639
CY
7794 * mail/rmail.el (rmail-yank-current-message): Leave point at
7795 correct position. (Bug#11660)
94f0aa34 7796
31ca4639 77972012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 7798
31ca4639 7799 * allout-widgets.el: Fix code header.
9e1b8ec4 7800
31ca4639 78012012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 7802
f80efb86
SM
7803 * cus-edit.el (customize-changed-options-previous-release):
7804 Bump to 24.1.
31ca4639 7805
642b6d30
AS
78062012-06-09 Andreas Schwab <schwab@linux-m68k.org>
7807
7808 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
7809
4f5d2ba1
CY
78102012-06-09 Chong Yidong <cyd@gnu.org>
7811
7812 * ebuff-menu.el (electric-buffer-list): Preserve header line.
7813
e75852fd
MR
78142012-06-09 Martin Rudalics <rudalics@gmx.at>
7815
7816 * window.el (special-display-popup-frame): Don't use
7817 window--display-buffer (Bug#11651).
7818
1e48e282
EZ
78192012-06-09 Eli Zaretskii <eliz@gnu.org>
7820
8a26b487
EZ
7821 Fix parallel builds: make sure loaddefs.el is not being written
7822 while Lisp files are compiled.
7823 (compile): Don't depend on 'mh-autoloads'.
7824 (compile-CMD, compile-SH): Depend on 'autoloads'.
7825 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
7826
1e48e282
EZ
7827 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
7828
6175e34b
CY
78292012-06-09 Chong Yidong <cyd@gnu.org>
7830
7831 * face-remap.el (face-remap-add-relative, face-remap-set-base)
7832 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
7833 Doc fixes (Bug#11225).
7834
d9857e53
SM
78352012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
7836
7837 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
7838 a function if there's a clear indication that it has a compiler-macro.
7839 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
7840 (macro-declarations-alist): Add arglist to declaration functions.
7841 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
7842 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
7843 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
7844 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
7845 Also add autoload to find the compiler macro.
7846 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
7847 (cl--compiler-macro-member, cl--compiler-macro-assoc)
7848 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
7849 (cl--compiler-macro-get): New functions, replacing calls to
7850 cl-define-compiler-macro.
7851 (cl-typep) [compiler-macro]: Use macroexp-let².
7852
f81298f8 78532012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
7854
7855 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
7856 string properly, fixes Bug#11473.
7857
4b56d0fe
CY
78582012-06-08 Chong Yidong <cyd@gnu.org>
7859
7860 * faces.el (set-face-attribute): Doc fix.
7861 (modify-face): Don't use :bold and :italic.
7862 (error, warning, success): Tweak definitions.
7863
7864 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
7865 (custom-modified, custom-set, custom-changed, custom-themed)
7866 (custom-saved, custom-button, custom-button-mouse)
7867 (custom-button-pressed, custom-state, custom-comment-tag)
7868 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
7869 (custom-group-subtitle): Use new-style face specs.
7870 (custom-invalid-face, custom-rogue-face, custom-modified-face)
7871 (custom-set-face, custom-changed-face, custom-saved-face)
7872 (custom-button-face, custom-button-pressed-face)
7873 (custom-documentation-face, custom-state-face)
7874 (custom-comment-face, custom-comment-tag-face)
7875 (custom-variable-tag-face, custom-variable-button-face)
7876 (custom-face-tag-face, custom-group-tag-face-1)
7877 (custom-group-tag-face): Remove obsolete face alias.
7878
7879 * epa.el (epa-validity-high, epa-validity-medium)
7880 (epa-validity-low, epa-mark, epa-field-name, epa-string)
7881 (epa-field-name, epa-field-body):
7882 * font-lock.el (font-lock-comment-face, font-lock-string-face)
7883 (font-lock-keyword-face, font-lock-builtin-face)
7884 (font-lock-function-name-face, font-lock-variable-name-face)
7885 (font-lock-type-face, font-lock-constant-face):
7886 * ido.el (ido-first-match, ido-only-match, ido-subdir)
7887 (ido-virtual, ido-indicator, ido-incomplete-regexp):
7888 * speedbar.el (speedbar-button-face, speedbar-file-face)
7889 (speedbar-directory-face, speedbar-tag-face)
7890 (speedbar-selected-face, speedbar-highlight-face)
7891 (speedbar-separator-face):
7892 * whitespace.el (whitespace-newline, whitespace-space)
7893 (whitespace-hspace, whitespace-tab, whitespace-trailing)
7894 (whitespace-line, whitespace-space-before-tab)
7895 (whitespace-space-after-tab, whitespace-indentation)
7896 (whitespace-empty):
7897 * emulation/cua-base.el (cua-global-mark):
7898 * eshell/em-prompt.el (eshell-prompt):
7899 * net/newst-plainview.el (newsticker-new-item-face)
7900 (newsticker-old-item-face, newsticker-immortal-item-face)
7901 (newsticker-obsolete-item-face, newsticker-date-face)
7902 (newsticker-statistics-face, newsticker-default-face):
7903 * net/newst-reader.el (newsticker-feed-face)
7904 (newsticker-extra-face, newsticker-enclosure-face):
7905 * net/newst-treeview.el (newsticker-treeview-face)
7906 (newsticker-treeview-new-face, newsticker-treeview-old-face)
7907 (newsticker-treeview-immortal-face)
7908 (newsticker-treeview-obsolete-face)
7909 (newsticker-treeview-selection-face):
7910 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
7911 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
7912 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
7913 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
7914 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
7915 (nxml-outline-active-indicator, nxml-outline-ellipsis):
7916 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
7917 (mpuz-text):
7918 * progmodes/vera-mode.el (vera-font-lock-number)
7919 (vera-font-lock-function, vera-font-lock-interface):
7920 * textmodes/table.el (table-cell): Use new-style face specs, and
7921 don't use the old :bold and :italic attributes.
7922
7923 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
7924 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
7925 (ebrowse-member-class, ebrowse-progress): Likewise.
7926 (ebrowse-tree-mark-face, ebrowse-root-class-face)
7927 (ebrowse-file-name-face, ebrowse-default-face)
7928 (ebrowse-member-attribute-face, ebrowse-member-class-face)
7929 (ebrowse-progress-face): Remove obsolete faces.
7930
7931 * progmodes/flymake.el (flymake-errline, flymake-warnline):
7932 Inherit from error and warning faces respectively.
7933
7934 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
7935 Likewise.
f80efb86
SM
7936 (flyspell-incorrect-face, flyspell-duplicate-face):
7937 Remove obsolete aliases.
4b56d0fe 7938
03310646
MA
79392012-06-08 Michael Albinus <michael.albinus@gmx.de>
7940
7941 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
7942 Avoid infloop.
7943
513749ee
SM
79442012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
7945
7946 * startup.el (argv, argi): Make lexically scoped.
7947 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
7948 * emacs-lisp/cl-macs.el: Use lexical-binding.
7949 Rename cl-bind-* to cl--bind-*.
7950 * files.el: Don't require `cl' since it doesn't use it.
7951 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
7952
595ef4ad
JB
79532012-06-08 Juanma Barranquero <lekktu@gmail.com>
7954
7955 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
7956 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
7957 instead of calling external sort utility.
7958 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
7959
e9f66fcb
EZ
79602012-06-08 Eli Zaretskii <eliz@gnu.org>
7961
7962 * descr-text.el (describe-char): Mention how to insert the
7963 character, if the current input method doesn't support it.
7964 See the discussion in this thread for the details:
7965 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
7966
3d10db47
SS
79672012-06-08 Sam Steingold <sds@gnu.org>
7968
7969 * bindings.el (global-map): Bind XF86Forward to next-buffer and
7970 XF86Back to previous-buffer.
7971 (minibuffer-local-map): Bind them to next-history-element and
7972 previous-history-element respectively.
7973 * help-mode.el (help-mode-map): Bind them to help-go-forward and
7974 help-go-back respectively.
7975 * info.el (Info-mode-map): Bind them to Info-history-forward and
7976 Info-history-back respectively.
7977 These are the keys next to Up on the ThinkPad keyboard.
7978
de7e2b36
SM
79792012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
7980
7981 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
7982 * emacs-lisp/cl-macs.el: Provide itself.
7983 (cl--labels-convert-cache): New var.
7984 (cl--labels-convert): New function.
7985 (cl-flet, cl-labels): New implementation with new semantics, relying on
7986 lexical-binding.
7987 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
7988 (cl-closure-vars, cl--function-convert-cache)
7989 (cl--function-convert): Move from cl-macs.el.
7990 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
7991 rename by removing the "cl-" prefix.
7992 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
7993
6fa6c4ae
SM
79942012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7995
7996 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
7997 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
7998 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
7999 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
8000 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
8001 (cl-hash-table-count): Add old compatibility aliases.
8002
8003 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
8004 Use macroexpand-all-environment instead.
8005 (cl--old-macroexpand): New var.
8006 (cl--sm-macroexpand): New function.
8007 (cl-symbol-macrolet): Use it during macro expansion.
8008 (cl--function-convert-cache): New var.
8009 (cl--function-convert): New function, extracted from
8010 cl-macroexpand-all.
8011 (cl-lexical-let): Use it.
8012
8013 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
8014 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
8015 (cl-member): Remove old alias.
8016
8017 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
8018 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
8019 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
8020 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
8021 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
8022 (cl-macroexpand-cmacs): Remove var.
8023 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
8024 Use macroexpand-all instead.
8025
4dd1c416
SM
80262012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8027
8028 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
8029 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
8030 (macroexp-copyable-p): New functions and macros.
8031 * emacs-lisp/edebug.el (edebug-unwrap):
8032 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
8033 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
8034 (pcase--let*): Remove.
8035 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
8036 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
8037 macroexp-const-p instead.
8038 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
8039
8040 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
8041 instead of "cl-" for internal definitions. Use macroexp-const-p.
8042 (cl-old-bc-file-form): Remove var.
8043 (cl-const-exprs-p): Remove fun.
8044 (cl-labels, cl-macrolet): Use backquote.
8045 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
8046 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
8047 (cl-define-setf-expander): Rename from cl-define-setf-method.
8048 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
8049
8050 * international/mule-cmds.el: Don't require CL.
8051 (view-hello-file): Don't use `letf'.
8052
ed8bd4d7
SM
80532012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8054
7287f2f3
SM
8055 * tmm.el (tmm-prompt): Use string-prefix-p.
8056 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
8057 (tmm-add-prompt): Use minibuffer-completion-help.
8058 (tmm-delete-map): Remove.
8059
ed8bd4d7
SM
8060 * subr.el (kbd): Make it its own function.
8061
7b4cdbf4
SM
80622012-06-07 Stefan Merten <smerten@oekonux.de>
8063
8064 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
8065 Silence compiler warnings. Fix versions.
ed8bd4d7 8066 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 8067 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 8068 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
8069 (rst-package-emacs-version-alist): Correct Emacs version to
8070 represent major merge with upstream.
ed8bd4d7 8071 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 8072
2b48d721
GM
80732012-06-06 Glenn Morris <rgm@gnu.org>
8074
8075 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
8076 Only print environment variables if set.
8077
fa779ab0
SM
80782012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
8079
8080 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
8081 (macroexp--cons): Rename from maybe-cons.
8082 (macroexp--accumulate): Rename from macroexp-accumulate.
8083 (macroexp--all-forms): Rename from macroexpand-all-forms.
8084 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
8085 (macroexp--expand-all): Rename from macroexpand-all-1.
8086
628299e0
SS
80872012-06-06 Sam Steingold <sds@gnu.org>
8088
8089 * calendar/calendar.el (calendar-in-read-only-buffer):
8090 Call `special-mode' to enable the standard read-only keybindings.
8091
b7bb5838
SM
80922012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
8093
8094 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
8095 with "loading" messages (bug#11635).
8096
dfb308ba
MA
80972012-06-06 Michael Albinus <michael.albinus@gmx.de>
8098
8099 * files.el (enable-remote-dir-locals): New option.
8100 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
8101
0372ee92
MA
8102 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
8103 Ensure, that the temp directory is local.
8104
8105 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
8106 `temporary-file-directory'.
8107
eed0bb91
MA
8108 * progmodes/python.el (python-send-region): Ensure, that the
8109 temporary file is created also in the remote case.
8110
7a58f64d
GM
81112012-06-06 Glenn Morris <rgm@gnu.org>
8112
f7dd4e98
GM
8113 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
8114 (vc-rcs-update-changelog): Use it.
8115
090bd7cb 8116 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 8117
7a58f64d
GM
8118 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
8119 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
8120 (vc-sccs-diff): Replace use of the external vcdiff script.
8121
daed4003
GM
81222012-06-05 Glenn Morris <rgm@gnu.org>
8123
8124 * ledit.el: Move to obsolete/.
8125
48c455c7
SS
81262012-06-05 Sam Steingold <sds@gnu.org>
8127
ed9265fc 8128 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
8129 patch (Bug#11140).
8130
57a7d507
SM
81312012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8132
090bd7cb 8133 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 8134
53aacf21
SM
8135 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
8136 compiler-macro expansion.
8137
57a7d507
SM
8138 Add native compiler-macro support.
8139 * emacs-lisp/macroexp.el (macroexpand-all-1):
8140 Support compiler-macros directly. Properly follow aliases and apply
8141 the compiler macros more thoroughly.
8142 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
8143 macroexpand now properly follows aliases.
8144 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
8145 (cl-compiler-macroexpand): Use new prop.
8146 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
8147
8148 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
8149
51a5f9d8
MR
81502012-06-05 Martin Rudalics <rudalics@gmx.at>
8151
8152 * window.el (get-lru-window, get-mru-window, get-largest-window):
8153 New argument NOT-SELECTED to avoid picking the selected window.
8154 (window--display-buffer-1, window--display-buffer-2): Replace by
8155 new function window--display-buffer
8156 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
8157 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
8158 Use window--display-buffer.
51a5f9d8
MR
8159 (display-buffer-use-some-window): Remove temporary dedication
8160 hack by calling get-lru-window and get-largest-window with
8161 NOT-SELECTED argument non-nil. Call window--display-buffer.
8162
08f9f738
GM
81632012-06-05 Glenn Morris <rgm@gnu.org>
8164
8165 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
8166 Replace external vcdiff script.
8167
e364a2b7
SM
81682012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
8169
8170 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
8171
041df390
CY
81722012-06-04 Chong Yidong <cyd@gnu.org>
8173
e364a2b7
SM
8174 * image.el (imagemagick-types-inhibit): Revert last change.
8175 Add INFO and M.
47b36b94 8176 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 8177
7c1898a7
SM
81782012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
8179
8180 * emacs-lisp/cl-lib.el: Rename from cl.el.
8181 * emacs-lisp/cl.el: New compatibility file.
8182 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
8183 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
8184 to obey the "cl-" prefix.
8185 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
8186
0c3461de
GM
81872012-06-03 Glenn Morris <rgm@gnu.org>
8188
1e266c88
GM
8189 * emacs-lisp/authors.el (authors-aliases): Addition.
8190
0c3461de
GM
8191 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
8192 Fix :version.
8193
d8a52e15
SM
81942012-06-03 Stefan Merten <smerten@oekonux.de>
8195
8196 * textmodes/rst.el: Add comments.
8197 (rst-transition, rst-adornment): New faces.
8198 (rst-adornment-faces-alist): Make default safe to reevaluate.
8199 Fixes
8200 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
8201 Improve customization tags.
8202 (rst-define-level-faces): Clarify meaning.
8203
5205d6f6
CY
82042012-06-03 Chong Yidong <cyd@gnu.org>
8205
8206 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
8207 (compilation-mode-line-run, compilation-mode-line-exit):
8208 New faces.
5205d6f6
CY
8209 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
8210
757ee657
JD
82112012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
8212
7c1898a7
SM
8213 * progmodes/which-func.el (which-func-update-ediff-windows):
8214 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 8215
5f2c76c6
CY
82162012-06-03 Chong Yidong <cyd@gnu.org>
8217
8218 * bindings.el: Remove explicit help text from format-mode-line.
8219 It is now supplied by mode-line-default-help-echo.
8220 (mode-line-front-space, mode-line-end-spaces)
8221 (mode-line-misc-info): New variables.
8222 (mode-line-modes, mode-line-position): Move the default value to
8223 the variable definition.
8224 (mode-line-default-help-echo): New defcustom.
383f7350
CY
8225 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
8226 (mode-line-modified-help-echo): New functions.
8227 (mode-line-mule-info, mode-line-modified): Use them.
8228 (mode-line-eol-desc, propertized-buffer-identification):
8229 Consistency fixes for help text.
cbe46e5f
CY
8230 (mode-line-coding-system-map): Allow using mouse-3 to invoke
8231 set-buffer-file-coding-system (Bug#289).
8232 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 8233
f2d6a3df
SM
82342012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
8235
8236 * simple.el (execute-extended-command): Set real-this-command
8237 (bug#11506).
8238
37269466
CY
82392012-06-02 Chong Yidong <cyd@gnu.org>
8240
8241 Remove incorrect uses of "modeline" in comments, docstrings, and
8242 function/variable names (Bug#10329).
8243
8244 * cus-edit.el (mode-line):
8245 * dframe.el (dframe-mouse-hscroll):
8246 * emacs-lisp/re-builder.el:
8247 * emacs-lisp/easy-mmode.el (define-minor-mode):
8248 * frame.el (set-frame-name):
8249 * help.el (lookup-minor-mode-from-indicator):
8250 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
8251 * progmodes/cc-cmds.el (c-toggle-auto-newline)
8252 (c-toggle-hungry-state):
8253 * progmodes/antlr-mode.el (antlr-language-alist):
8254 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
8255 * progmodes/vhdl-mode.el (vhdl-mode):
8256 * progmodes/which-func.el (which-func, which-func-cleanup-function):
8257 * term/ns-win.el (ns-face-at-pos):
8258 * term/sup-mouse.el (sup-mouse-report):
8259 * textmodes/flyspell.el (flyspell-mode-line-string):
8260 * textmodes/ispell.el (ispell-highlight-face):
8261 * textmodes/reftex-global.el:
8262 * vc/vc-arch.el (vc-arch-mode-line-string):
8263 * vc/vc-cvs.el (vc-cvs-mode-line-string):
8264 * vc/vc-git.el (vc-git-mode-line-string):
8265 * vc/vc-hooks.el (vc-display-status)
8266 (vc-default-mode-line-string):
8267 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
8268
8269 * ansi-color.el (ansi-color-faces-vector): Change default faces.
8270
8271 * dired.el (dired-sort-set-mode-line): Rename from
8272 dired-sort-set-modeline. All callers changed.
8273
8274 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
8275 eshell-status-in-modeline.
8276
8277 * foldout.el (foldout-mode-line-string): Rename from
8278 foldout-modeline-string. All callers changed.
8279 (foldout-update-mode-line): Rename from foldout-update-modeline.
8280
8281 * subr.el (redraw-modeline): Make into obsolete alias.
8282
8283 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
8284 timeclock-modeline-display. Make old name an alias.
8285 (timeclock-update-mode-line): Likewise. All callers changed.
8286 (timeclock-mode-line-display): No need to check before using
8287 add-hook.
8288 (timeclock-relative, timeclock-day-over-hook)
8289 (timeclock-use-elapsed, timeclock-mode-string)
8290 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
8291
8292 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
8293 crisp-mode-modeline-string.
8294
8295 * play/solitaire.el (solitaire-build-mode-line): Rename from
8296 solitaire-build-modeline. All callers changed.
8297
8298 * play/zone.el (zone-hiding-mode-line): Rename from
8299 zone-hiding-modeline. All callers changed.
8300 (zone): Remove unusued `modeline-hidden-level' property.
8301
8302 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
8303 xscheme-modeline-initialize. All callers changed.
8304
8305 * strokes.el (strokes-lighter): Rename from
8306 strokes-modeline-string.
8307
8308 * textmodes/sgml-mode.el (html-face-tag-alist)
8309 (html-tag-face-alist): Use mode-line face instead of obsolete
8310 alias modeline.
8311
42152ee4
SM
83122012-06-02 Stefan Merten <smerten@oekonux.de>
8313
8314 * textmodes/rst.el: Always require `cl'.
4cf9b38d 8315 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 8316
95f520b5
CY
83172012-06-02 Chong Yidong <cyd@gnu.org>
8318
8319 * image.el (imagemagick-enabled-types): Rename from
8320 imagemagick-types-enable. Add many more types.
8321 (imagemagick-types-inhibit): Change default to nil.
8322 (imagemagick-filter-types): Caller changed.
8323
4a5f187a
SM
83242012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
8325
03fef3e6
SM
8326 * emacs-lisp/cl-macs.el: Use backquotes.
8327 (cl-transform-function-property): Use eval-and-compile rather than
8328 abusing `require'.
8329 (defstruct): Use declare-function instead of with-no-warnings.
8330
4a5f187a
SM
8331 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
8332 (byte-compile-output-docform): Re-add the print-circle bindings.
8333 (byte-compile-fix-header): Use #$ just because it's shorter.
8334 (byte-compile-output-file-form): Remove defun/defmacro.
8335
bd56924f
MR
83362012-06-01 Martin Rudalics <rudalics@gmx.at>
8337
8338 * simple.el (choose-completion): Remove now obsolete binding for
8339 owindow.
8340
046e38ce
MA
83412012-06-01 Michael Albinus <michael.albinus@gmx.de>
8342
8343 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
8344 in order to avoid "Stack overflow in regexp matcher".
8345
32d72c2f
GM
83462012-05-31 Glenn Morris <rgm@gnu.org>
8347
8348 * image.el: For clarity, call imagemagick-register-types at
8349 top-level, rather than relying on a custom :initialize.
8350 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
8351 (imagemagick-filter-types): New function. (Bug#7406)
8352 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
8353 If disabling support, remove elements altogether rather
8354 than using an impossible regexp.
8355 (imagemagick-types-inhibit): Give it the default init function.
8356
dd41169b
SM
83572012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8358
4a5f187a
SM
8359 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
8360 Handle arbitrary file name lengths (Bug#11585).
dd41169b 8361
efc00ab1 83622012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
8363
8364 * desktop.el (desktop-read): Clear previous and next buffers for
8365 all windows and bury *Messages* buffer (bug#11556).
8366
500fcedc
SM
83672012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8368
8369 Add `declare' for `defun'. Align `defmacro's with it.
8370 * emacs-lisp/easy-mmode.el (define-minor-mode)
8371 (define-globalized-minor-mode): Don't autoload the var definitions.
8372 * emacs-lisp/byte-run.el: Use lexical-binding.
8373 (defun-declarations-alist, macro-declarations-alist): New vars.
8374 (defmacro, defun): Use them.
8375 (make-obsolete, define-obsolete-function-alias)
8376 (make-obsolete-variable, define-obsolete-variable-alias):
8377 Use `declare'.
8378 (macro-declaration-function): Mark obsolete.
8379 * emacs-lisp/autoload.el: Use lexical-binding.
8380 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
8381
6e8a1786
AM
83822012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8383
8384 * textmodes/ispell.el (ispell-with-no-warnings):
8385 Define as a macro.
500fcedc
SM
8386 (ispell-kill-ispell, ispell-change-dictionary):
8387 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
8388 `interactive-p'.
8389
61b108cc
SM
83902012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8391
8392 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
8393 (macro-declaration-function): Move var from C code.
8394 (macro-declaration-function): Define function with defalias.
8395 * emacs-lisp/macroexp.el (macroexpand-all-1):
8396 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
8397 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
8398 defun/defmacro any more.
8399 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
8400 Provide fallback for unknown arglist.
8401 (byte-compile-arglist-warn): Change calling convention.
8402 (byte-compile-output-file-form): Move print-vars binding.
8403 (byte-compile-output-docform): Simplify accordingly.
8404 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
8405 (byte-compile-defmacro-declaration): Remove.
8406 (byte-compile-file-form-defmumble): Generalize to defalias.
8407 (byte-compile-output-as-comment): Return byte-positions.
8408 Simplify callers accordingly.
8409 (byte-compile-lambda): Use `assert'.
8410 (byte-compile-defun, byte-compile-defmacro): Remove.
8411 (byte-compile-file-form-defalias):
8412 Use byte-compile-file-form-defmumble.
8413 (byte-compile-defalias-warn): Remove.
8414
6d3f7c2f
SM
84152012-05-29 Stefan Merten <smerten@oekonux.de>
8416
8417 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 8418 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
8419
8420 (rst-mode-abbrev-table): Merge definition.
8421 (rst-mode): Make sure `font-lock-defaults' is buffer local.
8422 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
8423
6dbaa1c7
UJ
84242012-05-29 Ulf Jasper <ulf.jasper@web.de>
8425
8426 * calendar/icalendar.el
8427 (icalendar-export-region): Export UID properly.
8428
d209e2fb 84292012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
8430 * calendar/icalendar.el (icalendar-import-format):
8431 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
8432 (icalendar-import-format-uid): New.
8433 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
8434 Export UID.
8435
6876a58d
SM
84362012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
8437
8438 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
8439 different alternative patterns.
8440 (pcase-codegen): Be more careful to preserve identity.
8441 (pcase--u1): Don't forget to mark vars as used.
8442
8443 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
8444 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
8445 (byte-compile-from-buffer): ...rather than here.
8446
8447 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
8448 functions from byte-compile-function-environment.
8449
46b7967e
TN
84502012-05-29 Troels Nielsen <bn.troels@gmail.com>
8451
8452 * window.el (window-deletable-p): Avoid deleting the root window
8453 of a frame with an active minibuffer.
8454
69d565e2
MR
84552012-05-29 Martin Rudalics <rudalics@gmx.at>
8456
8457 * simple.el (choose-completion): Use quit-window (Bug#11567).
8458
a149fa51
CY
84592012-05-29 Chong Yidong <cyd@gnu.org>
8460
8461 * whitespace.el (whitespace-cleanup): Fix usage of
8462 whitespace-empty-at-bob-regexp (Bug#11492).
8463
2b311310
AH
84642012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
8465
8466 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
8467 revert (Bug#11488).
8468
b9cb2387
JL
84692012-05-29 Juri Linkov <juri@jurta.org>
8470
8471 * isearch.el (isearch-mode-map): Bind `M-s _' to
8472 `isearch-toggle-symbol'. Bind `M-s c' to
8473 `isearch-toggle-case-fold'.
8474 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
8475 (isearch-forward): Add `M-s _' to the docstring.
8476 (isearch-forward-symbol, isearch-toggle-case-fold)
8477 (isearch-symbol-regexp): New functions. (Bug#11381)
8478
d5e61c1c
JL
84792012-05-29 Juri Linkov <juri@jurta.org>
8480
8481 * isearch.el (isearch-word): Add docstring. (Bug#11381)
8482 (isearch-occur, isearch-search-and-update): If `isearch-word' is
8483 a function, call it to get the regexp.
8484 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
8485 property `isearch-message-prefix' instead of the string "word ".
8486 (isearch-search-fun-default): For the case of `isearch-word',
8487 return a lambda that calls re-search-forward/re-search-backward
8488 with a regexp returned by `word-search-regexp' or by the function
8489 in `isearch-word'.
8490
8cbd80f7
JL
84912012-05-29 Juri Linkov <juri@jurta.org>
8492
8493 * isearch.el (isearch-search-fun-default): New function.
8494 (isearch-search-fun): Move default part to the new function
8495 `isearch-search-fun-default'.
8496 (isearch-search-fun-function): Set the default value to
8497 `isearch-search-fun-default'. (Bug#11381)
8498
8499 * comint.el (comint-history-isearch-end):
8500 Use `isearch-search-fun-default'.
8501 (comint-history-isearch-search): Use `isearch-search-fun-default'
8502 and remove spacial case for `isearch-word'.
8503 (comint-history-isearch-wrap): Remove spacial case for
8504 `isearch-word'.
8505
8506 * hexl.el (hexl-isearch-search-function):
8507 Use `isearch-search-fun-default'.
8508
8509 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
8510 Use `word-search-regexp' for `isearch-word'.
8511
8512 * misearch.el (multi-isearch-search-fun):
8513 Use `isearch-search-fun-default'.
8514
8515 * simple.el (minibuffer-history-isearch-search):
8516 Use `isearch-search-fun-default' and remove spacial case for
8517 `isearch-word'.
8518 (minibuffer-history-isearch-wrap): Remove spacial case for
8519 `isearch-word'.
8520
8521 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
8522 Remove spacial case for `isearch-word'.
8523 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
8524
85c8c5b6
AM
85252012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8526
8527 Decrease XEmacs incompatibilities.
8528 * textmodes/flyspell.el (flyspell-check-pre-word-p):
8529 Use `string-match'.
8530 (flyspell-delete-region-overlays): Use alternative definition for
8531 XEmacs.
8532 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
8533 (flyspell-word): Use `process-kill-without-query' if XEmacs.
8534 (flyspell-mode-on): Use `interactive-p' if XEmacs.
8535 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
8536 `define-obsolete-face-alias' under XEmacs, but old method.
8537
8538 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
8539 `with-no-warnings' definition or Emacs alias.
8540 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
8541 (ispell-word): Do not use `region-p' if XEmacs.
8542
8cab9efc
AM
85432012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8544
8545 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
8546 Check for `ispell-dictionary-base-alist' instead of full
8547 `ispell-dictionary-alist'.
8548 (ispell-init-process): Show spellchecker when starting new Ispell
8549 process.
8550
fda91268
RZ
85512012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
8552
8553 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
8554 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
8555
694ea8e3
JB
85562012-05-27 Juanma Barranquero <lekktu@gmail.com>
8557
8558 * version.el (motif-version-string, gtk-version-string)
8559 (ns-version-string): Declare.
8560
e4d4f539
JL
85612012-05-27 Juri Linkov <juri@jurta.org>
8562
8563 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
8564 after the `eval-defun-1' specialcaseing
8565 like in `edebug-eval-defun' (bug#10181).
8566
8567 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
8568 like in `eval-defun-1'.
8569
33017faf 85702012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 8571
fda91268
RZ
8572 * mail/sendmail.el (mail-yank-region):
8573 Recognize rmail-yank-current-message in addition to insert-buffer.
8574 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
8575 a *mail* buffer created through rmail-start-mail with sendmail as
8576 mail-user-agent.
8577
33017faf
GM
85782012-05-27 Chong Yidong <cyd@gnu.org>
8579
8580 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
8581 Default to 256 (Bug#11267).
8582
8583 * help.el (describe-mode): Doc fix.
8584
04188bb9
GM
85852012-05-26 Glenn Morris <rgm@gnu.org>
8586
38264cc9
GM
8587 * w32-fns.el (w32-init-info): Remove.
8588 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
8589
eb7afdad
GM
8590 * info.el (info-initialize): For self-contained NS builds, put the
8591 included info/ directory at the front. (Bug#2791)
8592
04188bb9
GM
8593 * paths.el (Info-default-directory-list): Make it a defcustom,
8594 mainly so that we can use custom-initialize-delay.
8595
a179e3f7
SM
85962012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
8597
43416392
SM
8598 * subr.el (buffer-has-markers-at): Mark obsolete.
8599
a179e3f7 8600 * subr.el (lambda): Use declare.
43416392 8601
a179e3f7
SM
8602 * emacs-lisp/lisp-mode.el (lambda):
8603 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
8604
34a008d9
AH
86052012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
8606
8607 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
8608
0a3b289f
GM
86092012-05-26 Glenn Morris <rgm@gnu.org>
8610
8611 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
8612
758c81e8
GM
86132012-05-25 Glenn Morris <rgm@gnu.org>
8614
f9f334f0
GM
8615 * paths.el: Remove no-byte-compile.
8616 * loadup.el: No need to load paths.el uncompiled.
8617
87eb79c2
GM
8618 * image.el (imagemagick-types-inhibit): Doc fix.
8619
758c81e8
GM
8620 * version.el: Remove no-byte-compile and associated formatting.
8621 * loadup.el: No need to load version.el uncompiled. AFAICS, this
8622 is ancient code from when there was an "inc-vers.el".
8623
e7e85dc0
SM
86242012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8625
8626 * progmodes/gdb-mi.el: Minor style changes.
8627 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
8628 Turn into minor modes.
8629 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
8630 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
8631 (gdb-shell): Remove unneeded let-binding.
8632 (gdb-get-many-fields): Eliminate O(n²) behavior.
8633
f31237a4
EZ
86342012-05-25 Eli Zaretskii <eliz@gnu.org>
8635
8636 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
8637 platforms that don't link in fontset.c.
8638
bc1b21bb
JL
86392012-05-25 Juri Linkov <juri@jurta.org>
8640
8641 Use the same diff color scheme as in modern VCSes (bug#10181).
8642
8643 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
8644 to avoid confusion with `diff-added' that now uses green colors.
8645 (diff-removed): Use shades of red.
8646 (diff-added): Use shades of green.
8647 (diff-changed): Leave just the yellow color.
8648 (diff-use-changed-face): New variable.
8649 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
8650 how to highlight context diff changes.
8651 (diff-refine-change): Use shades of yellow.
8652 (diff-refine-removed): New face that uses shades of red.
8653 (diff-refine-added): New face that uses shades of green.
8654 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
8655 `diff-refine-removed' in the call to `smerge-refine-subst'
8656 depending on the value of `diff-use-changed-face'.
8657
8658 * vc/smerge-mode.el (smerge-mine): Use shades of red.
8659 (smerge-other): Use shades of green.
8660 (smerge-base): Use shades of yellow.
8661 (smerge-refined-change): Empty face.
8662 (smerge-refined-removed): New face that uses shades of red.
8663 (smerge-refined-added): New face that uses shades of green.
8664 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
8665 args `props-r' and `props-a', and use them. Doc fix.
8666 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
8667 on its value use different faces `smerge-refined-change',
8668 `smerge-refined-removed', `smerge-refined-added' in the call to
8669 `smerge-refine-subst'.
8670
8671 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
8672 Add face condition `min-colors 88' with shades of red.
8673 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
8674 `min-colors 88' with shades of green.
8675 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
8676 `min-colors 88' with shades of yellow.
8677
6df9112c
GM
86782012-05-24 Glenn Morris <rgm@gnu.org>
8679
ead5edc0
GM
8680 * paths.el (prune-directory-list, remote-shell-program): Move to...
8681 * files.el (prune-directory-list, remote-shell-program): ...here.
8682 For the latter, delay initialization, prefer ssh, just search PATH.
8683
f18b81e6
GM
8684 * paths.el (term-file-prefix): Move to faces.el (the only user).
8685 * faces.el (term-file-prefix): Move here, make it a defcustom.
8686
ee2f89a6
GM
8687 * paths.el (news-directory, news-path, news-inews-program):
8688 Move to gnus/nnspool.el.
61a583ca 8689
f8815e4c
GM
8690 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
8691
c8f3b42c
GM
8692 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
8693 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
8694 Make the latter a defcustom, with a delayed initialization.
8695
6df9112c
GM
8696 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
8697 These were deleted from Gnus itself late 2010.
8698
5dadff36
JB
86992012-05-22 Juanma Barranquero <lekktu@gmail.com>
8700
9e1701c6
JB
8701 * progmodes/which-func.el (which-func-ff-hook):
8702 Check against user-error, not error.
8703
bd7239f5 8704 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
8705 cl-specs.el, which no longer exists.
8706
3290526d
GM
87072012-05-22 Glenn Morris <rgm@gnu.org>
8708
8709 * info.el (info-emacs-bug): New command.
8710 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
8711 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
8712
ff0c3cfb
GM
87132012-05-21 Glenn Morris <rgm@gnu.org>
8714
8715 * makefile.w32-in (update-subdirs-SH):
8716 * Makefile.in (update-subdirs): Update for moved update-subdirs.
8717
5814f126
SM
87182012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
8719
a52c0aa0
SM
8720 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
8721
5814f126
SM
8722 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8723 Simplify Maven regexp, and make sure the file can't start with a space
8724 (bug#11517).
8725
b847032c
GM
87262012-05-21 Glenn Morris <rgm@gnu.org>
8727
8728 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
8729 Scrap superfluous subshells.
8730
3858bfe7
SM
87312012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
8732
8733 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
8734 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
8735
d14b0029
JB
87362012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
8737
8738 * calc/calc.el (calc-ensure-consistent-units): New variable.
8739
a52c0aa0
SM
8740 * calc/calc-units.el (math-consistent-units-p)
8741 (math-check-unit-consistency): New functions.
8742 (calc-quick-units, calc-convert-units):
8743 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
8744 is non-nil.
d14b0029
JB
8745 (calc-extract-units): Fix typo.
8746
60c4db3a
SM
87472012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
8748
77f3b62e
SM
8749 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
8750
60c4db3a
SM
8751 * textmodes/flyspell.el: Commenting style, plus code simplifications.
8752 (flyspell-default-deplacement-commands): Don't spell check after
8753 repeated window/frame switches (e.g. triggered by mouse-movement).
8754 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
8755 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
8756 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
8757 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
8758 Remove unused vars.
8759 (flyspell-get-casechars, flyspell-get-not-casechars):
8760 Simplify; Don't bother removing a ] just to add it back.
8761 * textmodes/ispell.el (ispell-program-name): Use executable-find.
8762
d209e2fb 87632012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
8764
8765 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
8766 New functions.
bd7239f5 8767 (math-function-table): Add support for more C functions.
b1a10716 8768
3f1b25b5
AM
87692012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8770
090bd7cb
JB
8771 * textmodes/flyspell.el (flyspell-check-pre-word-p)
8772 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
8773 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 8774
b581bb5c
SM
87752012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
8776
8777 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
8778 their respective macro declarations.
8779 * skeleton.el (define-skeleton):
8780 * progmodes/compile.el (define-compilation-mode):
8781 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
8782 (define-ibuffer-filter):
8783 * emacs-lisp/generic.el (define-generic-mode):
8784 * emacs-lisp/easy-mmode.el (define-minor-mode)
8785 (define-globalized-minor-mode):
8786 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
8787 * emacs-lisp/byte-run.el (defsubst):
8788 * custom.el (deftheme): Add doc-string metadata.
8789
70b8ef8f
SM
87902012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8791
8792 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
8793
b1198e17
SM
87942012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8795
9abdc45d
SM
8796 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
8797
b1198e17
SM
8798 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
8799 * emacs-lisp/cl-macs.el: Idem.
8800 * emacs-lisp/cl-specs.el: Remove.
8801
4735906a
SM
88022012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8803
8804 Minor renaming of internal CL functions and variables.
8805 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
8806 (cl--position): Rename from cl-position.
8807 (cl--delete-duplicates): Rename from cl-delete-duplicates.
8808 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
8809 (cl--random-state): Rename from *random-state*.
8810
ac348012
SM
88112012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8812
8813 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
8814 parens around the arg list (bug#11499).
8815
a0a79cde
JL
88162012-05-17 Juri Linkov <juri@jurta.org>
8817
8818 * isearch.el (word-search-regexp, word-search-backward)
8819 (word-search-forward, word-search-backward-lax)
8820 (word-search-forward-lax): Move functions from search.c
8821 (bug#10145, bug#11381).
8822
65034a51
AM
88232012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8824
090bd7cb
JB
8825 * textmodes/flyspell.el (flyspell-check-pre-word-p)
8826 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
8827 Delay for otherchars as for normal word components.
65034a51 8828
1a72a195
SM
88292012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
8830
8831 * minibuffer.el (completion--sifn-requote): Fix last change.
8832 (minibuffer-local-must-match-filename-map):
8833 Move define-obsolete-variable-alias before its var.
8834
fdb058c2
SM
88352012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8836
c41045e6
SM
8837 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
8838
036dfb8b
SM
8839 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
8840 behavior.
8841 (completion--string-equal-p): New function.
8842 (completion--twq-all): Use it to get better assertion failure data.
8843
2473256d
SM
8844 Only handle ".." and '..' quoting in shell-mode (bug#11466).
8845 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
8846 (shell--requote-argument): New functions.
8847 (shell-completion-vars): Use them.
8848 (shell--parse-pcomplete-arguments): Rename from
8849 shell-parse-pcomplete-arguments.
8850 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
8851 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
8852 Obey comint-file-name-quote-list.
8853
fdb058c2
SM
8854 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
8855 (smie-indent-keyword): Use it.
8856
51fa99f1
SM
88572012-05-14 Stefan Merten <smerten@oekonux.de>
8858
8859 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
8860
e18afed7 88612012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
8862
8863 * net/rlogin.el (rlogin-mode-map): Fix last change.
8864
e18afed7 88652012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
8866
8867 * mail/smtpmail.el (smtpmail-send-command): Send the command and
8868 the following \r\n using a single `process-send-string', since the
8869 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 8870 with two `process-send-string's (Bug#11444).
8633b1f4 8871
e18afed7 88722012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 8873
fdb058c2
SM
8874 * shell.el (shell-parse-pcomplete-arguments):
8875 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 8876
2d21d7f6
WJ
88772012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
8878
e18afed7 8879 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
8880 (image-transform-scale, image-transform-right-angle-fudge): New vars.
8881 (image-transform-width, image-transform-fit-width): New functions.
8882 (image-transform-properties): Use them.
8883 (image-transform-check-size): New function.
8884 (image-toggle-display-image): Use it (for testing).
8885 (image-transform-set-rotation): Reduce angle mod 360.
8886 Delete obsolete comment.
8887
7102e6d0
WJ
88882012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
8889
8890 * image-mode.el: Fix scaling (bug#11399).
8891 (image-transform-resize): Doc fix.
8892 (image-transform-properties): Default scale is 1 and height should
8893 be an integer.
8894
06bc5e6e
SM
88952012-05-13 Johan Bockgård <bojohan@gnu.org>
8896
8897 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
8898 than hard-coding `car', to fix misbehavior when moving forward.
8899
0ae03b6a
CY
89002012-05-13 Chong Yidong <cyd@gnu.org>
8901
8902 * emacs-lisp/tabulated-list.el (tabulated-list-format)
8903 (tabulated-list-entries, tabulated-list-padding)
8904 (tabulated-list-sort-key): Make permanent-local.
8905
8906 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
8907 (electric-buffer-list): Put electric buffer menu
8908 command descriptions in this docstring, instead of the docstring
8909 of electric-buffer-menu-mode. Code cleanups.
8910 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
8911 Electric-buffer-menu-mode.
8912 (electric-buffer-update-highlight): Minor code cleanup.
8913
205a7391
MA
89142012-05-13 Michael Albinus <michael.albinus@gmx.de>
8915
8916 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
8917 (Bug#11447)
8918
e5bd0a28
SM
89192012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
8920
8921 Move define-obsolete-variable-alias before the var's definition.
8922 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
8923 * tooltip.el (tooltip-hook):
8924 * textmodes/reftex-toc.el (reftex-toc-map):
8925 * textmodes/reftex-sel.el (reftex-select-label-map)
8926 (reftex-select-bib-map):
8927 * textmodes/reftex-index.el (reftex-index-map)
8928 (reftex-index-phrases-map):
8929 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
8930 * progmodes/meta-mode.el (meta-mode-map):
8931 * novice.el (disabled-command-hook):
8932 * loadhist.el (unload-hook-features-list):
8933 * frame.el (blink-cursor):
8934 * files.el (find-file-not-found-hooks, write-file-hooks)
8935 (write-contents-hooks):
8936 * emulation/tpu-edt.el (GOLD-map):
8937 * emacs-lock.el (emacs-lock-from-exiting):
8938 * emacs-lisp/generic.el (generic-font-lock-defaults):
8939 * emacs-lisp/chart.el (chart-map):
8940 * dos-fns.el (register-name-alist):
8941 * dired-x.el (dired-omit-files-p):
8942 * desktop.el (desktop-enable):
8943 * cus-edit.el (custom-mode-hook):
8944 * buff-menu.el (buffer-menu-mode-hook):
8945 * bookmark.el (bookmark-read-annotation-text-func)
8946 (bookmark-exit-hooks):
8947 * allout.el (allout-mode-deactivate-hook)
8948 (allout-exposure-change-hook, allout-structure-added-hook)
8949 (allout-structure-deleted-hook, allout-structure-shifted-hook):
8950 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
8951 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
8952 comes before the corresponding variable's definition.
8953
ac59c2f6
CY
89542012-05-12 Chong Yidong <cyd@gnu.org>
8955
8956 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
8957 (Buffer-menu-mouse-select): Restore function (Bug#11459).
8958 (Buffer-menu-mode-map): Bind it.
8959 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 8960
dee6c9a3
SM
89612012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
8962
2171cea5
SM
8963 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
8964 (prolog-upper-case-string, prolog-lower-case-string)
8965 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
8966 (prolog-use-smie, prolog-smie-grammar): New vars.
8967 (prolog-smie-forward-token, prolog-smie-backward-token)
8968 (prolog-smie-rules): New funs.
8969 (prolog-comment-indent): Remove.
8970 (prolog-mode-variables): Use default comment indentation instead.
8971 Setup SMIE.
8972 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
8973 (prolog-mode): Don't call them any more.
8974 (prolog-electric-colon, prolog-electric-dash)
8975 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
8976
aa0382bd
SM
8977 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
8978
dbacb4bd
SM
8979 * minibuffer.el (completion--twq-all): Again, allow case differences.
8980
13bdd94c
SM
8981 * term.el: Move keymap initialization code to be more idiomatic.
8982 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
8983 (term-terminal-menu): Move initialization into declaration.
8984 (term-escape-char): Let the user set it in her .emacs.
8985
ff46c759
SM
8986 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
8987 Provide SMIE-based indentation (not enabled by default yet).
8988 (sh-mode-map): Don't bind electric keys.
8989 Use electric-pair-mode instead of skeleton-pair.
8990 (sh-assignment-regexp): Fit within 80 columns.
8991 (sh-indent-supported): Specify actual shell name instead of boolean.
8992 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
8993 (sh-maybe-here-document): Use it. Make obsolete.
8994 (sh-electric-here-document-mode) New minor mode.
8995 (sh-mode): Use it. Don't set sh-indent-supported-here here.
8996 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
8997 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
8998 (sh-smie-rc-grammar, sh-use-smie): New vars.
8999 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
9000 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
9001 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
9002 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
9003 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
9004 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
9005 (sh-set-shell): Use smie-setup if requested.
9006
dee6c9a3
SM
9007 * term.el (term-set-escape-char): Properly set term-escape-char.
9008 See http://stackoverflow.com/questions/10524656.
9009
9f9aa044
CY
90102012-05-10 Chong Yidong <cyd@gnu.org>
9011
9012 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
9013 Use url-generic-parse-url, and handle host names and Windows
9014 filenames properly.
9015 (ffap-url-unwrap-remote): Use url-generic-parse-url.
9016 (ffap-url-unwrap-remote): Accept list values, specifying a list of
9017 URL schemes to work on.
9018 (ffap--toggle-read-only): New function.
9019 (ffap-read-only, ffap-read-only-other-window)
9020 (ffap-read-only-other-frame): Use it.
9021 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
9022 necessary for ffap-url-unwrap-remote.
9023
836d29b3
DA
90242012-05-10 Dave Abrahams <dave@boostpro.com>
9025
9026 * cus-start.el (create-lockfiles): Add it.
9027
00fd78ed
CY
90282012-05-09 Chong Yidong <cyd@gnu.org>
9029
9030 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
9031 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
9032
666b903b 90332012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
9034
9035 * shell.el (shell-completion-vars): Fix last change (bug#11348).
9036
666b903b 90372012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
9038
9039 * ansi-color.el (ansi-color-process-output): Check for validity of
9040 comint-last-output-start before using it. This avoids a bad
9041 interaction with gdb-mi's input/output buffer.
9042
666b903b 90432012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
9044
9045 * files.el (dir-locals-read-from-file):
9046 Mention dir-locals in any error message.
9047
666b903b 90482012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
9049
9050 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
9051 package (Bug#11410).
9052
f677562b
CY
9053 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
9054 variables into description.
9055
666b903b 90562012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
9057
9058 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
9059 shell-delimiter-argument-list (bug#11348).
9060 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
9061
b499d8d0
JB
90622012-05-09 Juanma Barranquero <lekktu@gmail.com>
9063
8f6b6da8
JB
9064 * textmodes/rst.el: Silence byte-compiler warnings.
9065 (rst-re-alist, rst-reset-section-caches): Move around.
9066 (rst-re): Use `characterp', not `char-valid-p'.
9067 (font-lock-beg, font-lock-end): Declare.
9068
4824146a
JB
9069 * progmodes/idlw-shell.el (specs): Remove reference to deleted
9070 variable `idlwave-shell-activate-alt-keybindings' and simplify.
9071
b499d8d0
JB
9072 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
9073
ad89bb83
GM
90742012-05-08 Glenn Morris <rgm@gnu.org>
9075
9076 * files.el (auto-mode-alist): Treat ".make" like ".mk".
9077
8bba5a75
SM
90782012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9079
49ed9c8e
SM
9080 * vc/log-edit.el: Add GNU coding standards highlighting.
9081 (log-edit-font-lock-gnu-style)
9082 (log-edit-font-lock-gnu-keywords): New vars.
9083 (log-edit-font-lock-keywords): New fun.
9084 (log-edit-mode): Don't fold case in font-lock.
9085 (log-edit-font-lock-keywords): Do not assume case-folding.
9086
07d00b56
SM
9087 * imenu.el: Misc cleanup. Make docstrings out of comments.
9088 Use lexical-binding.
9089 (imenu--index-alist, imenu--last-menubar-index-alist)
9090 (imenu-menubar-modified-tick): Use defvar-local.
9091 (imenu--split-menu): Remove unused var.
9092 (imenu--cleanup-seen): Declare as global.
9093 (imenu--cleanup): Use dolist.
9094
8bba5a75
SM
9095 * subr.el (defvar-local): Add debug spec and doc-string position.
9096
5075bdb5
GM
90972012-05-08 Glenn Morris <rgm@gnu.org>
9098
090bd7cb 9099 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
9100 * language/english.el, language/georgian.el, language/greek.el:
9101 * language/japanese.el, language/khmer.el, language/korean.el:
9102 * language/lao.el, language/misc-lang.el, language/romanian.el:
9103 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
9104 * language/thai.el, language/utf-8-lang.el:
9105 Remove no-byte-compile setting.
9106
5075bdb5
GM
9107 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
9108
06f679a7
AH
91092012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
9110
9111 * progmodes/make-mode.el (makefile-browse):
9112 Remove unnecessary interactive. (Bug#11324)
9113
03794570
GM
91142012-05-07 Glenn Morris <rgm@gnu.org>
9115
af8630f4
GM
9116 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
9117
03794570
GM
9118 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
9119
f0809a9d
SM
91202012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9121
28be5ce7
SM
9122 * loadup.el: Preload newcomment.el.
9123 * newcomment.el: Move autoload-only code to toplevel.
9124
f0809a9d
SM
9125 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
9126 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
9127 Handle new :right-align column property.
9128 (tabulated-list-print-col): Idem, plus use `display' text-property to
9129 try and preserve alignment for variable pitch fonts.
9130
1241b724
CY
91312012-05-07 Chong Yidong <cyd@gnu.org>
9132
9133 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
9134 (tabulated-list-use-header-line): New var.
9135 (tabulated-list-init-header): Use it.
9136 (tabulated-list-print-fake-header): New function.
9137 (tabulated-list-print): Use it.
9138 (tabulated-list-sort-button-map): Add non-header-line commands.
9139 (tabulated-list-init-header): Add column name property to basic
9140 labels as well.
9141 (tabulated-list-col-sort): Handle non-header-line button case.
9142 (tabulated-list--sort-by-column-name): Fix a corner case.
9143
f0809a9d
SM
9144 * buff-menu.el (list-buffers--refresh):
9145 Handle Buffer-menu-use-header-line.
1241b724 9146
e5f9458f
CY
91472012-05-06 Chong Yidong <cyd@gnu.org>
9148
9149 * buff-menu.el: Convert to Tabulated List mode.
9150 (Buffer-menu-buffer+size-width): Make obsolete.
9151 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
9152 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
9153 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
9154 documentation into docstring of buffer-menu.
9155 (Buffer-menu-toggle-files-only): Add an informative message.
9156 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
9157 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
9158 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
9159 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
9160 (Buffer-menu-execute, Buffer-menu-select)
9161 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
9162 (Buffer-menu-bury): Use Tabulated List machinery.
9163 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
9164 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 9165 Delete.
e5f9458f
CY
9166 (list-buffers--refresh): New function.
9167 (list-buffers-noselect): Use it.
9168 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
9169 (Buffer-menu--pretty-file-name): New helper functions.
9170
9171 * loadup.el: Preload tabulated-list.
9172
9173 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
9174 tabulated-list-sort-column.
9175 (tabulated-list-init-header): Add the initial aligning space even
9176 if tabulated-list-padding is zero.
9177
e129292c
CS
91782012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
9179
9180 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
9181 whose cdr is not a cons cell correctly (bug#11038).
9182
6632d361
CY
91832012-05-06 Chong Yidong <cyd@gnu.org>
9184
e129292c
CS
9185 * emacs-lisp/tabulated-list.el (tabulated-list-format):
9186 Accept additional plist in column descriptors.
6632d361
CY
9187 (tabulated-list-init-header): Obey it.
9188 (tabulated-list-get-entry): New function.
9189 (tabulated-list-put-tag): Use it. Use string-width instead of
9190 length.
9191 (tabulated-list--column-number): New function.
9192 (tabulated-list-print): Use it.
e129292c
CS
9193 (tabulated-list-print-col): New function.
9194 Set `tabulated-list-column-name' property on each column's text.
6632d361 9195 (tabulated-list-print-entry): Use it.
e129292c
CS
9196 (tabulated-list-delete-entry, tabulated-list-set-col):
9197 New functions.
6632d361
CY
9198 (tabulated-list-sort-column): New command (Bug#11337).
9199
3cc99f68
CY
9200 * buff-menu.el (list-buffers): Move C-x C-b binding from
9201 buff-menu.el to bindings.el.
9202
9203 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
9204 :advertised-binding feature.
9205
52b61776
TN
92062012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
9207
9208 * progmodes/compile.el (compilation-internal-error-properties):
9209 Calculate start position correctly when end-col is set but
9210 end-line is not (Bug#11382).
9211
ebfe2597
WJ
92122012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
9213
9214 * man.el (Man-unindent): Use text-property-default-nonsticky to
9215 prevent untabify from inheriting face properties (Bug#11408).
9216
6d3f7c2f
SM
92172012-05-05 Stefan Merten <smerten@oekonux.de>
9218
9219 * textmodes/rst.el: Major merge with upstream development up to
9220 Docutils SVN r7399 / rst.el V1.2.1.
9221
9222 Clarify maintainership and authors.
9223
9224 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
9225 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
9226 (rst-official-version, rst-official-cvs-rev, rst-version)
9227 (rst-package-emacs-version-alist): New functions and variables
9228 for version information.
9229
9230 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
9231 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
9232 (rst-mode-syntax-table, rst-mode): New and corrected functions
9233 and variables representing reStructuredText features.
9234
9235 (rst-re): New function for reStructuredText regexes. Use in
9236 many places.
9237
9238 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
9239 (rst-mode-map): Rebind keys.
9240
9241 (rst-mode-lazy, rst-font-lock-keywords)
9242 (rst-font-lock-extend-region)
9243 (rst-font-lock-extend-region-internal)
9244 (rst-font-lock-extend-region-extend)
9245 (rst-font-lock-find-unindented-line-limit)
9246 (rst-font-lock-find-unindented-line-match)
9247 (rst-adornment-level, rst-font-lock-adornment-level)
9248 (rst-font-lock-adornment-match)
9249 (rst-font-lock-handle-adornment-pre-match-form)
9250 (rst-font-lock-handle-adornment-matcher): Major revision of
9251 font-locking. Integrate with other code. Use `jit-lock-mode'.
9252
9253 (rst-preferred-adornments, rst-adjust-hook)
9254 (rst-new-adornment-down, rst-preferred-bullets)
9255 (rst-preferred-bullets, rst-indent, rst-indent-width)
9256 (rst-indent-field, rst-indent-literal-normal)
9257 (rst-indent-literal-minimized, rst-indent-comment): Change,
9258 extend and improve customization.
9259
9260 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
9261 (rst-normalize-cursor-position, rst-get-decoration)
9262 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
9263 (rst-rstrip, rst-toc-insert-find-delete-contents)
9264 (rst-shift-fill-region, rst-compute-bullet-tabs)
9265 (rst-debug-print-tabs, rst-debug-mark-found)
9266 (rst-shift-region-guts, rst-shift-region-right)
9267 (rst-shift-region-left, rst-use-char-classes)
9268 (rst-font-lock-keywords-function)
9269 (rst-font-lock-indentation-point)
9270 (rst-font-lock-find-unindented-line-begin)
9271 (rst-font-lock-find-unindented-line-end)
9272 (rst-font-lock-find-unindented-line)
9273 (rst-font-lock-adornment-point, rst-font-lock-level)
9274 (rst-adornment-level-alist): Remove functions and variables.
9275
9276 (rst-compare-adornments, rst-get-adornment-match)
9277 (rst-suggest-new-adornment, rst-get-adornments-around)
9278 (rst-adornment-complete-p, rst-get-next-adornment)
9279 (rst-adjust-adornment, rst-display-adornments-hierarchy)
9280 (rst-straighten-adornments): Standardize function names to
9281 use "adornment" instead of "decoration". Correct callers.
9282 Similar standardizing in many places.
9283
9284 (rst-update-section, rst-adjust, rst-promote-region)
9285 (rst-enumerate-region, rst-bullet-list-region)
9286 (rst-repeat-last-character): Correct use of `interactive'.
9287
9288 (rst-classify-adornment, rst-find-all-adornments)
9289 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
9290 (rst-find-leftmost-column, rst-repeat-last-character):
9291 Refactor functions.
9292
9293 (rst-find-title-line, rst-reset-section-caches)
9294 (rst-get-adornments-around, rst-adjust-adornment-work)
9295 (rst-arabic-to-roman, rst-roman-to-arabic)
9296 (rst-insert-list-pos, rst-insert-list-new-item)
9297 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
9298 New functions.
9299
9300 (rst-all-sections, rst-section-hierarchy)
9301 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
9302 New variables.
9303
9304 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
9305 configuration instead of only buffer. Change where necessary.
9306
9307 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
9308 (rst-shift-region, rst-adaptive-fill): New functions for
9309 indentation and filling.
9310
9311 (rst-comment-line-break, rst-comment-indent)
9312 (rst-comment-insert-comment, rst-comment-region)
9313 (rst-uncomment-region): New functions for handling comments.
9314
9315 (rst-compile): Quote shell arguments.
9316
9317 (rst-compile-pdf-preview, rst-compile-slides-preview):
9318 Delete temporary files after use.
9319
a43f98b3
GM
93202012-05-05 Glenn Morris <rgm@gnu.org>
9321
48176e8b
GM
9322 * calendar/cal-html.el: Optionally include holidays in the output.
9323 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
9324 (cal-html-holidays): New option.
9325 (cal-html-css-default): Add holiday entry.
9326 (holiday-in-range): Autoload it.
9327 (cal-html-htmlify-entry): Add optional class argument.
9328 (cal-html-htmlify-list): Add optional holidays argument.
9329 (cal-html-insert-agenda-days): Include holidays in the output.
9330 (cal-html-one-month): Maybe include holidays.
9331
a43f98b3
GM
9332 * calendar/holidays.el (holiday-in-range):
9333 Move here from cal-tex-list-holidays.
9334 * calendar/cal-tex.el (cal-tex-list-holidays):
9335 Make it an obsolete alias for holiday-in-range. Update all callers.
9336
fef9d149 93372012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
9338
9339 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
9340 Nextstep.
9341
248da2f4
RW
93422012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
9343
9344 * files.el (file-auto-mode-skip): New var.
9345 (set-auto-mode-1): Use it.
9346
f95e9344
SM
93472012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9348
df96ab1e
SM
9349 * repeat.el: Use lexical-binding.
9350 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
9351 (repeat-undo-count): Remove.
9352 (repeat):
9353 * progmodes/octave-mod.el (octave-abbrev-start):
9354 * progmodes/f90.el (f90-abbrev-start):
9355 * face-remap.el (text-scale-adjust):
9356 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
9357
5342bb06
SM
9358 * emacs-lisp/pcase.el (pcase--let*): New function.
9359 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
9360 a bit more.
9361 (pcase--split-pred): Be more clever about ruling out overlap between
9362 a predicate and some constant pattern.
9363 (pcase--q1): Use `null' instead of (eq foo nil).
9364
f95e9344
SM
9365 * subr.el (setq-local, defvar-local): New macros.
9366 (kbd): Redefine as an alias.
9367 (with-selected-window): Leave unrelated frames alone.
9368 (set-temporary-overlay-map): New function.
9369
71873e2b
SM
93702012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9371
9372 * subr.el (user-error): New function.
9373 * window.el (switch-to-buffer):
9374 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
9375 (smerge-match-conflict):
9376 * simple.el (previous-matching-history-element)
9377 (next-matching-history-element, goto-history-element, undo-more)
9378 (undo-start):
9379 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
9380 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
9381 (next-file, tags-loop-scan, list-tags, complete-tag):
9382 * progmodes/compile.el (compilation-loop):
9383 * mouse.el (mouse-minibuffer-check):
9384 * man.el (Man-bgproc-sentinel, Man-goto-page):
9385 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
9386 (Info-history-forward, Info-follow-reference, Info-menu)
9387 (Info-extract-menu-item, Info-extract-menu-counting)
9388 (Info-forward-node, Info-backward-node, Info-next-menu-item)
9389 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
9390 (Info-next-reference, Info-prev-reference, Info-index)
9391 (Info-index-next, Info-follow-nearest-node)
9392 (Info-copy-current-node-name):
9393 * imenu.el (imenu--make-index-alist)
9394 (imenu-default-create-index-function, imenu-add-to-menubar):
9395 * files.el (basic-save-buffer, recover-file):
9396 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
9397 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
9398 (checkdoc-message-text, checkdoc-defun):
9399 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
9400 * cus-edit.el (customize-changed-options, customize-rogue)
9401 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
9402 (custom-variable-mark-to-reset-standard)
9403 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
9404 (custom-file):
9405 * completion.el (check-completion-length):
9406 * comint.el (comint-search-arg)
9407 (comint-previous-matching-input-string-position)
9408 (comint-previous-matching-input)
9409 (comint-replace-by-expanded-history-before-point, comint-send-input)
9410 (comint-copy-old-input, comint-backward-matching-input)
9411 (comint-goto-process-mark, comint-set-process-mark):
9412 * calendar/calendar.el (calendar-cursor-to-date): Use it.
9413 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
9414
8a61ee22
SM
94152012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9416
66408d1e
SM
9417 * dabbrev.el (dabbrev--ignore-case-p): New function.
9418 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
9419 Use it.
9420
8a61ee22
SM
9421 * files.el (automount-dir-prefix): Mark as obsolete.
9422
3c74813a
GM
94232012-05-04 Glenn Morris <rgm@gnu.org>
9424
9425 * patcomp.el, play/bruce.el: Move to obsolete/.
9426
0bfcf5c5
PE
94272012-05-04 Paul Eggert <eggert@cs.ucla.edu>
9428
9429 Fix minor Y10k bugs.
9430 * arc-mode.el (archive-unixdate):
9431 * autoinsert.el (auto-insert-alist):
9432 * calc/calc-forms.el (math-this-year):
9433 * emacs-lisp/copyright.el (copyright-current-year)
9434 (copyright-update-year, copyright):
9435 * tar-mode.el (tar-clip-time-string):
9436 * time.el (display-time-update):
9437 Don't assume years have 4 digits.
9438
78f3273a
CY
94392012-05-04 Chong Yidong <cyd@gnu.org>
9440
9441 * dos-w32.el (file-name-buffer-file-type-alist)
9442 (direct-print-region-use-command-dot-com):
9443 * ffap.el (ffap-menu-regexp):
9444 * find-file.el (ff-special-constructs):
9445 * follow.el (follow-debug):
9446 * forms.el (forms--debug):
9447 * iswitchb.el (iswitchb-all-frames):
9448 * ido.el (ido-all-frames):
9449 * emacs-lisp/timer.el (timer-max-repeats):
9450 * mail/feedmail.el (feedmail-mail-send-hook)
9451 (feedmail-mail-send-hook-queued):
9452 * mail/footnote.el (footnote-signature-separator):
9453 * mail/mailabbrev.el (mail-alias-separator-string)
9454 (mail-abbrev-mode-regexp):
9455 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
9456 * progmodes/idlwave.el (idlwave-libinfo-file)
9457 (idlwave-default-completion-case-is-down)
9458 (idlwave-library-routines): Convert defvars to defcustoms.
9459
9460 * mail/rmail.el (rmail-decode-mime-charset):
9461 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
9462 (idlwave-shell-fix-inserted-breaks)
9463 (idlwave-shell-activate-alt-keybindings)
9464 (idlwave-shell-use-breakpoint-glyph):
9465 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
9466
f7ae6719
SM
94672012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
9468
9469 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
9470
47086495
WS
94712012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
9472
9473 * progmodes/verilog-mode.el (font-lock-keywords):
9474 Fix mis-highligting auto. Reported by Craig Barner.
9475 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
fc0c31f8 9476 defines from global name space. Reported by Dan Dever.
47086495
WS
9477 (verilog-auto-reset, verilog-auto-reset-widths)
9478 (verilog-auto-tieoff): Support using unbased numbers for
9479 AUTORESET and AUTOTIEOFF.
9480 (verilog-submit-bug-report): Update variable list.
9481 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
fc0c31f8 9482 parenthesis from not matching. Reported by Michael Rytting.
47086495
WS
9483 (verilog-auto-template-lint): Fix hash error when linting modules
9484 with no used templates.
9485 (verilog-warn, verilog-warn-error)
9486 (verilog-warn-fatal): When non-interactive report multiple
9487 warnings before exiting. Suggested by Brad Dobbie.
9488 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
9489 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
9490 to report unused template errors. Reported by Brad Dobbie.
9491 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
fc0c31f8 9492 nets, bug438. Reported by Vns Blore.
47086495
WS
9493 (verilog-auto-inout-module, verilog-auto-reg)
9494 (verilog-read-decls, verilog-read-sub-decls-sig)
9495 (verilog-signals-edit-wire-reg, verilog-signals-with):
9496 Fix passing of Verilog data types in ANSI input/output ports
fc0c31f8 9497 such as "output logic" into the AUTOs. Special case "wire" and
47086495
WS
9498 "reg" for backwards compatibility presuming Verilog 2001.
9499 (verilog-auto-ascii-enum): Add "auto enum" as alias.
9500 (verilog-preprocess): Fix replication of preprocess output.
9501 Reported by Brad Dobbie.
9502 (verilog-auto-inst-interfaced-ports):
9503 Create verilog-auto-inst-interfaced-ports, bug429.
9504 Reported by Julian Gorfajn.
9505 (verilog-after-save-font-hook)
9506 (verilog-before-save-font-hook): New variable.
9507 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
9508 (verilog-save-font-mods): Wrap disabling fontification, reported
9509 by David Rogoff.
9510 (verilog-do-indent, verilog-pretty-declarations-auto)
9511 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
9512 Reported by Pierre-David Pfister.
9513 (verilog-set-auto-endcomments): Fix endtask auto comments outside
9514 of class declarations, bug292. Reported by Kevin Heilman.
9515 (verilog-read-decls): Fix 'parameter type' not appearing in
9516 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
9517 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
fc0c31f8 9518 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
47086495
WS
9519 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
9520 Reported by David Kravitz.
9521
95222012-05-03 Michael McNamara <mac@mail.brushroad.com>
9523
9524 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
9525 assignment with tests in ifs and for loops.
9526 (verilog-extended-complete-re, verilog-complete-reg): Change so
9527 that DPI inport functions don't look like fuction declarations.
9528 (verilog-pretty-expr): Don't line up assignment
9529 operations to the test and increment in if and for loops
9530 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 9531 that DPI inport functions don't look like fuction declarations.
47086495 9532
2e51d4b5
KH
95332012-05-03 Kenichi Handa <handa@m17n.org>
9534
9535 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 9536 decoding, and show a warning message without signaling an error
2e51d4b5
KH
9537 (Bug#11282).
9538
2bd785a2
SM
95392012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
9540
9541 * emacs-lisp/bytecomp.el
9542 (byte-compile-file-form-custom-declare-variable): Compile all elements,
9543 since cconv.el might have introduced :fun-body, internal-make-closure,
9544 and friends for bytecomp to handle (bug#11391).
9545 * custom.el (defcustom): Avoid ((λ ..) ..).
9546
99d27583
SM
95472012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
9548
9549 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
9550
55a71479
JB
95512012-05-02 Juanma Barranquero <lekktu@gmail.com>
9552
9553 * notifications.el (dbus-debug):
9554 * term/linux.el (gpm-mouse-enable):
9555 * term/screen.el (xterm-register-default-colors): Declare.
9556
7b97c764
CY
95572012-05-02 Chong Yidong <cyd@gnu.org>
9558
2bc356d7
CY
9559 * cus-start.el (gc-cons-percentage, exec-suffixes)
9560 (dos-display-scancodes, dos-hyper-key, dos-super-key)
9561 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
9562 (make-cursor-line-fully-visible, void-text-area-pointer)
9563 (font-list-limit): Add customization data.
9564
7b97c764
CY
9565 * allout.el (allout-exposure-change-functions)
9566 (allout-structure-added-functions)
9567 (allout-structure-deleted-functions)
9568 (allout-structure-shifted-functions): Rename abnormal hooks from
9569 *-hook, and convert to defcustoms.
5d3385a0
JB
9570 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
9571 Convert to defcustoms.
7b97c764
CY
9572 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
9573
9574 * allout-widgets.el: Hook callers changed.
9575
90207a15 95762012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
9577
9578 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
9579 the yanked message in preference to the default value of
9580 buffer-file-coding-system.
9581
90207a15 95822012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 9583
5d3385a0
JB
9584 * window.el (display-buffer--action-function-custom-type):
9585 Fix entry.
d9558cad 9586
90207a15 95872012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
9588
9589 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
9590
d80ac57b
GM
95912012-05-01 Glenn Morris <rgm@gnu.org>
9592
976f7668
GM
9593 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
9594
beb83b5a
GM
9595 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
9596
d80ac57b
GM
9597 * cus-edit.el (custom-variable-documentation): Simplify with format.
9598
b593d6a9 95992012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 9600 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
9601
9602 * simple.el (suggest-key-bindings, execute-extended-command):
9603 Move from keyboard.c.
9604
782fbf2a
CY
96052012-05-01 Chong Yidong <cyd@gnu.org>
9606
9607 * follow.el: Eliminate advice.
9608 (set-process-filter, process-filter, sit-for): Advice deleted.
9609 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
9610 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
9611 Vars deleted.
782fbf2a
CY
9612 (follow-auto): Use a :set function.
9613 (follow-mode): Rewritten. Don't advise process filters.
9614 (follow-switch-to-current-buffer-all, follow-scroll-up)
9615 (follow-scroll-down): Assume follow-mode is bound.
9616 (follow-comint-scroll-to-bottom)
9617 (follow-align-compilation-windows): New functions.
9618 (follow--window-sorter): New function.
9619 (follow-all-followers): Use it to explicitly sort windows by their
9620 positions; don't make assumptions about next-window order.
9621 (follow-windows-start-end, follow-delete-other-windows-and-split)
9622 (follow-calc-win-start): Doc fix.
9623 (follow-windows-aligned-p, follow-select-if-visible): Don't call
9624 vertical-motion unnecessarily.
9625 (follow-adjust-window): New function.
9626 (follow-post-command-hook): Use it.
9627 (follow-call-set-process-filter, follow-call-process-filter)
9628 (follow-intercept-process-output, follow-tidy-process-filter-alist)
9629 (follow-stop-intercept-process-output, follow-generic-filter):
9630 Functions deleted.
9631 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
9632 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
9633 New functions, replacing advice on scroll-bar-* commands.
87233a14 9634 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
9635
9636 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
9637 (comint-postoutput-scroll-to-bottom): Use it.
9638 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 9639
290af740
GM
96402012-05-01 Glenn Morris <rgm@gnu.org>
9641
9642 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
9643 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
9644 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
9645 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
9646 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
9647 Remove no-byte-compile setting.
9648
6eac8dc9
SM
96492012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
9650
9651 * minibuffer.el (completion-table-with-quoting): Fix compatibility
9652 all-completions code to not return a number in the last cdr.
9653
9cc7819c
LL
96542012-04-30 Leo Liu <sdl.web@gmail.com>
9655
9656 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
9657 read-only error.
9658
c93b886f
CY
96592012-04-29 Chong Yidong <cyd@gnu.org>
9660
9661 * follow.el (follow-calc-win-end): Rewrite to handle partial
9662 screen lines correctly (Bug#8390).
9663 (follow-avoid-tail-recenter): Minor cleanup.
9664
8b6c19f4
SM
96652012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
9666
9667 Avoid the obsolete `assoc' package.
9668 * speedbar.el (speedbar-refresh): Avoid adelete.
9669 (speedbar-file-lists): Simplify and avoid aput.
9670 * man.el (Man--sections, Man--refpages): New vars, replacing
9671 Man-sections-alist and Man-refpages-alist.
9672 (Man-build-section-alist, Man-build-references-alist):
9673 Use them; avoid aput.
9674 (Man--last-section, Man--last-refpage): New vars.
9675 (Man-follow-manual-reference): Use them.
9676 Use the `default' arg of completing-read.
9677 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
9678
c5bb7569
CY
96792012-04-27 Chong Yidong <cyd@gnu.org>
9680
d1d2e2e8
CY
9681 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
9682
15cd8efd
CY
9683 * startup.el (x-apply-session-resources): New function.
9684
9685 * term/ns-win.el (ns-initialize-window-system):
9686 * term/w32-win.el (w32-initialize-window-system):
9687 * term/x-win.el (x-initialize-window-system): Use it to properly
9688 set menu-bar-mode and other vars from X resources, even if the
9689 initial frame is not a window-system frame (Bug#2299).
9690
c5bb7569
CY
9691 * subr.el (read-key): Avoid running filter function when setting
9692 up temporary tool bar entries (Bug#9922).
9693
a8e7d6d7 96942012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
9695
9696 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
9697 (Bug#11344)
9698
a8e7d6d7 96992012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
9700
9701 * select.el (xselect--encode-string): New function, split from
9702 xselect-convert-to-string.
9703 (xselect-convert-to-string): Use it.
9704 (xselect-convert-to-filename, xselect-convert-to-os)
9705 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
9706 returned strings are properly encoded (Bug#11315).
9707
a8e7d6d7 97082012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
9709
9710 * simple.el (delete-active-region): Move to killing custom group.
9711
a8e7d6d7 97122012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
9713
9714 * progmodes/which-func.el (which-func-current): Quote %
9715 characters for mode-line processing.
9716
578c1d4b 97172012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
9718
9719 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
9720 reaching eob (Bug#11286).
9721
a8e7d6d7 97222012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
9723
9724 * progmodes/gdb-mi.el (gdb-control-level): New variable.
9725 (gdb): Make it buffer-local and init to zero.
9726 (gdb-control-commands-regexp): New variable.
9727 (gdb-send): Don't wrap in "-interpreter-exec console" if
9728 gdb-control-level is positive. Increment gdb-control-level
9729 whenever the command matches gdb-control-commands-regexp, and
9730 decrement it each time the command is "end". (Bug#11279)
9731
a8e7d6d7 97322012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
9733
9734 * window.el (adjust-window-trailing-edge, enlarge-window)
9735 (shrink-window, window-resize):
9736 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
9737 windows (Bug#11276).
9738
b3608390
CY
97392012-04-27 Chong Yidong <cyd@gnu.org>
9740
9741 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 9742 fix "missing prefix" warning. All callers changed.
b3608390 9743
797e6e88
SM
97442012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
9745
9746 * emacs-lisp/assoc.el: Move to obsolete/.
9747
e95a67dc
SM
97482012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
9749
657c21e4 9750 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
9751
9752 * term/ns-win.el (ns-define-service):
9753 * progmodes/pascal.el (pascal-goto-defun):
9754 * progmodes/js.el (js--read-tab):
9755 * progmodes/etags.el (tags-lazy-completion-table):
9756 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
9757 * emacs-lisp/ewoc.el (ewoc--wrap):
9758 * emacs-lisp/assoc.el (aput, adelete, amake):
9759 * doc-view.el (doc-view-convert-current-doc):
9760 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
9761
cb3e7ae0
CY
97622012-04-26 Chong Yidong <cyd@gnu.org>
9763
dce04f7f
CY
9764 * image.el (image-type-from-buffer): Only return supported image
9765 type (Bug#9045).
9766
cb3e7ae0
CY
9767 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
9768 value, for symmetry with diff-end-of-hunk.
9769 (diff-split-hunk, diff-find-source-location)
9770 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
9771 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
9772 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
9773 compute the relevant hunk or file properly (Bug#6005).
9774 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
9775
0d42eb3e
SM
97762012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
9777
9778 * vc/vc-mtn.el:
9779 * vc/vc-hg.el:
9780 * vc/vc-git.el:
9781 * vc/vc-dir.el:
9782 * vc/vc-cvs.el:
9783 * vc/vc-bzr.el:
9784 * vc/vc-arch.el:
9785 * vc/vc.el: Replace lexical-let by lexical-binding.
9786 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
9787 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
9788 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
9789
f08ae1c9
CY
97902012-04-26 Chong Yidong <cyd@gnu.org>
9791
8b71081d
CY
9792 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
9793 (diff-mode-shared-map): Bind it to / and [remap undo].
9794
f08ae1c9
CY
9795 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
9796 (ediff-window-setup-function): Use it as the default, to set up
9797 windows based on whether the current frame is graphical (Bug#2138).
9798 (ediff-choose-window-setup-function-automatically): Make obsolete.
9799
9800 * vc/ediff-init.el: Always define ediff-pixel-width/height.
9801
ef24141c
SM
98022012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9803
cc356a5d
SM
9804 * ffap.el: Remove old code for obsolete package.
9805 (ffap-complete-as-file-p): Remove.
9806
b4ff4f1f
SM
9807 Use completion-table-with-quoting for comint and pcomplete.
9808 * comint.el (comint--unquote&requote-argument)
9809 (comint--unquote-argument, comint--requote-argument): New functions.
9810 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
9811 (comint-quote-filename): Use regexp-opt-charset.
9812 (comint--common-suffix, comint--common-quoted-suffix)
9813 (comint--table-subvert): Remove.
9814 (comint-unquote-function, comint-requote-function): New vars.
9815 (comint--complete-file-name-data): Use them with
9816 completion-table-with-quoting.
9817 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
9818 * pcomplete.el (pcomplete-arg-quote-list)
9819 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
9820 (pcomplete-unquote-argument-function): Default to non-nil.
9821 (pcomplete-unquote-argument): Simplify.
9822 (pcomplete--common-quoted-suffix): Remove.
9823 (pcomplete-requote-argument-function): New var.
9824 (pcomplete--common-suffix): New function.
9825 (pcomplete-completions-at-point): Use completion-table-with-quoting
9826 and completion-table-subvert.
9827
79c4eeb4
SM
9828 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
9829 (minibuffer--double-dollars): Preserve properties.
9830 (completion--sifn-requote): New function.
9831 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
9832
ef24141c
SM
9833 * minibuffer.el: Add support for completion of quoted/escaped data.
9834 (completion-table-with-quoting, completion-table-subvert): New funs.
9835 (completion--twq-try, completion--twq-all): New functions.
9836 (completion--nth-completion): New function.
9837 (completion-try-completion, completion-all-completions): Use it.
9838
784e7d6e
LL
98392012-04-25 Leo Liu <sdl.web@gmail.com>
9840
dd2ac746
SM
9841 * progmodes/python.el (python-pdbtrack-get-source-buffer):
9842 Use compilation-message if available to find real filename.
784e7d6e 9843
07875ee7
CY
98442012-04-25 Chong Yidong <cyd@gnu.org>
9845
9846 * vc/diff-mode.el (diff-setup-whitespace): New function.
9847 (diff-mode): Use it.
9848
9849 * vc/diff.el (diff-sentinel):
9850 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
9851 Whitespace mode variables based on diff style (Bug#8612).
9852
5055880d
LL
98532012-04-25 Leo Liu <sdl.web@gmail.com>
9854
daf75653
LL
9855 * progmodes/python.el (python-send-region): Add suffix .py to the
9856 temp file.
9857
5055880d
LL
9858 * files.el (auto-mode-alist): Use javascript-mode instead.
9859
db9b177b
AH
98602012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
9861
ef24141c 9862 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 9863
090bd7cb 9864 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 9865 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 9866 references, see Bug#9.
ef24141c 9867 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 9868 when receiving a fault reply.
ef24141c 9869 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 9870
090bd7cb 9871 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 9872 (soap-inspect-simple-type): New function.
db9b177b 9873
090bd7cb 9874 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 9875 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
9876 (soap-decode-basic-type, soap-encode-basic-type):
9877 support unsignedInt and double basic types.
db9b177b 9878 (soap-resolve-references-for-simple-type)
ef24141c
SM
9879 (soap-parse-simple-type, soap-encode-simple-type): New function.
9880 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 9881
090bd7cb 9882 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
9883 (soap-default-soapenc-types): Add integer, byte and anyURI types.
9884 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
9885 the local name of "soapenc:Array".
9886 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
9887 decoding integer, byte and anyURI xsd types.
9888
1fc6097b
CY
98892012-04-25 Chong Yidong <cyd@gnu.org>
9890
9891 * cus-edit.el (custom-buffer-create-internal): Update header text.
9892
afc6df87
EZ
98932012-04-25 Eli Zaretskii <eliz@gnu.org>
9894
9895 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
9896 settings on 'system-type', not on 'window-system'. On MS-Windows,
9897 set interactive-mode on in GDB.
9898
dfbd787f
SM
98992012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
9900
9901 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
9902 (ruby-syntax-propertize-regexp): Remove.
9903 (ruby-syntax-propertize-function): Split regexp into chunks.
9904 Match following code directly.
9905
85222d44
DG
99062012-04-24 Dmitry Gutov <dgutov@yandex.ru>
9907
51a8ea2a
DG
9908 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
9909 (ruby-syntax-propertize-regexp): New function.
9910 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
9911 by a special keyword.
9912
85222d44
DG
9913 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
9914 (ruby-syntax-general-delimiters-goto-beg)
9915 (ruby-syntax-propertize-general-delimiters): New functions.
9916 (ruby-syntax-propertize-function): Use them to handle GDL.
9917 (ruby-font-lock-keywords): Move old handling of GDL...
9918 (ruby-font-lock-syntactic-keywords): .. to here.
9919 (ruby-calculate-indent): Adjust indentation for GDL.
9920
b613912b
MA
99212012-04-24 Michael Albinus <michael.albinus@gmx.de>
9922
b5380639
MA
9923 * notifications.el (top): Remove unneeded declarations.
9924 (notifications-specification-version): Change to "1.2".
e43042fe 9925 (notifications-interface, notifications-notify-method)
b613912b
MA
9926 (notifications-close-notification-method): Fix docstring.
9927 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
9928 (notifications-notify): Add :action-items, :resident and
9929 :transient hints. Change "image_data" to "image-data" and
9930 "image_path" to "image-path".
b613912b
MA
9931 (notifications-get-capabilities): New defun.
9932
257440aa
LL
99332012-04-24 Leo Liu <sdl.web@gmail.com>
9934
9935 * progmodes/python.el: Move hideshow setup to the end.
9936
b1bac16e
MR
99372012-04-24 Martin Rudalics <rudalics@gmx.at>
9938
9939 * window.el (handle-select-window): Clear echo area since this is
9940 no more done by read_char (Bug#11304).
9941
d81bd059
SM
99422012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
9943
9944 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
9945 and `/ M' to filter-derived-mode.
9946 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
9947 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
9948 (ibuffer-mark-by-mode): Use default rather than initial-input.
9949 (ibuffer-filter-by-derived-mode): Autoload and require-match.
9950
c4cf6d91
IA
99512012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
9952
9953 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
9954 (ibuffer-filter-by-derived-mode): New filter.
9955 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
9956
7511ded8
CY
99572012-04-23 Andreas Politz <politza@fh-trier.de>
9958
9959 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
9960
775c916b
CY
99612012-04-23 Chong Yidong <cyd@gnu.org>
9962
9963 * cus-edit.el (customize-apropos, customize-apropos-options):
9964 Disable matching of non-option variables (Bug#11176).
9965 (customize-option, customize-option-other-window)
9966 (customize-changed-options): Doc fix.
9967 (customize-apropos-options, customize-apropos-faces)
9968 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
9969
9970 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 9971 Fix word list splitting (Bug#11132).
46c71e23
CY
9972 (apropos-symbol, apropos-keybinding, apropos-label)
9973 (apropos-property, apropos-function-button)
9974 (apropos-variable-button, apropos-misc-button): New faces.
9975 (apropos-symbol-face, apropos-keybinding-face)
9976 (apropos-label-face, apropos-property-face, apropos-match-face):
9977 Variables removed (Bug#8396).
9978 (apropos-library-button, apropos-format-plist, apropos-print)
9979 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 9980
2df41f9c
MA
99812012-04-23 Michael Albinus <michael.albinus@gmx.de>
9982
9983 * net/xesam.el (xesam-mode-map): Use let-bound map in
9984 initialization. (Bug#11292)
9985
da00640a
AM
99862012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9987
9988 Preserve ispell session localwords when switching back to
9989 original buffer.
9990
090bd7cb
JB
9991 * textmodes/ispell.el (ispell-buffer-session-localwords):
9992 New buffer-local variable to hold buffer session localwords.
ed9265fc 9993 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
9994 localwords.
9995 (ispell-command-loop, ispell-change-dictionary)
9996 (ispell-buffer-local-words): Preserve session localwords when
9997 needed.
9998
090bd7cb
JB
9999 * textmodes/flyspell.el (flyspell-process-localwords)
10000 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 10001
f621ccf5
AM
100022012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10003
090bd7cb
JB
10004 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
10005 using obsolete `translation-table-for-input'.
ef24141c
SM
10006 (ispell-word, ispell-process-line, ispell-complete-word):
10007 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 10008
c2d1019e
CY
100092012-04-22 Chong Yidong <cyd@gnu.org>
10010
10011 * cus-edit.el (custom-variable-menu)
10012 (custom-variable-reset-saved, custom-face-menu)
10013 (custom-face-reset-saved): If there is no saved value, make the
10014 "reset-saved" operation bring back the default (Bug#9509).
10015 (custom-face-state): Properly detect themed faces.
10016
eeddc531
CY
10017 * faces.el (face-spec-set): Stop supporting deprecated form of
10018 third arg.
10019
dcbf5805
MA
100202012-04-22 Michael Albinus <michael.albinus@gmx.de>
10021
10022 Move functions from C to Lisp. Make non-blocking method calls
10023 the default. Implement further D-Bus standard interfaces.
10024
ef24141c
SM
10025 * net/dbus.el (dbus-message-internal): Declare function.
10026 Remove unneeded function declarations.
dcbf5805
MA
10027 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
10028 (dbus-message-type-method-return, dbus-message-type-error)
10029 (dbus-message-type-signal): Declare variables. Remove local
10030 definitions.
10031 (dbus-interface-dbus, dbus-interface-peer)
10032 (dbus-interface-introspectable, dbus-interface-properties)
10033 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
10034 Adapt docstring.
10035 (dbus-interface-objectmanager): New defconst.
10036 (dbus-call-method, dbus-call-method-asynchronously)
10037 (dbus-send-signal, dbus-method-return-internal)
10038 (dbus-method-error-internal, dbus-register-service)
10039 (dbus-register-signal, dbus-register-method): New defuns, moved
10040 from dbusbind.c
10041 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
10042 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
10043 New defuns.
dcbf5805
MA
10044 (dbus-call-method-non-blocking): Make it an obsolete function.
10045 (dbus-unregister-object, dbus-unregister-service)
10046 (dbus-handle-event, dbus-register-property)
10047 (dbus-property-handler): Obey the new structure of
10048 `bus-registered-objects'.
10049 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
10050 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
10051 Use `dbus-call-method'.
10052
cf20dee0
CY
100532012-04-22 Chong Yidong <cyd@gnu.org>
10054
10055 * cus-edit.el (custom-commands, custom-reset-menu)
10056 (Custom-reset-standard): Tweak labels.
10057 (custom-reset-button-menu): Change default to t.
10058 (custom-buffer-create-internal): For the custom-reset-button-menu
10059 case, put the revert button first.
10060 (custom-group-subtitle): New face.
10061 (custom-group-value-create): Align docstring to a specific column.
10062
10063 * wid-edit.el (widget-documentation-link-add): Don't handle
10064 indentation in this function.
10065 (widget-documentation-string-indent-to): New function.
10066 (widget-documentation-string-value-create): Use it.
10067
10068 * autorevert.el (auto-revert):
10069 * epg-config.el (epg):
10070 * ibuffer.el (ibuffer):
10071 * mpc.el (mpc):
10072 * ses.el (ses):
10073 * eshell/eshell.el (eshell):
10074 * net/ange-ftp.el (ange-ftp):
10075 * progmodes/ebnf2ps.el (postscript):
10076 * progmodes/flymake.el (flymake):
10077 * progmodes/prolog.el (prolog):
10078 * progmodes/verilog-mode.el (verilog-mode):
10079 * progmodes/which-func.el (which-func):
10080 * term/xterm.el (xterm):
10081 * textmodes/picture.el (picture):
10082 * textmodes/tildify.el (tildify):
10083 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
10084 customization buffers.
10085
583e23bd
AM
100862012-04-22 Alan Mackenzie <acm@muc.de>
10087
10088 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
10089 Adding a ) can hide the resulting (..) from searches. Fix it.
10090 Bound the backward search to the position of the existing (.
10091
7dd51bf1
JB
100922012-04-21 Juanma Barranquero <lekktu@gmail.com>
10093
10094 * progmodes/verilog-mode.el (verilog-mode): Check whether
10095 which-func-modes is t before adding verilog-mode.
10096 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
10097
d64a438f
LL
100982012-04-21 Leo Liu <sdl.web@gmail.com>
10099
7dd51bf1 10100 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 10101
081e8d65
MV
101022012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
10103
10104 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
10105 filling of the last column of a table (Bug#5635).
10106 (woman-find-next-control-line): New arg, specifying an additional
10107 regexp component for the control line.
10108 (woman2-roff-buffer): Use it.
10109 (woman-break-table): New function.
10110 (woman2-TS): Use it.
10111
101122012-04-21 Chong Yidong <cyd@gnu.org>
10113
10114 * woman.el (woman-set-buffer-display-table, woman-decode-region)
10115 (woman-horizontal-escapes, woman-negative-vertical-space)
10116 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
10117 (WoMan-warn-ignored): Use ?\s instead of ?\ .
10118
ed571ccb
SM
101192012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10120
10121 * minibuffer.el (completion-file-name-table): Complete user names.
10122
39773899
LL
101232012-04-20 Leo Liu <sdl.web@gmail.com>
10124
10125 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
10126 and pcase-let*.
10127
de6ff46d
CY
101282012-04-20 Chong Yidong <cyd@gnu.org>
10129
10130 * server.el (server-execute): Respect initial-buffer-choice if it
10131 is a string and there are no files to open (Bug#2825).
10132 (server-create-window-system-frame, server-create-tty-frame):
10133 Don't switch buffers here.
2d0e8e61
CY
10134 (server-process-filter): Only try to open a window system frame if
10135 compiled with graphical support (Bug#8314).
de6ff46d 10136
54071013
DN
101372012-04-20 Dan Nicolaescu <dann@gnu.org>
10138
10139 * battery.el (battery-echo-area-format): Display remaining time
10140 for sysfs backend too (Bug#11269).
10141 (battery-linux-sysfs): Fix conditional for the charge.
10142
f30d612a
CY
101432012-04-20 Chong Yidong <cyd@gnu.org>
10144
c07a4c0b 10145 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
10146 (gdb-inferior-io--init-proc): New function.
10147 (gdb-init-1): Use it.
10148 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
10149 responsible for allocating a new pty and hooking it to gdb when
10150 the old pty gets an EIO due to process exit.
10151 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
10152 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
10153 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
10154
2116e93c
EZ
101552012-04-20 Eli Zaretskii <eliz@gnu.org>
10156
10157 * window.el (window-min-size, window-sizable, window-min-delta)
10158 (window-max-delta, window--resizable, window-resizable)
10159 (window-total-size, window-full-height-p, window-full-width-p)
10160 (window-in-direction, window--resize-mini-window, window-resize)
10161 (window--resize-child-windows-normal)
10162 (window--resize-child-windows, window--resize-siblings)
10163 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 10164 (enlarge-window, shrink-window): Doc fixes.
2116e93c 10165
c07a4c0b 101662012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 10167
ef24141c
SM
10168 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
10169 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
10170 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
10171 pty process (Bug#11273).
10172 (gdb-update): New arg to suppress talking to the gdb process.
10173 (gdb-done-or-error): Use it.
10174 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
10175 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
10176 sentinel not being called.
10177
10178 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
10179
d02766ab
CY
10180 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
10181
c07a4c0b 101822012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
10183
10184 * net/network-stream.el (open-network-stream): Doc fix.
10185
c07a4c0b 101862012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
10187
10188 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
10189
c07a4c0b 101902012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
10191
10192 Ensure searching for keywords is case sensitive.
10193
10194 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
10195 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
10196 (c-defun-name, c-mark-function, c-cpp-define-name)
10197 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 10198 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 10199
ef24141c
SM
10200 * progmodes/cc-mode.el (c-font-lock-fontify-region):
10201 Bind case-fold-search to nil.
f0f6bc35 10202
c07a4c0b 102032012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
10204
10205 * mail/sendmail.el (mail-bury): Call return action with the right
10206 Rmail buffer (Bug#11242).
10207
9a864fa2
CY
10208 * server.el (server-process-filter): Handle corner case where both
10209 tty and nowait options are present (Bug#11102).
10210
539aa513
EZ
102112012-04-20 Eli Zaretskii <eliz@gnu.org>
10212
10213 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
10214 (top level): Put into the executable the ident-style '$Id:' tag on
10215 windows-nt as well.
539aa513 10216
cfc7d5da
SM
102172012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10218
10219 * electric.el (electric-indent-post-self-insert-function): Check that
10220 electric-indent-mode is enabled in current buffer.
10221
5b01685c
JB
102222012-04-19 Juanma Barranquero <lekktu@gmail.com>
10223
10224 * imenu.el (imenu-progress-message): Restore; it is "used" in
10225 erc/erc-imenu.el and net/snmp-mode.el.
10226
4d6769e1
JB
102272012-04-19 Juanma Barranquero <lekktu@gmail.com>
10228
10229 * avoid.el (mouse-avoidance-mode): Mark unused arg.
10230 (mouse-avoidance-nudge-mouse): Remove unused binding.
10231
10232 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
10233
10234 * descr-text.el (describe-char):
10235 * progmodes/python.el (python-describe-symbol):
10236 Don't call `toggle-read-only', set `buffer-read-only'.
10237
10238 * imenu.el (imenu-default-goto-function): Mark unused args.
10239 (imenu-progress-message): Remove obsolete macro; all callers changed.
10240
10241 * subr.el (keymap-canonicalize): Remove unused binding.
10242 (read-passwd): Mark unused arg.
10243
10244 * tutorial.el (tutorial--display-changes): Remove unused binding.
10245 (tutorial--save-tutorial-to): Remove unused variable.
10246
10247 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
10248 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
10249 (package-generate-autoloads, package-menu--generate)
10250 (package-menu--find-upgrades): Remove unused bindings.
10251
10252 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
10253 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
10254 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
10255 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
10256 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
10257 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
10258 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
10259 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
10260 (cua-delete-char-rectangle): Mark unused args.
10261 (cua-align-rectangle): Remove unused binding.
10262
10263 * mail/rmail.el (compilation--message->loc)
10264 (epa--find-coding-system-for-mime-charset): Declare.
10265
10266 * net/dbus.el (dbus-register-service): Declare.
10267 (dbus-name-owner-changed-handler): Remove unused binding.
10268
10269 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
10270 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
10271 (nxml-scan-backward-within): Mark unused arg.
10272 (nxml-dynamic-markup-word): Remove unused binding.
10273
10274 * mouse.el (mouse-menu-major-mode-map):
10275 * emacs-lisp/authors.el (authors-scan-change-log)
10276 (authors-add-to-author-list):
10277 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
10278 * emacs-lisp/smie.el (smie-auto-fill):
10279 * mail/sendmail.el (mail-bury):
10280 * mail/unrmail.el (unrmail):
10281 * net/tls.el (open-tls-stream):
10282 * textmodes/picture.el (picture-mouse-set-point):
10283 Remove unused bindings.
10284
8c8fc5df
MA
102852012-04-19 Michael Albinus <michael.albinus@gmx.de>
10286
10287 * net/tramp.el (tramp-action-password): Let-bind
10288 `enable-recursive-minibuffers' to t.
10289
a77b0ac9
SS
102902012-04-18 Sam Steingold <sds@gnu.org>
10291
10292 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
10293 instead of 'string to accommodate values like [f11].
10294 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
10295 * progmodes/gdb-mi.el: Likewise.
10296
12a106a9
LL
102972012-04-18 Leo Liu <sdl.web@gmail.com>
10298
10299 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
10300 current buffer.
10301 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
10302 LOCAL is nil.
10303
bc6494ef
CY
103042012-04-18 Chong Yidong <cyd@gnu.org>
10305
10306 * simple.el (line-move): Use forward-line if in batch mode
10307 (Bug#11053).
10308
c09c46b2
CS
103092012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
10310
10311 * files.el (after-find-file): Do not try to add a final newline if
10312 the buffer is read-only (Bug#11156).
10313
5f6530ea
RS
103142012-04-17 Richard Stallman <rms@gnu.org>
10315
10316 * mail/rmail.el (rmail-start-mail):
10317 Pass (rmail-mail-return...) for the return-action.
10318 Pass (rmail-yank-current-message...) for the yank-action.
10319 (rmail-yank-current-message): New function.
10320 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
10321 (rmail-reply): Likewise.
10322 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
10323
10324 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 10325 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
10326 buffer, not newbuf.
10327
197b6f3c
JB
103282012-04-17 Juanma Barranquero <lekktu@gmail.com>
10329
10330 * server.el (server-ensure-safe-dir): Simplify.
10331
2311d8e5 103322012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 10333
2311d8e5
GM
10334 * emacs-lisp/smie.el: Provide smarter auto-filling.
10335 (smie-auto-fill): New function.
10336 (smie-setup): Use it.
98fb480e 10337
2311d8e5
GM
10338 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
10339
103402012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
10341
10342 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
10343 (comment-indent): Use it.
10344
2311d8e5 103452012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
10346
10347 * ses.el: The overall change is to add cell renaming, that is
10348 setting fancy names for cell symbols other than name matching
10349 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 10350 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 10351 (ses-create-cell-variable): New defun.
2311d8e5 10352 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
10353 (ses-relocate-formula): Relocate formulas only for cells the
10354 symbols of which are not renamed, i.e. symbols whose names do not
10355 match regexp "\\`[A-Z]+[0-9]+\\'".
10356 (ses-relocate-all): Relocate values only for cells the symbols of
10357 which are not renamed.
10358 (ses-load): Create cells variables as the (ses-cell ...) are read,
10359 in order to check row col consistency with cell symbol name only
10360 for cells that are not renamed.
10361 (ses-replace-name-in-formula): New defun.
10362 (ses-rename-cell): New defun.
4bdf2ad2 10363
fc72b15c
PO
103642012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
10365
10366 * progmodes/perl-mode.el (perl-indent-parens-as-block):
10367 New option (bug#11118).
10368 (perl-calculate-indent): Respect it.
10369
12e10e61
GM
103702012-04-17 Glenn Morris <rgm@gnu.org>
10371
10372 * dired-aux.el (dired-mark-read-string): Doc fix.
10373
30009afd
DA
103742012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
10375
10376 * dired-aux.el (dired-mark-read-string): Offer optional completion.
10377 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
10378
41f03f4d
GM
103792012-04-17 Glenn Morris <rgm@gnu.org>
10380
10381 * mouse.el (mouse-drag-track):
10382 * speedbar.el (speedbar-frame-mode):
10383 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
10384
f45f90f3
LL
103852012-04-16 Leo Liu <sdl.web@gmail.com>
10386
10387 * progmodes/python.el: Trivial cleanup.
10388
94ee8db5
GM
103892012-04-16 Glenn Morris <rgm@gnu.org>
10390
121b8917
GM
10391 * vc/vc.el (vc-string-prefix-p):
10392 * vc/pcvs-util.el (cvs-string-prefix-p):
10393 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
10394 * mpc.el (mpc-string-prefix-p):
10395 Make all of these into obsolete aliases for string-prefix-p.
10396 Update callers.
10397 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
10398
1197ecfa
GM
10399 * textmodes/two-column.el: Move custom options to the start.
10400 (frame-width): Remove compat definition.
10401 (2C-associate-buffer, 2C-dissociate):
10402 Use with-current-buffer rather than save-excursion.
10403 (2C-dissociate): Force a mode-line update.
10404 (2C-autoscroll): Use ignore-errors.
10405
099e7202
GM
10406 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
10407 Autoload trivia.
10408
bf350d6a
GM
10409 * emacs-lisp/cl-extra.el (*random-state*):
10410 Remove unnecessary declaration.
10411
0e829eab
GM
10412 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
10413
e3ad7552
GM
10414 * play/cookie1.el (cookie-snarf):
10415 Give an explicit error if input file cannot be read.
10416
68892d27
GM
10417 * play/yow.el (yow-file): Use expand-file-name rather than concat.
10418
20f0c46d
GM
10419 * progmodes/perl-mode.el (c-macro-expand):
10420 Remove unnecessary autoload (it is in loaddefs.el).
10421
5a0978ce
GM
10422 * textmodes/picture.el (picture-desired-column)
10423 (picture-update-desired-column): Convert comments to doc-strings.
10424 (picture-substitute): Remove function.
10425 (picture-mode-map): Initialize in the defvar.
10426
6b955486
GM
10427 * woman.el: Remove eval-after-load for tar-mode.
10428 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
10429 (woman-tar-extract-file): Autoload it.
10430
94ee8db5
GM
10431 * frame.el (automatic-hscrolling): Make this alias obsolete.
10432
177eca34
AM
104332012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10434
090bd7cb 10435 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 10436 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
10437 (ispell-dictionary-base-alist): Revert to original XEmacs
10438 friendly version for default. [:alpha:] will be added in
090bd7cb 10439 `ispell-set-spellchecker-params' if needed.
177eca34 10440
c505aaeb
CY
104412012-04-16 Chong Yidong <cyd@gnu.org>
10442
b19dd9d1 10443 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
10444 (imagemagick-register-types): Use it.
10445 (imagemagick-types-inhibit): Add :set function. Allow new value
10446 of t to inhibit all types.
10447
10448 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
10449 so we can preload it.
10450
10451 * loadup.el (fboundp): Preload regexp-opt, needed by
10452 imagemagick-register-types.
10453
60efac0f
CY
104542012-04-15 Chong Yidong <cyd@gnu.org>
10455
10456 * frame.el (scrolling): Remove nearly unused customization group.
10457
10458 * scroll-all.el (scroll-all-mode): Move to windows group.
10459
5dd1713e
CY
104602012-04-15 Chong Yidong <cyd@gnu.org>
10461
10462 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
10463
e6fd457e
CY
104642012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10465
10466 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 10467 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 10468
e153c136
GM
104692012-04-15 Glenn Morris <rgm@gnu.org>
10470
10471 * simple.el (process-file-side-effects): Doc fix.
10472
e6fd457e 104732012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
10474
10475 * international/mule-cmds.el (set-language-environment): Doc fix.
10476
3603c3b1
JB
104772012-04-14 Juanma Barranquero <lekktu@gmail.com>
10478
10479 * server.el (server-auth-key, server-generate-key): Doc fixes.
10480 (server-get-auth-key): Doc fix. Use `string-match-p'.
10481 (server-start): Reflow docstring.
10482
e6de100c
LI
104832012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
10484
10485 * server.el (server-generate-key): `called-interactively-p'
10486 requires a parameter.
10487
29734c21
MN
104882012-04-14 Michal Nazarewicz <mina86@mina86.com>
10489
10490 * server.el (server-auth-key): New variable.
75f1671a 10491 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
10492 (server-start): Use the new variable and functions to allow
10493 setting a permanent server key (bug#9423).
10494
d65c9521
LL
104952012-04-14 Leo Liu <sdl.web@gmail.com>
10496
10497 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
10498
5ae255c7
PE
104992012-04-14 Paul Eggert <eggert@cs.ucla.edu>
10500
10501 Spelling fixes.
10502 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
10503 Emacs uses American spelling.
10504
d5e6342e
JB
105052012-04-14 Juanma Barranquero <lekktu@gmail.com>
10506
10507 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
10508 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
10509 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
10510 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
10511
ab036cd7
SM
105122012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10513
10514 * progmodes/which-func.el (which-func-modes): Change default.
10515
35dc09a1 105162012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
10517
10518 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
10519 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
10520
35dc09a1 105212012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
10522
10523 * custom.el (custom-theme-set-variables): Doc fix.
10524
35dc09a1 105252012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
10526
10527 * international/mule.el (set-auto-coding-for-load): Doc fix.
10528
35dc09a1 105292012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 10530
35dc09a1
GM
10531 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
10532 imenu work again for Objective C Mode. Correct the *-index values,
10533 these having been disturbed by a previous change in 2011-08.
57f845ee 10534
0de3da9f
AM
10535 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
10536 Correct two search limits.
10537
35dc09a1 105382012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
10539
10540 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
10541
35dc09a1 105422012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
10543
10544 * international/characters.el: Fix sorting.
10545
35dc09a1 105462012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
10547
10548 * international/characters.el: Add more missing Latin case pairs.
10549
35dc09a1 105502012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
10551
10552 * files.el (dir-locals-set-class-variables): Doc fix.
10553
35dc09a1 105542012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 10555
3f1b5bf8
EZ
10556 * international/characters.el: Add set-case-syntax-pair call for
10557 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
10558 counterpart. (Bug#11209)
10559
9f847f41
EZ
10560 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
10561
35dc09a1 105622012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
10563
10564 * calendar/holidays.el (calendar-check-holidays): Doc fix.
10565
35dc09a1 105662012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 10567
35dc09a1
GM
10568 * textmodes/ispell.el (ispell-dictionary-base-alist):
10569 Add data for Hebrew.
e2627d21 10570
35dc09a1 105712012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 10572
35dc09a1
GM
10573 * net/rcirc.el (rcirc-cmd-quit):
10574 Revert 2012-03-18 change (Bug#11192).
5c14e333 10575
35dc09a1 105762012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
10577
10578 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
10579
35dc09a1 105802012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 10581
4517fe3a
SM
10582 * minibuffer.el (completion-in-region-mode-map):
10583 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 10584
b472a594
VD
105852012-04-13 Vivek Dasmohapatra <vivek@etla.org>
10586
10587 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
10588
09b95ce3
MY
105892012-04-13 Masatake YAMATO <yamato@redhat.com>
10590
10591 * minibuffer.el (minibuffer-local-filename-syntax): New variable
10592 to allow `C-M-f' and `C-M-b' to move to the nearest path
10593 separator (bug#9511).
10594
4b63a9ca
LI
105952012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
10596
10597 * avoid.el: Require cl when compiling. And also move the
10598 `provide' to the end.
10599
7b55b8bf
TV
106002012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10601
10602 * avoid.el (mouse-avoidance-banish-position): New variable.
10603 (mouse-avoidance-banish-destination): Use it (bug#10165).
10604
adedaa1f
LL
106052012-04-13 Leo Liu <sdl.web@gmail.com>
10606
10607 * progmodes/which-func.el (which-func-modes): Add objc-mode.
10608
70e74021
KB
106092012-04-13 Ken Brown <kbrown@cornell.edu>
10610
10611 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 10612 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
10613 (browse-url-filename-alist): For the same reason, don't modify
10614 file:// URLs on Cygwin.
10615
e75e89ba
SM
106162012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
10617
10618 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
10619 the region on shift if the binding is already shifted (bug#11221).
10620
82f289a4
GM
106212012-04-12 Glenn Morris <rgm@gnu.org>
10622
10623 * mail/mailpost.el: Move to obsolete/.
10624
d333dc4c
DA
106252012-04-12 Drew Adams <drew.adams@oracle.com>
10626
10627 * imenu.el (imenu--generic-function): Ignore invisible definitions
10628 (bug#10123).
10629
0d15b5ba
VD
106302012-04-12 Vivek Dasmohapatra <vivek@etla.org>
10631
10632 * hexl.el (hexl-bits): New variable.
10633 (hexl-options): Mention the variable in the doc string.
75f1671a 10634 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 10635 (hexl-mode): Mention the new variable.
75f1671a
JB
10636 (hexl-mode, hexl-current-address, hexl-current-address):
10637 Use the displen.
0d15b5ba
VD
10638 (hexl-ascii-start-column): New function.
10639 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
10640 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
10641
64a440db
AM
106422012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10643
10644 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
10645 '("-i" ENCODING), in 2 separate command-line arguments, to specify
10646 the encoding, as expected by hunspell.
10647
6decb6c2
SM
106482012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
10649
10650 * battery.el (battery--linux-sysfs-regexp): New const.
10651 (battery-status-function): Use it. Remove yeeloong special case.
10652 (battery-yeeloong-sysfs): Remove.
10653 (battery-echo-area-format): Remove yeeloong special case.
10654
088be6fb
SM
106552012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
10656
6622e416
SM
10657 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
10658 Reported by Noah Friedman.
10659
088be6fb
SM
10660 * subr.el (read-passwd): Use read-string.
10661
b49f886e
LMI
106622012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10663
10664 * vcursor.el (vcursor-move): Increase the priority of the overlay
10665 (bug#9663).
10666
a63067fc
DD
106672012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
10668
10669 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
10670 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
10671
ac3cf14a
WS
106722012-04-11 William Stevenson <yhvh2000@gmail.com>
10673
10674 * textmodes/artist.el (artist-mode): Convert artist-mode to use
10675 define-minor-mode (bug#10760).
10676
c4fc691b 106772012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 10678
4d6769e1 10679 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
10680 that directories matching `grep-find-ignored-files' won't be
10681 pruned (bug#10351).
10682
af23e2e5
CY
106832012-04-11 Chong Yidong <cyd@gnu.org>
10684
10685 * startup.el (command-line): Remove support for long-obsolete
10686 variable font-lock-face-attributes.
10687
ab7ce8c1
GM
106882012-04-11 Glenn Morris <rgm@gnu.org>
10689
10690 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
10691
de8c03dc
SM
106922012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
10693
10694 * window.el (window--state-get-1): Obey window-point-insertion-type.
10695
050cc68b
LB
106962012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
10697
10698 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
10699 to previous function when point is on the first character of a
75f1671a 10700 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 10701
a38c310c
GM
107022012-04-11 Glenn Morris <rgm@gnu.org>
10703
effed0c2
GM
10704 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
10705 not just file-errors.
10706
a38c310c
GM
10707 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
10708 (vc-bzr-sha1): Use internal sha1.
10709
0221e323
SM
107102012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
10711
10712 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
10713
43956923
SG
107142012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
10715
10716 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
10717 that start in the middle of the line (bug#10496).
10718
6a8c9eaf
DN
107192012-04-10 Dan Nicolaescu <dann@gnu.org>
10720
10721 * battery.el (battery-linux-proc-acpi): Only one battery is
10722 discharged at a time, but that seems to confuse battery.el when
10723 computing `rate-type' for the battery not being discharged
10724 (bug#10332).
10725
1930bf5d
SM
107262012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
10727
2a718f6f
SM
10728 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
10729
599430d0
SM
10730 * international/quail.el: Use dolist and simplify.
10731 (quail-define-package, quail-update-keyboard-layout)
10732 (quail-define-rules): Use dolist.
10733 (quail-insert-kbd-layout, quail-get-translation): CSE.
10734
a2754b6c
SM
10735 * tmm.el: Use dolist, remove left over hook.
10736 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
10737 Use dolist.
10738 (calendar-load-hook): Don't mess with it.
10739
1930bf5d
SM
10740 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
10741 Use derived-mode-p. Run the diff asynchronously.
10742
9f67961c
LMI
107432012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
10744
10745 * obsolete/mouse-sel.el: Add an Obsolete-since header.
10746
2a8ce227
JB
107472012-04-10 Juanma Barranquero <lekktu@gmail.com>
10748
10749 * misc.el: Display absolute path of loaded DLLs (bug#10424).
10750 (list-dynamic-libraries--loaded): New function.
10751 (list-dynamic-libraries--refresh): Use it.
10752
8f33b5f8
NW
107532012-04-10 Nathan Weizenbaum <nweiz@google.com>
10754
1930bf5d
SM
10755 * progmodes/python.el (python-fill-paragraph):
10756 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
10757 disabled (bug#7018).
10758
b12f0439
L
107592012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
10760
1930bf5d 10761 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
10762 DOS/MS Windows for the Baltic languages. There are still plenty
10763 of texts written in this encoding/codepage (bug#6519).
b12f0439 10764
57c3bd01
GM
107652012-04-10 Glenn Morris <rgm@gnu.org>
10766
10767 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
10768 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
10769
6c3eab30
FA
107702012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
10771
1930bf5d 10772 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
10773 next-line "n" and previous-line "p" in order to make recentf more
10774 consistent with ibuffer, dired or org-mode (bug#9387).
10775
24d78a88
LMI
107762012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
10777
bc72b5d9
LMI
10778 * image.el (put-image): Return the overlay created instead of the
10779 optional input string (bug#7834). Note that this may break code
10780 that is (for some reason or other) depending on `put-image'
10781 returning the string.
10782
bd2dba5a
LMI
10783 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
10784
74beb59f
LMI
10785 * simple.el (zap-to-char): Allow zapping using input methods
10786 (bug#1580).
10787
24d78a88
LMI
10788 * textmodes/fill.el (fill-region): Leave point and mark where they
10789 were before filling (bug#5399).
10790
263f20cd
GM
107912012-04-09 Glenn Morris <rgm@gnu.org>
10792
10793 * version.el (emacs-bzr-get-version):
10794 Handle lightweight checkouts of local branches.
10795
58d1f797
AS
107962012-04-09 Andreas Schwab <schwab@linux-m68k.org>
10797
263f20cd 10798 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 10799
b4d3bc10
CY
108002012-04-09 Chong Yidong <cyd@gnu.org>
10801
10802 * custom.el (custom-variable-p): Return nil for non-symbol
10803 arguments instead of signaling an error.
10804 (user-variable-p): Obsolete alias for custom-variable-p.
10805
10806 * apropos.el (apropos-variable):
10807 * files-x.el (read-file-local-variable):
10808 * simple.el (set-variable):
10809 * woman.el (woman-mini-help):
10810 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
10811
fd06db5d
GM
108122012-04-09 Glenn Morris <rgm@gnu.org>
10813
e5fcdb5e
GM
10814 * startup.el (normal-top-level): Don't look for leim-list.el
10815 in places where it will not be found. (Bug#910)
10816
fd06db5d
GM
10817 * international/mule-cmds.el (set-default-coding-systems):
10818 * files.el (normal-mode):
10819 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
10820 This function was removed with ucs-tables.el in 2008.
10821
b39bb7e1
EZ
108222012-04-08 Eli Zaretskii <eliz@gnu.org>
10823
10824 * textmodes/ispell.el (ispell-check-version): For hunspell, set
10825 ispell-encoding8-command to "-i", without a trailing space.
10826 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
10827 separate command-line arguments, to specify the encoding, since
10828 that's how hunspell expects it.
10829
5c5b8e23
GM
108302012-04-08 Glenn Morris <rgm@gnu.org>
10831
10832 * loadup.el: Load bindings before cus-start.
10833 This reduces somewhat the number of "rogue" settings in emacs -Q.
10834
a1ed8b05
GM
108352012-04-07 Glenn Morris <rgm@gnu.org>
10836
10837 * version.el (emacs-bzr-get-version): New function.
dfae128a 10838 (emacs-bzr-version): New variable.
a1ed8b05
GM
10839 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
10840 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
10841
b142f158
EZ
108422012-04-07 Eli Zaretskii <eliz@gnu.org>
10843
dfae128a
GM
10844 * international/uni-bidi.el, international/uni-category.el:
10845 * international/uni-combining.el, international/uni-decimal.el:
10846 * international/uni-decomposition.el, international/uni-digit.el:
10847 * international/uni-lowercase.el, international/uni-mirrored.el:
10848 * international/uni-name.el, international/uni-numeric.el:
10849 * international/uni-titlecase.el, international/uni-uppercase.el:
10850 Update for Unicode 6.1.
b142f158 10851
9078ead6
EZ
108522012-04-07 Eli Zaretskii <eliz@gnu.org>
10853
10854 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
10855
f23d2c7d
LMI
108562012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
10857
10858 * window.el (shrink-window): Mention the `window-min-height'
10859 variable in the doc string.
10860
0a0a3573
BG
108612012-04-05 Bastien Guerry <bzg@altern.org>
10862
10863 * color.el (color-lighten-name): Fix typo.
10864
e5248ac9
SM
108652012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
10866
10867 * server.el (server--on-display-p): New function.
10868 (server--on-display-p): Use it.
10869
b4243e22
GV
108702012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
10871
10872 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
10873 (bug#11145).
10874
305d9f44
SM
108752012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
10876
10877 * comint.el (comint--common-quoted-suffix): Check string boundary
10878 before comparing (bug#11158).
10879 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
10880
3d439cd1
CY
108812012-04-04 Chong Yidong <cyd@gnu.org>
10882
321cc491
CY
10883 * minibuffer.el (completion-extra-properties): Doc fix.
10884
3d439cd1
CY
10885 * subr.el (delayed-warnings-hook): Doc fix.
10886
2d562c0f
DU
108872012-04-04 Daiki Ueno <ueno@unixuser.org>
10888
10889 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
10890 selection (Bug#11159).
10891 (epa-insert-keys): Inform that the default public key will be
10892 exported if no key is selected.
10893
4443f204
RS
108942012-04-04 Richard Stallman <rms@gnu.org>
10895
10896 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
10897
529c06b6
CY
108982012-04-03 Chong Yidong <cyd@gnu.org>
10899
10900 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
10901 mail-insert-file, not its obsolete alias mail-attach-file.
10902
66b907dc
MA
109032012-04-03 Michael Albinus <michael.albinus@gmx.de>
10904
10905 * notifications.el (notifications-notify): Fix docstring.
10906
c0ea195d
GM
109072012-04-02 Glenn Morris <rgm@gnu.org>
10908
10909 * emacs-lisp/authors.el (authors-aliases): Another addition.
10910
5ca64e00
MA
109112012-04-02 Michael Albinus <michael.albinus@gmx.de>
10912
10913 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
10914 `tramp-compat-call-process' instead of `tramp-local-call-process'.
10915 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
10916
42ee526b
CY
109172012-04-01 Chong Yidong <cyd@gnu.org>
10918
10919 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
10920 Handle root directory properly.
10921 (copy-directory): Caller changed.
10922
10923 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
10924 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
10925
0b021094
GM
109262012-03-31 Glenn Morris <rgm@gnu.org>
10927
40f86458
GM
10928 * term/xterm.el (xterm-extra-capabilities): Doc fix.
10929
7019c177
GM
10930 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
10931
a1daddd6
GM
10932 * calendar/calendar.el (calendar-window-list)
10933 (calendar-hide-window): Restore. (Bug#11140)
10934 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
10935
0b021094
GM
10936 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
10937
40311efc
TV
109382012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10939
10940 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
10941 Check if file is a symlink (Bug#10489).
10942
10943 * files.el (copy-directory): Likewise.
10944
5319014e
CY
109452012-03-30 Chong Yidong <cyd@gnu.org>
10946
10947 * image.el (imagemagick-types-inhibit)
10948 (imagemagick-register-types): Doc fix.
10949
935d1290
AM
109502012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10951
090bd7cb 10952 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 10953 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 10954 and treats ~word as ordinary words in pipe mode.
935d1290 10955
61c6e8fd
GM
109562012-03-30 Glenn Morris <rgm@gnu.org>
10957
10958 * tutorial.el (help-with-tutorial): Ensure local variables don't
10959 happen to make the buffer read-only. (Bug#11127)
10960
81fdff00
SM
109612012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
10962
10963 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
10964 (perl-calculate-indent): Return `noindent' in strings.
10965
6e7a6ec0
SS
109662012-03-28 Sam Steingold <sds@gnu.org>
10967
10968 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
10969 instead of the broken adhockery which does not prevent calendar
10970 buffers from being displayed at random after exit.
10971 (calendar-window-list, calendar-hide-window): Remove the broken
10972 adhockery.
10973
fee88ca0
GM
109742012-03-28 Glenn Morris <rgm@gnu.org>
10975
10976 * replace.el (query-replace-map): Doc fix.
10977
38de3354
AS
109782012-03-28 Andreas Schwab <schwab@linux-m68k.org>
10979
10980 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
10981 contents. (Bug#11109)
10982
b973155e
SM
109832012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
10984
10985 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
10986 (bug#11077).
10987 (avl-tree--check, avl-tree--check-node): New funs.
10988
dcb6e7b3
MR
109892012-03-27 Martin Rudalics <rudalics@gmx.at>
10990
10991 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
10992 (switch-to-prev-buffer, switch-to-next-buffer):
10993 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
10994 showing a buffer already is done on the same frame.
10995
b4fa35fa
GM
109962012-03-27 Glenn Morris <rgm@gnu.org>
10997
10998 * startup.el (mail-host-address): Doc fix.
10999
f9210e18
SM
110002012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11001
11002 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
11003 than 197 variables.
11004
c0bf7753
AF
110052012-03-26 Ami Fischman <ami@fischman.org>
11006
11007 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
11008
33da7b16
GM
110092012-03-26 Glenn Morris <rgm@gnu.org>
11010
02243d9d
GM
11011 * files.el (save-buffers-kill-emacs): Doc fix.
11012
33da7b16
GM
11013 * startup.el (normal-top-level, command-line, command-line-1):
11014 Give them doc strings.
11015
e5a69fd0
EZ
110162012-03-25 Eli Zaretskii <eliz@gnu.org>
11017
11018 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 11019 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 11020
9a69676a
CY
110212012-03-25 Chong Yidong <cyd@gnu.org>
11022
4125cb8b
CY
11023 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
11024 theme if it was previously enabled before (Bug#11031).
11025
dd470960
CY
11026 * cus-theme.el (custom-theme-write-faces): Retrieve current face
11027 spec with custom-face-get-current-spec if its :shown-value is not
11028 determined yet (Bug#9337).
4125cb8b 11029 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 11030
9a69676a
CY
11031 * button.el (button-at): Minor addition to docstring.
11032
6e7e90fa
SL
110332012-03-24 Simon Leinen <simon.leinen@gmail.com>
11034
11035 * vc/vc.el (vc-merge): Fix a prompt.
11036
f06e2758
CY
110372012-03-24 Chong Yidong <cyd@gnu.org>
11038
11039 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
11040 point (Bug#9623).
11041
6e7e90fa
SL
11042 * button.el (button-at): Minor addition to docstring.
11043
b9d0879b
SM
110442012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
11045
11046 * newcomment.el (comment-choose-indent): No space after BOL.
11047
e71cebb3
SS
110482012-03-22 Sam Steingold <sds@gnu.org>
11049
11050 * window.el (switch-to-prev-buffer): Revert last patch because the
11051 bug turned out to be an advertised feature (Elisp manual 28.14).
11052
335aff35
GM
110532012-03-22 Glenn Morris <rgm@gnu.org>
11054
11055 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
11056 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
11057
c676576a
LMI
110582012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
11059
11060 * net/network-stream.el (network-stream-open-starttls): Make error
11061 message under Windows be less misleading.
11062
126f3d39
LW
110632012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
11064
11065 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
11066 understands (bug#9942).
11067
64fee311
CY
110682012-03-22 Chong Yidong <cyd@gnu.org>
11069
11070 * simple.el (end-of-visible-line): Handle return value of
11071 next-single-property-change properly (Bug#9371).
11072
a640d29a
KH
110732012-03-22 Kenichi Handa <handa@m17n.org>
11074
11075 * international/quail.el (quail-insert-kbd-layout): Fix previous
11076 change. To avoid unwanted bidi reordering, use
11077 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
11078
39675016
DG
110792012-03-21 Dmitry Gutov <dgutov@yandex.ru>
11080
11081 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
11082 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
11083 (ruby-beginning-of-indent): Be more careful with the difference
11084 between word-boundary and symbol boundary.
11085 (ruby-mode-syntax-table): Make : a symbol constituent.
11086
0a6934fc 110872012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 11088
3d008e4f
SM
11089 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
11090
0a6934fc
SM
110912012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
11092
af67c9d7
SM
11093 * progmodes/etags.el (tags-completion-at-point-function):
11094 Improve last fix.
11095
1acad97c
SM
11096 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
11097
e298b5da
SS
110982012-03-21 Sam Steingold <sds@gnu.org>
11099
11100 * progmodes/etags.el (tags-completion-at-point-function):
11101 Avoid the error when point is inside the pattern.
11102
91d82a70
JY
111032012-03-21 John Yates <john@yates-sheets.org> (tiny change)
11104
11105 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
11106 line (Bug#10855).
11107
69188b79
CY
111082012-03-21 Drew Adams <drew.adams@oracle.com>
11109
11110 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
11111
99fc91fe
AK
111122012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
11113
11114 * ido.el (ido-set-current-directory, ido-read-internal)
11115 (ido-choose-completion-string, ido-completion-help): Handle nil
11116 value of ido-completion-buffer (Bug#11008).
11117
087bbb4c
SS
111182012-03-21 Sam Steingold <sds@gnu.org>
11119
11120 * window.el (switch-to-prev-buffer): Do not switch to a visible
11121 window previous buffer, just like with the frame previous buffers.
11122
fb5b8aca
CY
111232012-03-21 Chong Yidong <cyd@gnu.org>
11124
11125 * faces.el (make-face, make-empty-face, copy-face):
11126 * face-remap.el (face-remap-add-relative, face-remap-set-base):
11127 Doc fixes.
11128
dc9924b8
SM
111292012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
11130
11131 * wid-edit.el (widget-complete-field): Remove (bug#11051).
11132 (widget-complete): Remove broken use of it.
11133
f0bcceb9
CY
111342012-03-20 Chong Yidong <cyd@gnu.org>
11135
dc9924b8
SM
11136 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
11137 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
11138 characters.
11139
ee52ebf3
TH
111402012-03-20 Tassilo Horn <tassilo@member.fsf.org>
11141
11142 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
11143 to draw rectangles, not squares. (Regression introduced by revno
11144 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
11145
4c5779ab
CY
111462012-03-18 Chong Yidong <cyd@gnu.org>
11147
11148 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
11149 it is not yet defined (for temacs).
11150
15360934
LL
111512012-03-18 Leo Liu <sdl.web@gmail.com>
11152
735135f9
PE
11153 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
11154 prefix.
15360934 11155
d9a8eb66
EZ
111562012-03-17 Eli Zaretskii <eliz@gnu.org>
11157
11158 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
11159 (ispell-choices-win-default-height, ispell-silently-savep)
11160 (ispell-dictionary-alist, ispell-encoding8-command)
11161 (ispell-check-version, ispell-aspell-find-dictionary)
11162 (ispell-valid-dictionary-list, ispell-words-keyword)
11163 (ispell-get-word, ispell-internal-change-dictionary)
11164 (ispell-region, ispell-skip-region-list)
11165 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
11166 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
11167 (ispell-message-text-end, ispell-message)
11168 (ispell-buffer-local-parsing): Doc fix.
11169
f02ff80d
J
111702012-03-13 Jambunathan K <kjambunathan@gmail.com>
11171
11172 * htmlfontify.el: Add support for code block fontification for ODT
11173 export (Bug #9914).
11174 (hfy-optimisations): Define new option
11175 `body-text-only'
11176 (hfy-fontify-buffer): Honor above setting.
11177 (hfy-begin-span, hfy-end-span): New routines factored out form
11178 `hfy-fontify-buffer'.
11179 (hfy-begin-span-handler, hfy-end-span-handler): New variables
11180 that permit insertion of custom tags.
11181 (hfy-fontify-buffer): Use above handlers.
11182 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
11183 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 11184 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 11185 over multiple runs. This is made possible by having the caller let
f02ff80d
J
11186 bind a special variable `hfy-user-sheet-assoc'.
11187 (htmlfontify-string): New defun.
11188 (hfy-compile-face-map): Make sure that the last char in the
11189 buffer is correctly fontified.
11190 (hfy-face-resolve-face): Whitespace only change.
11191
9ac7a13f
EZ
111922012-03-17 Eli Zaretskii <eliz@gnu.org>
11193
11194 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
11195 message more clear.
11196
e2b5bdd7
LL
111972012-03-16 Leo Liu <sdl.web@gmail.com>
11198
11199 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
11200
2e492df3
AM
112012012-03-16 Alan Mackenzie <acm@muc.de>
11202
11203 Further optimise the handling of large macros.
11204
11205 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
11206 limit to a call of `c-literal-limits'.
11207 (c-determine-+ve-limit): New function.
dc9924b8
SM
11208 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
11209 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
11210 In CASE 5B, restrict a search limit to 500.
11211 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
11212
11213 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
11214 Restrict macro bounds to +-500 from after-change's BEG END.
11215
50e94f0c
LL
112162012-03-16 Leo Liu <sdl.web@gmail.com>
11217
11218 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
11219
6f09f6ed
AH
112202012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
11221
11222 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 11223 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 11224
c7e73d51
GM
112252012-03-16 Glenn Morris <rgm@gnu.org>
11226
da986230
GM
11227 * view.el (view-buffer, view-buffer-other-window)
11228 (view-buffer-other-frame): Doc fixes re special mode-class.
11229
0835f01e
GM
11230 * subr.el (eval-after-load): If named feature is provided not from
11231 a file, run after-load forms. (Bug#10946)
11232
c7e73d51
GM
11233 * calendar/calendar.el (calendar-insert-at-column):
11234 Handle non-unit-width characters a bit better. (Bug#10978)
11235
3f2eafd1
CY
112362012-03-15 Chong Yidong <cyd@gnu.org>
11237
11238 * emacs-lisp/ring.el (ring-extend): New function.
11239 (ring-insert+extend): Extend the ring correctly (Bug#11019).
11240
11241 * comint.el (comint-read-input-ring)
11242 (comint-add-to-input-history): Grow comint-input-ring lazily.
11243
103af3fe
SM
112442012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
11245
663b1677
SM
11246 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
11247 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
11248
103af3fe
SM
11249 * imenu.el: Fix multiple inheritance breakage (bug#9199).
11250 (imenu-add-to-menubar): Don't add a redundant index.
11251 (imenu-update-menubar): Handle a dynamically composed keymap.
11252
899cb7cb
KY
112532012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
11254
11255 * mail/sendmail.el (mail-encode-header):
11256 Bind rfc2047-encode-encoded-words to nil.
11257
3809f91d
GM
112582012-03-13 Glenn Morris <rgm@gnu.org>
11259
11260 * calendar/calendar.el (calendar-string-spread):
11261 Handle non-unit-width characters a bit better. (Bug#10978)
11262
9e345a01
LL
112632012-03-13 Leo Liu <sdl.web@gmail.com>
11264
11265 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
11266 directory and file as argument (Bug#10822).
11267
4a07df36
KS
112682012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
11269
11270 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
11271 For dynamically generated code, follow $PC.
11272 (gdb-disassembly-handler-custom): Handle no function name case.
11273
4aaa9356
TL
112742012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
11275
11276 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
11277 * emulation/ws-mode.el (ws-query-replace):
11278 * sort.el (sort-regexp-fields):
11279 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
11280
225979da
SM
112812012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11282
11283 * dabbrev.el: Fix cycle completion order (bug#10963).
11284 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
11285 (dabbrev-completion): Don't use an obarray; provide
11286 a cycle-sort-function.
11287
e2f1fdab
LL
112882012-03-12 Leo Liu <sdl.web@gmail.com>
11289
dc9924b8 11290 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
11291 (kill-do-not-save-duplicates): Doc fix.
11292
b19490ed
SM
112932012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11294
11295 * dabbrev.el: Fix cycle completion (bug#10963).
11296 Use lexical binding and wrap to 80 columns.
11297 (dabbrev-completion): Delay computing the list of completions.
11298
4b05d722
KH
112992012-03-12 Kenichi Handa <handa@m17n.org>
11300
11301 * international/quail.el (quail-insert-kbd-layout): Surround each
11302 row by LRO and PDF instead of inserting many LRMs. Pad the left
11303 and right of each non-spacing marks. Insert invisible space
11304 between lower and upper characters to prevent composition.
11305
dbbc2e69
SM
113062012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11307
11308 * minibuffer.el (minibuffer-complete): Don't get confused when the
11309 function is run twice via different commands (bug#10958).
11310 (complete-with-action): Fix docstring.
11311
292112ed
CY
113122012-03-12 Chong Yidong <cyd@gnu.org>
11313
5d1ac394
CY
11314 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
11315 (nxml-completion-at-point-function): New function.
11316 (nxml-mode): Use it.
11317 (nxml-bind-meta-tab-to-complete-flag): Default to t.
11318
292112ed
CY
11319 * emacs-lisp/package.el (package-unpack, package-unpack-single):
11320 Load generated autoloads file before byte compiling (Bug#10970).
11321 (package--make-autoloads-and-compile): New helper fun.
11322
4098f8f7
CS
113232012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
11324
11325 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
11326
8f754691
MA
113272012-03-11 Michael Albinus <michael.albinus@gmx.de>
11328
11329 * autorevert.el (auto-revert-handler): Ensure, that
11330 file-readable-p is applied only for local files or in
11331 auto-revert-tail-mode.
11332
e29ab36b
AS
113332012-03-11 Andreas Schwab <schwab@linux-m68k.org>
11334
dbbc2e69
SM
11335 * server.el (server-eval-at): Handle non-tcp connections.
11336 Decode result string.
ad0bf5b6 11337
e29ab36b
AS
11338 * server.el (server-msg-size): New constant.
11339 (server-reply-print): New function.
11340 (server-eval-and-print): Use it.
11341 (server-eval-at): Use server-quote-arg and server-unquote-arg.
11342 Handle -print-nonl.
11343
de5939ba
CS
113442012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
11345
11346 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
11347 (Bug#10987).
11348
0c93eabf
CY
113492012-03-11 Chong Yidong <cyd@gnu.org>
11350
397a688f
CY
11351 * simple.el (goto-line): Doc fix (Bug#9938).
11352
2cc775f9
CY
11353 * subr.el (save-window-excursion): Doc fix (Bug#9979).
11354
0c93eabf
CY
11355 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
11356 when finished (Bug#10963).
11357
c491fa41
MR
113582012-03-11 Martin Rudalics <rudalics@gmx.at>
11359
11360 * window.el (split-window-below): Fix bug in case where
11361 split-window-keep-point is nil (Bug#10971).
11362
300e8fa5
JL
113632012-03-11 Juri Linkov <juri@jurta.org>
11364
11365 * replace.el (replace-highlight): Set isearch-word to nil
11366 unconditionally. (Bug#10887)
11367
dbf6c5a1
EZ
113682012-03-10 Eli Zaretskii <eliz@gnu.org>
11369
11370 * net/mairix.el (mairix-replace-invalid-chars): Rename from
11371 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 11372 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
11373 (mairix-widget-create-query): Add usage information about mairix
11374 search forms: negating words, searching for substrings, etc.
11375
b9e501de
JP
113762012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
11377
11378 * international/fontset.el (font-encoding-alist): Add an entry for
11379 ksx1001 (Bug#5667).
11380
92795c91
RS
113812012-03-10 Richard Stallman <rms@gnu.org>
11382
1694e6c1
RS
11383 * mail/sendmail.el (mail-encode-header):
11384 Set rfc2047-encode-encoded-words.
11385
607e8555
RS
11386 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
11387
de3bc99a
RS
11388 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
11389 view buffer means not swapped.
11390 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
11391 (rmail-write-region-annotate): Error if real text has disappeared.
11392
92795c91
RS
11393 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
11394
699bd04e
CY
113952012-03-10 Chong Yidong <cyd@gnu.org>
11396
11397 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
11398 * emulation/cua-base.el (cua--init-keymaps):
11399 Add delete-forward-char to remappings (Bug#9666).
699bd04e 11400
570a1714
MR
114012012-03-10 Martin Rudalics <rudalics@gmx.at>
11402
dbbc2e69
SM
11403 * speedbar.el (speedbar-unhighlight-one-tag-line):
11404 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 11405
82dcf4e4
CY
114062012-03-10 Chong Yidong <cyd@gnu.org>
11407
7a2c7ca7
CY
11408 * minibuffer.el (completion-in-region, completion-help-at-point):
11409 Give the completion field overlay a high priority (Bug#6830).
11410
82dcf4e4
CY
11411 * dired.el (dired-goto-file): Recognize absolute file name
11412 listings (Bug#7126).
11413 (dired-goto-file-1): New helper function.
11414 (dired-toggle-read-only): Inhibit warnings.
11415
052e28ac
MA
114162012-03-09 Michael Albinus <michael.albinus@gmx.de>
11417
75f1671a 11418 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
11419 there are no properties.
11420
95d5e396
LL
114212012-03-09 Leo Liu <sdl.web@gmail.com>
11422
11423 * savehist.el (savehist-printable): Stricter check for string
11424 value (Bug#10937).
11425
3f018d6d
EZ
114262012-03-09 Eli Zaretskii <eliz@gnu.org>
11427
dbbc2e69
SM
11428 * mail/smtpmail.el (smtpmail-send-it):
11429 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
11430 valid mbox format.
11431
f7fd3d79
GM
114322012-03-09 Glenn Morris <rgm@gnu.org>
11433
11434 * files.el (dir-locals-find-file):
11435 Don't check result is regular, readable.
11436 (dir-locals-read-from-file): Demote errors.
11437
6ff6e72f
EZ
114382012-03-08 Eli Zaretskii <eliz@gnu.org>
11439
dbbc2e69
SM
11440 * international/quail.el (quail-insert-kbd-layout):
11441 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
11442 layout cell, to prevent their reordering by bidi display engine.
11443 For details, see the discussion in
11444 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
11445
9cec7834
AM
114462012-03-08 Alan Mackenzie <acm@muc.de>
11447
11448 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
11449 the starting position; make it extend the marked region when
11450 invoked repeatedly - all under appropriate circumstances.
11451 Fixes bugs #5525, #10906.
11452
9a40b8d4
GM
114532012-03-08 Glenn Morris <rgm@gnu.org>
11454
11455 * files.el (locate-dominating-file, dir-locals-find-file):
11456 Undo 2012-03-06 change.
11457
7a08ed35
EZ
114582012-03-07 Eli Zaretskii <eliz@gnu.org>
11459
dbbc2e69
SM
11460 * international/quail.el (quail-help):
11461 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
11462 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
11463 for the reason.
11464
5aca4f71 114652012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
11466
11467 Avoid superfluous registering of signals. (Bug#10807)
11468
11469 * notifications.el (notifications-on-action-object)
11470 (notifications-on-close-object): New defvars.
11471 (notifications-on-action-signal, notifications-on-closed-signal):
11472 Unregister the signal if not needed any longer.
11473 (notifications-notify): Register `notifications-action-signal' or
11474 `notifications-closed-signal', if :on-action or :on-close has been
11475 passed as argument.
11476
78e8b10a
CY
114772012-03-07 Chong Yidong <cyd@gnu.org>
11478
11479 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
11480 non-X platforms.
11481
69481eb8
GM
114822012-03-06 Glenn Morris <rgm@gnu.org>
11483
11484 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
11485 (x-disown-selection-internal, x-get-selection-internal):
11486 Doc fix (add arglist signatures). (Bug#10783)
11487
133b8e11
KS
114882012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
11489
11490 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
11491 Handle breakpoints with no "type".
11492
99a83064
GM
114932012-03-06 Glenn Morris <rgm@gnu.org>
11494
11495 * files.el (locate-dominating-file): Add optional predicate argument.
11496 (dir-locals-find-file): Make use of above change.
11497
17798e78
TTN
114982012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
11499
11500 * info.el (Info-insert-dir): Also try "dir.gz".
11501
eb182446
GM
115022012-03-06 Glenn Morris <rgm@gnu.org>
11503
8f2114ee
GM
11504 * files.el (dir-locals-find-file):
11505 Ignore non-readable or non-regular files. (Bug#10928)
11506
eb182446
GM
11507 * files.el (locate-dominating-file): Doc fix.
11508
24679323
AS
115092012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
11510
11511 * calendar/calendar.el (calendar-set-mode-line):
11512 `getenv' returns a string. (Bug#10951)
11513
01d972a9
LL
115142012-03-05 Leo Liu <sdl.web@gmail.com>
11515
109aa8a9
LL
11516 * simple.el (backward-delete-char-untabify): Constrain point to
11517 field (Bug#10939).
11518
01d972a9
LL
11519 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
11520
10607bea
CY
115212012-03-05 Chong Yidong <cyd@gnu.org>
11522
11523 * simple.el (count-words): If called from Lisp, return the word
11524 count, for symmetry with `count-lines'. Arglist changed.
11525 (count-words--message): Args changed. Consolidate counting code
11526 from count-words and count-words-region.
11527 (count-words-region): Caller changed.
11528 (count-lines-region): Make it an obsolete alias.
11529
5dd11cfe
TH
115302012-03-04 Tassilo Horn <tassilo@member.fsf.org>
11531
11532 * saveplace.el (save-place-to-alist)
11533 (save-place-ignore-files-regexp): Allow value nil to disable this
11534 feature.
11535
c349f4e6
CY
115362012-03-04 Chong Yidong <cyd@gnu.org>
11537
11538 * faces.el (face-spec-reset-face): For the default face, reset the
11539 attributes to default values (Bug#10748).
11540
e627be4c
LMI
115412012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
11542
11543 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
11544 previous patch: Check `message-send-mail-function', and not the
11545 default function (bug#10897).
11546
ebeabff4
MA
115472012-03-04 Michael Albinus <michael.albinus@gmx.de>
11548
a41a6cf4
MA
11549 * notifications.el (notifications-on-action-signal)
11550 (notifications-on-closed-signal): Check for unique service name of
11551 incoming event. Fix error in removing entry.
ebeabff4 11552 (top): Register for signals with wildcard service name.
a41a6cf4 11553 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 11554
c1ca42b4
CY
115552012-03-04 Chong Yidong <cyd@gnu.org>
11556
dc9924b8 11557 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 11558
ea16568d
GM
115592012-03-04 Glenn Morris <rgm@gnu.org>
11560
11561 * abbrev.el (copy-abbrev-table, abbrev-table-p)
11562 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
11563 (expand-abbrev, define-abbrev-table): Doc fixes.
11564
fbae4637
LMI
115652012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11566
11567 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
11568 `message-default-send-mail-function' and not `send-mail-function'
11569 when doing the prompting for `sendmail-query-once' before sending
11570 in Message buffers (bug#10897).
11571
a1e7225c
LMI
11572 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
11573 This is inconsistent with all the other stream functions, which leave
11574 the setting up to the higher levels (if so wanted) (bug#10931).
11575
56d093a9
AM
115762012-03-02 Alan Mackenzie <acm@muc.de>
11577
11578 Depessimize the handling of very large macros.
11579
11580 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
11581 (c-macro-cache-syntactic): New variables to implement a one
11582 element macro cache.
11583 (c-invalidate-macro-cache): New function.
11584 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
11585 Adapt to use the new cache.
11586 (c-state-safe-place): Use better the cache of safe positions.
11587 (c-state-semi-nonlit-pos-cache)
11588 (c-state-semi-nonlit-pos-cache-limit):
11589 New variables for...
11590 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
11591 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
11592 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
11593 Use c-state-semi-safe-place.
56d093a9 11594
dbbc2e69
SM
11595 * progmodes/cc-langs.el (c-get-state-before-change-functions):
11596 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 11597
817e5c3d
MA
115982012-03-02 Michael Albinus <michael.albinus@gmx.de>
11599
dbbc2e69
SM
11600 * jka-compr.el (jka-compr-call-process):
11601 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
11602 not remote.
11603
a032a702
MA
116042012-03-01 Michael Albinus <michael.albinus@gmx.de>
11605
11606 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
11607 access of FILE2, if FILE1 does not exist.
11608
99a54f21
MA
11609 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
11610 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
11611
11612 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
11613 Add "PAGER=" to `process-environment'.
11614
f6561e1f
MM
116152012-03-01 Michael R. Mauger <mmaug@yahoo.com>
11616
11617 * progmodes/sql.el: Bug fix
11618 (sql-get-login-ext): Save login values in globals.
11619 (sql-get-login): Use new version of `sql-get-login-ext'.
11620 (sql-interactive-mode): Set global `sql-connection' to nil.
11621 (sql-connect): Set global values for connection.
11622 (sql-product-interactive): Save global values as buffer local.
11623
2d44d9cc
LL
116242012-02-29 Leo Liu <sdl.web@gmail.com>
11625
11626 * abbrev.el (define-abbrevs): Reset sys to nil.
11627
96b49301 116282012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11629
bf7f9bc5
JB
11630 * files.el (file-equal-p): Rename from `files-equal-p'.
11631 Return nil when one or both files don't exist.
96b49301 11632 (file-subdir-of-p): Now only top directory must exists,
11633 return nil if it doesn't.
bf7f9bc5
JB
11634 (copy-directory): No need to test with `file-subdir-of-p' after
11635 creating dir.
11636 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
11637 to `file-equal-p'.
96b49301 11638
44e97401
GM
116392012-02-28 Glenn Morris <rgm@gnu.org>
11640
11641 * shell.el (shell-mode):
11642 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
11643 * play/landmark.el (landmark-font-lock-face-O):
11644 * play/handwrite.el (handwrite):
11645 * play/gomoku.el (gomoku-O):
11646 * net/browse-url.el (browse-url-browser-display):
11647 * international/mule.el (define-charset):
11648 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
11649 * filesets.el (filesets-find-file-delay):
11650 * eshell/em-xtra.el (eshell-xtra):
11651 * eshell/em-unix.el (eshell-grep):
11652 * emulation/viper.el (viper-mode):
11653 * emacs-lisp/regexp-opt.el (regexp-opt-group):
11654 * emacs-lisp/easymenu.el (easy-menu-define):
11655 * calendar/timeclock.el (timeclock-use-display-time):
11656 * bs.el (bs-mode):
11657 * bookmark.el (bookmark-save-flag):
11658 Doc fix (standardize possessive apostrophe usage).
11659
c98c6276
CY
116602012-02-27 Chong Yidong <cyd@gnu.org>
11661
bf7f9bc5
JB
11662 * emulation/viper-cmd.el (viper-intercept-ESC-key):
11663 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 11664
c98c6276
CY
11665 * font-lock.el (font-lock-specified-p): Rename from
11666 font-lock-spec-present. Callers changed.
11667
9c62cd04 116682012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 11669
bf7f9bc5
JB
11670 * emacs-lisp/package.el (package-compute-transaction):
11671 Handle holding a package version to t in package-load-list.
8ac9e529 11672
530739c9
MA
116732012-02-26 Michael Albinus <michael.albinus@gmx.de>
11674
11675 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
11676 (tramp-get-inode, tramp-get-device): Use cached values.
11677
487915d7
AM
116782012-02-26 Alan Mackenzie <acm@muc.de>
11679
11680 Check there is a font-lock specification before doing initial
11681 fontification.
11682
11683 * font-core.el (font-lock-mode): Move the conditional from
11684 :after-hook to font-lock-initial-fontify.
11685 (font-lock-default-function): Move the check for a specification
11686 to font-lock-spec-present.
11687
dc9924b8 11688 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
11689 (font-lock-spec-present): New function.
11690
4fd96557
JB
116912012-02-26 Jim Blandy <jimb@red-bean.com>
11692
11693 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
11694 (gdb-send): Apply it to the operand of the '-interpreter-exec
11695 console' command, so that we can pass arguments with (say) quotes
11696 in them. Store exact string sent in gdb-debug-log (Bug#10765).
11697
9a4888c0
CY
116982012-02-26 Chong Yidong <cyd@gnu.org>
11699
07498861
CY
11700 * help-fns.el (describe-function-1): Clarify description of
11701 remapping (Bug#10844).
11702
9a4888c0
CY
11703 * files.el (files-equal-p): Doc fix.
11704 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
11705 and quit the loop once a mismatch is found.
11706
ea8fb88d
JB
117072012-02-25 Juanma Barranquero <lekktu@gmail.com>
11708
11709 * bs.el (bs--show-with-configuration): Don't throw an error
11710 if the window cannot be split; otherwise, subsequent calls to
11711 bs-show fail, restoring a stale window config. (Bug#10882)
11712
525795c1
JD
117132012-02-25 Jan Djärv <jan.h.d@swipnet.se>
11714
11715 * term/ns-win.el (global-map): Bind ns-drag-file to
11716 ns-find-file (Bug#5855, Bug#10050).
11717
f008086f
AS
117182012-02-25 Andreas Schwab <schwab@linux-m68k.org>
11719
11720 * calendar/parse-time.el (parse-time-string): Allow extractor to
11721 return nil.
11722
a3fcfa99
MA
117232012-02-25 Michael Albinus <michael.albinus@gmx.de>
11724
91027d08
JB
11725 * net/tramp.el (tramp-file-name-for-operation):
11726 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
11727
11728 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
11729 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
11730 Add COPY-CONTENTS argument.
a3fcfa99 11731
67b0de11
CY
117322012-02-25 Chong Yidong <cyd@gnu.org>
11733
11734 Add custom groups for VC backends, for consistency with vc-bzr.
11735
11736 * vc/vc-arch.el (vc-arch):
11737 * vc/vc-cvs.el (vc-cvs):
11738 * vc/vc-git.el (vc-git):
11739 * vc/vc-hg.el (vc-hg):
11740 * vc/vc-mtn.el (vc-mtn):
11741 * vc/vc-rcs.el (vc-rcs):
11742 * vc/vc-sccs.el (vc-sccs):
11743 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
11744 All relevant defcustoms reassigned.
11745
3c9dfce6
CY
117462012-02-25 Chong Yidong <cyd@gnu.org>
11747
1339bf43
CY
11748 * newcomment.el (comment-styles): Add autoload (Bug#10868).
11749
3c9dfce6
CY
11750 * term/x-win.el (x-initialize-window-system): Reduce default for
11751 x-selection-timeout to 5 seconds (Bug#8869).
11752
25b2e303 117532012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11754
ec70a47d
GM
11755 * files.el (files-equal-p, file-subdir-of-p): New functions.
11756 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 11757 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
11758 * dired-aux.el (dired-copy-file-recursive): Same.
11759 (dired-create-files): Modify destination when source is equal to
11760 dest when copying files.
53a46cd0 11761 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 11762
914260cd
MA
117632012-02-24 Michael Albinus <michael.albinus@gmx.de>
11764
11765 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
11766 (Bug#10874)
11767
2cb228f7
AM
117682012-02-23 Alan Mackenzie <acm@muc.de>
11769
11770 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
11771 parameter "after-hook:" to allow the expansion to run code after
11772 the execution of the mode hooks.
11773
11774 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 11775 from font-lock-mode-internal.
2cb228f7 11776
91027d08 11777 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
11778 :after-hook.
11779
8f0fde21
SM
117802012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
11781
3e88618b
SM
11782 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
11783 (completion--cache-all-sorted-completions): New function.
11784 (completion-all-sorted-completions): Use it.
11785 (completion--do-completion, minibuffer-force-complete):
11786 Use it to re-instate the flush hook.
11787
8f0fde21
SM
11788 * icomplete.el (icomplete-completions): Replace last fix with a better
11789 one (bug#10850).
11790
8e911f6f
DG
117912012-02-23 Dmitry Gutov <dgutov@yandex.ru>
11792
11793 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
11794 when it might call us back infinitely (bug#10797).
11795
49fe4321
GM
117962012-02-23 Glenn Morris <rgm@gnu.org>
11797
11798 * minibuffer.el (completion-category-overrides): Doc fix.
11799
b291b572
SM
118002012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
11801
11802 * minibuffer.el (completion-table-with-context): Fix inf-loop.
11803 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
11804
31a9ef2e
GM
118052012-02-23 Glenn Morris <rgm@gnu.org>
11806
5e6e6794 11807 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
11808 (authors-obsolete-files-regexps, authors-ignored-files)
11809 (authors-ambiguous-files, authors-renamed-files-alist):
11810 Add more entries.
11811
0bd1e074
JL
118122012-02-23 Juri Linkov <juri@jurta.org>
11813
11814 * isearch.el (isearch-occur): Sync interactive spec with occur's
11815 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
11816
b617673c
JL
11817 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
11818
19e9789e
JL
118192012-02-22 Juri Linkov <juri@jurta.org>
11820
11821 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
11822 (ucs-insert): Doc fix. Check for hex digits in the string.
11823 Don't display `nil' in the error message. (Bug#10857)
11824
f41ce09d
AM
118252012-02-22 Alan Mackenzie <acm@muc.de>
11826
7a71b18d 11827 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 11828
ac2eceee
GM
118292012-02-22 Glenn Morris <rgm@gnu.org>
11830
11831 * ffap.el (ffap-c-path):
11832 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
11833
abd1f678
CY
118342012-02-22 Chong Yidong <cyd@gnu.org>
11835
11836 * custom.el (load-theme): Doc fix.
11837
f25aef2e
GM
118382012-02-22 Glenn Morris <rgm@gnu.org>
11839
11840 * dired-x.el (dired-guess-shell-alist-default):
11841 Remove escape sequences from nroff output. (Bug#172)
11842
5f8dc2ca
GM
118432012-02-21 Glenn Morris <rgm@gnu.org>
11844
6ff86ec4
GM
11845 * vc/emerge.el (emerge-defvar-local):
11846 Set `permanent-local' property rather than unused `preserved'.
11847
be3223a3 11848 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
11849 (picture-mode-map): Use it. (Bug#10860)
11850 (picture-mode): Doc fix.
11851
3fe58f4f
JB
118522012-02-21 Juanma Barranquero <lekktu@gmail.com>
11853
11854 * newcomment.el (uncomment-region-default): Remove unused binding.
11855
f9a998c3
GM
118562012-02-21 Glenn Morris <rgm@gnu.org>
11857
11858 * textmodes/picture.el (picture-motion, picture-motion-reverse)
11859 (picture-self-insert, picture-tab-chars): Doc fix.
11860 (picture-mode-map): Fix C-a, C-e.
11861
c6029348
GM
118622012-02-20 Glenn Morris <rgm@gnu.org>
11863
11864 * emacs-lisp/authors.el (authors-aliases): Add another entry.
11865
ab1ce9d7
LL
118662012-02-20 Leo Liu <sdl.web@gmail.com>
11867
11868 * icomplete.el (icomplete-completions): Check FROM arg before
11869 passing to substring (Bug#10850).
11870
0fd40f89
CY
118712012-02-19 Chong Yidong <cyd@gnu.org>
11872
11873 * comint.el: Require ansi-color.
11874 (comint-output-filter-functions): Add ansi-color-process-output.
11875
11876 * ansi-color.el: Don't set comint-output-filter-functions; it is
11877 now in the initial value defined in comint.el.
11878 (ansi-color-apply-face-function): New variable.
11879 (ansi-color-apply-on-region): Use it.
11880 (ansi-color-apply-overlay-face): New function.
11881
11882 * shell.el (shell): No need to require ansi-color.
11883 (shell-mode): Use ansi-color-apply-face-function to highlight
11884 color escapes using font-lock-face property (Bug#10835).
11885
20af2394
CY
118862012-02-19 Chong Yidong <cyd@gnu.org>
11887
11888 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
11889 mode-line formats (Bug#10839).
11890
e23a3fbe
GM
118912012-02-18 Glenn Morris <rgm@gnu.org>
11892
b474519e
GM
11893 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
11894
11895 * mail/undigest.el (unforward-rmail-message): Doc fix.
11896
e23a3fbe
GM
11897 * saveplace.el (save-place-ignore-files-regexp): Add :version.
11898
57939ff4
EZ
118992012-02-18 Eli Zaretskii <eliz@gnu.org>
11900
11901 * international/characters.el (script-list): Sync with the latest
11902 Unicode Character Database.
11903
0c23686e
AS
119042012-02-18 Andreas Schwab <schwab@linux-m68k.org>
11905
11906 * international/titdic-cnv.el: Remove duplicate coding tag.
11907 * language/cham.el: Likewise.
11908 * language/tai-viet.el: Likewise.
11909
6818b449
GM
119102012-02-18 Glenn Morris <rgm@gnu.org>
11911
11912 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
11913 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
11914 (calendar-bahai-all-holidays-flag, calendar-other-dates):
11915 * calendar/diary-lib.el (diary-abbreviated-year-flag):
11916 * calendar/holidays.el (holiday-bahai-holidays)
11917 (calendar-holidays, list-holidays):
11918 Use utf-8 Bahá'í in doc-strings, menus, etc.
11919
0311a3fc
TH
119202012-02-17 Tassilo Horn <tassilo@member.fsf.org>
11921
11922 * saveplace.el (save-place-ignore-files-regexp): New variable
11923 allowing for excluding files from saving their location of point.
11924 The default value matches the temporary commit message editing
11925 files from Git, SVN, Bazaar, and Mercurial.
11926 (save-place-to-alist): Use it.
11927
d209e2fb 119282012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 11929 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
11930
11931 * newcomment.el (uncomment-region-default): Don't leave extra space
11932 when an arg is provided (bug#8150).
11933
ee0ce425
TZ
119342012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
11935
eb864a71 11936 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 11937
95ddf442
GM
119382012-02-17 Glenn Morris <rgm@gnu.org>
11939
11940 * net/socks.el: Require network-stream. (Bug#10599)
11941
48dd1e39 119422012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
11943
11944 * international/charprop.el:
11945 * international/uni-name.el:
11946 * international/uni-old-name.el:
11947 * international/uni-comment.el: Regenerate.
11948
d68cd087
GM
119492012-02-16 Glenn Morris <rgm@gnu.org>
11950
11951 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
11952 Interactively in calendar buffer, give an error if not on a date.
11953
13932042
GM
119542012-02-15 Glenn Morris <rgm@gnu.org>
11955
11956 * shell.el (shell-delimiter-argument-list):
11957 Revert 2011-02-17 change. (Bug#8027)
11958
c3a70e2b
CY
119592012-02-15 Chong Yidong <cyd@gnu.org>
11960
60236b0d
CY
11961 * minibuffer.el (completion-at-point-functions): Doc fix.
11962
c3a70e2b
CY
11963 * custom.el (defcustom): Doc fix; note use of defvar.
11964
9f26dc24
GM
119652012-02-15 Glenn Morris <rgm@gnu.org>
11966
11967 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
11968 Doc fixes.
11969
6546b134
GM
119702012-02-14 Glenn Morris <rgm@gnu.org>
11971
11972 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
11973
d29b2b4c
LI
119742012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
11975
11976 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
11977 way the ports list is computed.
835bdcba
LI
11978 (smtpmail-query-smtp-server): Prompt the user for a port number if
11979 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 11980
08dcdbc9
TZ
119812012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
11982
11983 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
11984
2605051a
GM
119852012-02-13 Glenn Morris <rgm@gnu.org>
11986
11987 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
11988
7ee99f32
TZ
119892012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
11990
11991 * net/gnutls.el (gnutls-trustfiles): New variable.
11992 (gnutls-negotiate): Use it.
11993
5f0af64f
LI
119942012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
11995
11996 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
11997 does its stuff if Gnus is running.
11998
c14fcc95
AM
119992012-02-13 Alan Mackenzie <acm@muc.de>
12000
12001 Fix a loop in c-set-fl-decl-start.
12002
7a71b18d 12003 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
12004 c-backward-syntactic-ws actually moves backwards.
12005
142b4d90
LL
120062012-02-13 Leo Liu <sdl.web@gmail.com>
12007
12008 * net/rcirc.el (rcirc-markup-attributes): Move point to the
12009 beginning so that all \C-o chars are removed.
12010
fa9958a6
TZ
120112012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
12012
dc9924b8 12013 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 12014
0bc5886a
AM
120152012-02-12 Alan Mackenzie <acm@muc.de>
12016
12017 Fix infinite loop with long macros.
4d6769e1 12018 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 12019
d4bd55e7
CY
120202012-02-12 Chong Yidong <cyd@gnu.org>
12021
12022 * window.el (display-buffer): Doc fix (Bug#10785).
12023
66f3fe22
GM
120242012-02-12 Glenn Morris <rgm@gnu.org>
12025
bd7da63e
GM
12026 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
12027 (x-disown-selection-internal, x-get-selection-internal):
12028 Sync docs with the xselect.c versions.
12029
66f3fe22
GM
12030 * allout-widgets.el: Add missing license notice.
12031
3e0d2fa7
GM
120322012-02-11 Glenn Morris <rgm@gnu.org>
12033
cfecdf09
GM
12034 * select.el (x-get-selection-internal, x-own-selection-internal)
12035 (x-disown-selection-internal):
12036 * x-dnd.el (x-get-selection-internal): Update declarations.
12037
6d216d7f
GM
12038 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
12039
2bed3f04
GM
12040 * window.el (window-sides-slots):
12041 * tool-bar.el (tool-bar-position):
12042 * term/xterm.el (xterm-extra-capabilities):
12043 * ses.el (ses-self-reference-early-detection):
12044 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
12045 (verilog-auto-wire-type)
12046 (verilog-auto-delete-trailing-whitespace)
12047 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
12048 (verilog-auto-tieoff-declaration):
12049 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
12050 (sql-oracle-statement-starters, sql-oracle-scan-on):
12051 * progmodes/prolog.el (prolog-align-comments-flag)
12052 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
12053 (prolog-left-indent-regexp, prolog-paren-indent-p)
12054 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
12055 (prolog-types, prolog-mode-specificators)
12056 (prolog-determinism-specificators, prolog-directives)
12057 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
12058 (prolog-electric-dot-flag)
12059 (prolog-electric-dot-full-predicate-template)
12060 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
12061 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
12062 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
12063 (prolog-program-switches, prolog-prompt-regexp)
12064 (prolog-debug-on-string, prolog-debug-off-string)
12065 (prolog-trace-on-string, prolog-trace-off-string)
12066 (prolog-zip-on-string, prolog-zip-off-string)
12067 (prolog-use-standard-consult-compile-method-flag)
12068 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
12069 (prolog-imenu-max-lines, prolog-info-predicate-index)
12070 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
12071 (prolog-char-quote-workaround):
12072 * progmodes/cc-vars.el (c-defun-tactic):
12073 * net/tramp.el (tramp-encoding-command-interactive)
12074 (tramp-local-end-of-line):
12075 * net/soap-client.el (soap-client):
12076 * net/netrc.el (netrc-file):
12077 * net/gnutls.el (gnutls):
12078 * minibuffer.el (completion-category-overrides)
12079 (completion-cycle-threshold)
12080 (completion-pcm-complete-word-inserts-delimiters):
12081 * man.el (Man-name-local-regexp):
12082 * mail/feedmail.el (feedmail-display-full-frame):
12083 * international/characters.el (glyphless-char-display-control):
12084 * eshell/em-ls.el (eshell-ls-date-format):
12085 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
12086 (lisp-lambda-list-keyword-parameter-indentation)
12087 (lisp-lambda-list-keyword-parameter-alignment):
12088 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
12089 * dired-x.el (dired-omit-verbose):
12090 * cus-theme.el (custom-theme-allow-multiple-selections):
12091 * calc/calc.el (calc-highlight-selections-with-faces)
12092 (calc-lu-field-reference, calc-lu-power-reference)
12093 (calc-note-threshold):
12094 * battery.el (battery-mode-line-limit):
12095 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
12096 (archive-7z-update):
12097 * allout.el (allout-prefixed-keybindings)
12098 (allout-unprefixed-keybindings)
12099 (allout-inhibit-auto-fill-on-headline)
12100 (allout-flattened-numbering-abbreviation):
12101 * allout-widgets.el (allout-widgets-auto-activation)
12102 (allout-widgets-icons-dark-subdir)
12103 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
12104 (allout-widgets-theme-dark-background)
12105 (allout-widgets-theme-light-background)
12106 (allout-widgets-item-image-properties-emacs)
12107 (allout-widgets-item-image-properties-xemacs)
12108 (allout-widgets-run-unit-tests-on-load)
12109 (allout-widgets-time-decoration-activity)
12110 (allout-widgets-hook-error-post-time)
12111 (allout-widgets-track-decoration):
12112 Add missing :version tags to new defcustoms and defgroups.
12113
5fec1b8e
GM
12114 * progmodes/sql.el (sql-ansi-statement-starters)
12115 (sql-oracle-statement-starters): Add custom type.
12116
3e0d2fa7
GM
12117 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
12118 (prolog-system-version): Give it a type.
12119
90b671e2
EZ
121202012-02-11 Eli Zaretskii <eliz@gnu.org>
12121
12122 * term/pc-win.el (x-select-text, x-selection-owner-p)
12123 (x-own-selection-internal, x-disown-selection-internal)
12124 (x-get-selection-internal): Sync doc strings and argument lists
12125 with xselect.c, common-win.el and x-win.el. (Bug#10783)
12126
5eac0c02
LL
121272012-02-11 Leo Liu <sdl.web@gmail.com>
12128
12129 * progmodes/python.el (python-end-of-statement): Fix infinite
12130 loop. (Bug#10788)
12131
f82cb659
GM
121322012-02-10 Glenn Morris <rgm@gnu.org>
12133
12134 * international/mule-cmds.el (unify-8859-on-encoding-mode)
12135 (unify-8859-on-decoding-mode): Properly mark as obsolete.
12136
cc26d239
LI
121372012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
12138
12139 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
12140 about SMTP before checking the From header.
12141
91027d08 12142 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
12143 into own function for reuse by emacsbug.el.
12144
1be3ca5a
LL
121452012-02-10 Leo Liu <sdl.web@gmail.com>
12146
12147 * subr.el (condition-case-unless-debug): Rename from
12148 condition-case-no-debug. All callers changed.
12149 (with-demoted-errors): Fix caller.
12150
12151 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
12152 * nxml/rng-valid.el (rng-do-some-validation):
12153 * emacs-lisp/package.el (package-refresh-contents)
12154 (package-menu-execute):
12155 * desktop.el (desktop-create-buffer):
91027d08 12156 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 12157
b011fbfe
GM
121582012-02-10 Glenn Morris <rgm@gnu.org>
12159
b2096d72
GM
12160 * textmodes/bibtex.el:
12161 Add missing :version tags for new/changed defcustoms.
12162
b011fbfe
GM
12163 * files.el (remote-file-name-inhibit-cache): Doc fixes.
12164
4c7e65bf
LI
121652012-02-09 Lars Ingebrigtsen <larsi@rusty>
12166
12167 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
12168 (smtpmail-via-smtp): Use it, or fall back on the From address.
12169 (smtpmail-send-it): Ditto.
12170
f3934f6f
SM
121712012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
12172
12173 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
12174 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
12175 (byte-compile-tmp-var): New const.
12176 (byte-compile-defvar): Use it to minimize .elc size.
12177 Just use `defvar' rather than simulate it (bug#10761).
12178
a075a2c5
GM
121792012-02-09 Glenn Morris <rgm@gnu.org>
12180
cf3aa21b
GM
12181 * files.el (rename-uniquely): Doc fix. (Bug#3806)
12182
354998cd
GM
12183 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
12184 Add :version tags.
12185
dc9924b8
SM
12186 * progmodes/compile.el (compilation-error-screen-columns)
12187 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 12188
dab3703d
GM
12189 * vc/log-view.el (log-view-toggle-entry-display):
12190 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
12191
3f88cd72
GM
12192 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
12193 (report-emacs-bug-can-use-xdg-email):
12194 (report-emacs-bug-insert-to-mailer): Doc fixes.
12195 (report-emacs-bug): Message fix.
12196
d95b247d
GM
12197 * net/browse-url.el (browse-url-can-use-xdg-open)
12198 (browse-url-xdg-open): Doc fixes.
12199
a075a2c5
GM
12200 * electric.el (electric-indent-mode, electric-pair-mode)
12201 (electric-layout-rules, electric-layout-mode): Doc fixes.
12202 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
12203
ffb6157e
MR
122042012-02-08 Martin Rudalics <rudalics@gmx.at>
12205
12206 * server.el (server-unselect-display): Don't inadvertently kill
12207 the current buffer. (Bug#10729)
12208
e1ac4066
GM
122092012-02-08 Glenn Morris <rgm@gnu.org>
12210
34e8a2da
GM
12211 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
12212 (sql-list-table): Doc fixes.
12213
b4ac6e8c
GM
12214 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
12215 Comment out (does nothing).
12216
e1ac4066
GM
12217 * completion.el (dynamic-completion-mode):
12218 * dirtrack.el (dirtrack-debug-mode):
12219 * electric.el (electric-layout-mode):
12220 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
12221 * face-remap.el (text-scale-mode, buffer-face-mode):
12222 * iimage.el (iimage-mode):
12223 * image-mode.el (image-transform-mode):
12224 * minibuffer.el (completion-in-region-mode):
12225 * scroll-lock.el (scroll-lock-mode):
12226 * simple.el (next-error-follow-minor-mode):
12227 * tar-mode.el (tar-subfile-mode):
12228 * tooltip.el (tooltip-mode):
12229 * vcursor.el (vcursor-use-vcursor-map):
12230 * wid-browse.el (widget-minor-mode):
12231 * emulation/tpu-edt.el (tpu-edt-mode):
12232 * emulation/tpu-extras.el (tpu-cursor-free-mode):
12233 * international/iso-ascii.el (iso-ascii-mode):
12234 * language/thai-util.el (thai-word-mode):
12235 * mail/supercite.el (sc-minor-mode):
12236 * net/goto-addr.el (goto-address-mode):
12237 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
12238 * progmodes/cwarn.el (cwarn-mode):
12239 * progmodes/flymake.el (flymake-mode):
12240 * progmodes/glasses.el (glasses-mode):
12241 * progmodes/hideshow.el (hs-minor-mode):
12242 * progmodes/pascal.el (pascal-outline-mode):
12243 * textmodes/enriched.el (enriched-mode):
12244 * vc/smerge-mode.el (smerge-mode):
12245 Doc fixes (minor mode argument).
12246
5e0d957f
EZ
122472012-02-07 Eli Zaretskii <eliz@gnu.org>
12248
12249 * ls-lisp.el (ls-lisp-sanitize): New function.
12250 (ls-lisp-insert-directory): Use it to fix or remove any elements
12251 in file-alist with missing attributes. (Bug#4673)
12252
98d7371e
AM
122532012-02-07 Alan Mackenzie <acm@muc.de>
12254
12255 Fix spurious recognition of c-in-knr-argdecl.
12256
12257 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
12258 putative K&R region.
12259
667ced3a
AM
122602012-02-07 Alan Mackenzie <acm@muc.de>
12261
eb864a71
LM
12262 * progmodes/cc-engine.el (c-forward-objc-directive):
12263 Prevent looping in "#pragma mark @implementation".
667ced3a 12264
5b77774d
MA
122652012-02-07 Michael Albinus <michael.albinus@gmx.de>
12266
12267 * notifications.el (notifications-on-closed-signal): Make `reason'
12268 optional. (Bug#10744)
12269
af008560
GM
122702012-02-07 Glenn Morris <rgm@gnu.org>
12271
60d47423
GM
12272 * emacs-lisp/easy-mmode.el (define-minor-mode):
12273 Doc fixes for the macro and the mode it defines.
12274
dd605cc4
GM
12275 * image.el (imagemagick-types-inhibit): Doc fix.
12276
af008560
GM
12277 * cus-start.el (imagemagick-render-type): Add it.
12278
5cc59a37
LI
122792012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
12280
4d6769e1
JB
12281 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
12282 Set the default at load time, too, so that `font-lock-fontify-buffer'
12283 can be called without setting up the entire mode first. This fixes
12284 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 12285
9a6dd747
CY
122862012-02-06 Chong Yidong <cyd@gnu.org>
12287
2d16b285
CY
12288 * simple.el (list-processes--refresh): Delete exited processes
12289 (Bug#8094).
12290
171e9b6e
CY
12291 * comint.el (comint-next-prompt): next-single-char-property-change
12292 and prev-single-char-property-change never return nil (Bug#8657).
12293
9a6dd747
CY
12294 * custom.el (defcustom): Doc fix (Bug#9711).
12295
aa4589a7
CY
122962012-02-05 Chong Yidong <cyd@gnu.org>
12297
5c2a252f
CY
12298 * cus-edit.el (custom-variable-reset-backup): Quote the value
12299 before storing it in the customized-value property (Bug#6712).
4aab9006 12300 (custom-display): Add a customization type tag.
983b9602 12301 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 12302
aa4589a7
CY
12303 * wid-edit.el (widget-field-value-get): New optional arg to
12304 suppress trailing whitespace truncation.
12305 (character): Use it (Bug#2689).
12306
1ff980ae
AS
123072012-02-05 Andreas Schwab <schwab@linux-m68k.org>
12308
12309 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
12310 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
12311
03988c98
CY
123122012-02-05 Chong Yidong <cyd@gnu.org>
12313
eeb6cc88
CY
12314 * cus-edit.el (custom-variable-value-create): For mismatched
12315 types, show the current value (Bug#7600).
12316
03988c98
CY
12317 * custom.el (defcustom): Doc fix.
12318
f8cdeef0
GM
123192012-02-05 Glenn Morris <rgm@gnu.org>
12320
12321 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
12322
0696d255
JB
123232012-02-05 Juanma Barranquero <lekktu@gmail.com>
12324
12325 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
12326 (pp-buffer): Use `ignore-errors', `looking-at-p'.
12327 (pp-last-sexp): Use `looking-at-p'.
12328
34c99998
GM
123292012-02-04 Glenn Morris <rgm@gnu.org>
12330
8f05da42
GM
12331 * files.el (revert-buffer):
12332 Doc fix (mention revert-buffer-in-progress-p).
12333
f160676e
GM
12334 * emacs-lisp/ert-x.el (ert-simulate-command):
12335 Check deferred-action-list (which is obsolete) is bound.
12336
c7291ad9
GM
12337 * subr.el (with-wrapper-hook): Doc fixes.
12338
34c99998
GM
12339 * simple.el (filter-buffer-substring-functions)
12340 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
12341
6283a7d3
LL
123422012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
12343
12344 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
12345 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
12346
e96e3013
LL
123472012-02-04 Leo Liu <sdl.web@gmail.com>
12348
12349 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
12350
8ded50f2
GM
123512012-02-04 Glenn Morris <rgm@gnu.org>
12352
82ff1d13
GM
12353 * image.el (image-extension-data): Add obsolete alias.
12354
987a0a16
GM
12355 * isearch.el (isearch-update): Doc fix.
12356
ea32ef46
GM
12357 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
12358
8ded50f2
GM
12359 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
12360
eea14f31
GM
123612012-02-03 Glenn Morris <rgm@gnu.org>
12362
12363 * image.el (image-animated-p): Doc fix. Use image-animated-types.
12364 (image-animate-timeout): Doc fix.
12365
12366 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
12367
12f381b7
GM
123682012-02-02 Glenn Morris <rgm@gnu.org>
12369
953cebf5
GM
12370 * server.el (server-auth-dir): Doc fix.
12371 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
12372
12f381b7
GM
12373 * subr.el (run-mode-hooks): Doc fix.
12374
953a8c3b
JL
123752012-02-02 Juri Linkov <juri@jurta.org>
12376
12377 * image-mode.el (image-toggle-display-image): Remove tautological
12378 `major-mode' from the `derived-mode-p' test.
12379
c5d3843c
KH
123802012-02-02 Kenichi Handa <handa@m17n.org>
12381
9f6e692e 12382 * composite.el (compose-region): Cancel previous change.
c5d3843c 12383
159462d4 123842012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
12385
12386 * composite.el (compose-region, compose-string): Signal error for
12387 a null string component (Bug#6988).
12388
9f562668
CY
123892012-02-01 Chong Yidong <cyd@gnu.org>
12390
e2cef717
CY
12391 * view.el (view-buffer-other-window, view-buffer-other-frame):
12392 Handle special modes like view-buffer (Bug#10650).
12393 (view-buffer): Simplify.
12394
9f562668
CY
12395 * frame.el (set-frame-font): Tweak meaning of third argument.
12396
9f6e692e
JB
12397 * dynamic-setting.el (font-setting-change-default-font):
12398 Use set-frame-font (Bug#9982).
9f562668 12399
781acb9f
GM
124002012-02-01 Glenn Morris <rgm@gnu.org>
12401
6035be52
GM
12402 * progmodes/compile.el (compilation-internal-error-properties):
12403 Respect compilation-first-column in the "*compilation*" buffer.
12404
781acb9f
GM
12405 * emacs-lisp/easy-mmode.el (define-minor-mode):
12406 Relax :variable's test for a named function.
12407
abbceb00
AM
124082012-01-31 Alan Mackenzie <acm@muc.de>
12409
12410 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
12411 off by one error.
12412
fce3fdeb
CY
124132012-01-31 Chong Yidong <cyd@gnu.org>
12414
12415 * frame.el (set-frame-font): New arg ALL-FRAMES.
12416
12417 * menu-bar.el (menu-set-font): Use set-frame-font.
12418
12419 * faces.el (face-spec-reset-face): Don't apply unspecified
12420 attribute values to the default face.
12421
47893581
JB
124222012-01-31 Juanma Barranquero <lekktu@gmail.com>
12423
12424 * progmodes/cwarn.el (cwarn): Remove dead link.
12425 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
12426 Remove * from defcustom docstrings.
12427 (turn-on-cwarn-mode): Make obsolete.
12428 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
12429 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
12430
e58e988a
GM
124312012-01-31 Glenn Morris <rgm@gnu.org>
12432
60dc2671 12433 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 12434 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 12435 Allow named functions to be used as the cdr of :variable.
e58e988a 12436
7a3f511d
GM
124372012-01-30 Glenn Morris <rgm@gnu.org>
12438
12439 * emacs-lisp/authors.el (authors-fixed-entries):
12440 Remove reference to deleted file rnewspost.el.
12441
cb882333
JB
124422012-01-29 Juanma Barranquero <lekktu@gmail.com>
12443
12444 * window.el (window-with-parameter): Remove unused variable `windows'.
12445 (window--side-check): Remove unused variable `code'.
12446 (window--resize-siblings): Remove unused variable `first'.
12447 (adjust-window-trailing-edge): Remove unused variable `failed'.
12448 (window-deletable-p, window--delete): Remove unused variable `buffer'.
12449 Use `let', not `let*'.
12450 (balance-windows-2): Remove unused variable `found'.
12451 (window--state-put-2): Remove unused variable `splits'.
12452 (window-state-put): Remove unused variable `selected'.
12453 (same-window-p): Use `string-match-p'.
12454 (display-buffer-assq-regexp): Remove unused variable `value'.
12455 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
12456 Mark argument ALIST as ignored.
12457 (pop-to-buffer): Remove unused variable `old-window'.
12458
907201af
EZ
124592012-01-29 Eli Zaretskii <eliz@gnu.org>
12460
12461 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
12462 and .lzma compressed files.
12463
ea162670
CY
124642012-01-29 Chong Yidong <cyd@gnu.org>
12465
5b95ee8a
CY
12466 * frame.el (window-system-default-frame-alist): Doc fix.
12467
ea162670
CY
12468 * dynamic-setting.el (font-setting-change-default-font): Don't
12469 change the default face if SET-FONT argument is non-nil (Bug#9982).
12470
6fccd6e8 124712012-01-29 Samuel Bronson <naesten@gmail.com>
d6e6f4b1
SB
12472
12473 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
12474
0f29fa41 124752012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
12476
12477 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
12478 breakpoints in files outside current directory (Bug#6098).
12479
db174434
CY
124802012-01-29 Chong Yidong <cyd@gnu.org>
12481
6b25e4e2
SE
12482 * progmodes/python.el: Require ansi-color at top-level.
12483
6df6ae42
JB
12484 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
12485 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
12486 (lisp-mode-abbrev-table): Add doc.
12487 (lisp-mode-variables): Don't set local-abbrev-table.
12488 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
12489
e70ee681
RW
124902012-01-28 Roland Winkler <winkler@gnu.org>
12491
12492 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
12493
ace88aa2
RW
124942012-01-28 Roland Winkler <winkler@gnu.org>
12495
12496 * textmodes/bibtex.el (bibtex-entry-alist): New function.
12497 (bibtex-set-dialect): Use it. Either set global values of
12498 dialect-dependent variables or bind these variables buffer-locally
12499 (Bug#10254).
12500 (bibtex-mode): Call bibtex-set-dialect via
12501 hack-local-variables-hook.
eb864a71
LM
12502 (bibtex-dialect): Update docstring.
12503 Add safe-local-variable predicate.
ace88aa2
RW
12504 (bibtex-entry-alist, bibtex-field-alist): Initialize via
12505 bibtex-set-dialect.
12506 (bibtex-mode-map): Define menu for each dialect.
12507 (bibtex-entry): Fix docstring.
12508
93376c5b
CY
125092012-01-28 Chong Yidong <cyd@gnu.org>
12510
12511 * eshell/esh-arg.el (eshell-quote-argument): New function.
12512
12513 * eshell/esh-ext.el (eshell-invoke-batch-file):
12514 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
12515 first arg to eshell-parse-command (Bug#10523).
12516
4372494f
DA
125172012-01-28 Drew Adams <drew.adams@oracle.com>
12518
12519 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
12520 `default-directory' is non-nil.
12521
4d4ec1f8
EZ
125222012-01-28 Eli Zaretskii <eliz@gnu.org>
12523
12524 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
12525 line that displays system-configuration-options. (Bug#9924)
12526
7c188927
DA
125272012-01-28 Drew Adams <drew.adams@oracle.com>
12528
12529 * descr-text.el (describe-char): Show information about POS, in
12530 addition to information about the character at POS. Improve and
12531 update the doc string. Change "code point" to "code point in
12532 charset", to avoid confusion with the character's Unicode code
12533 point shown above that. (Bug#10129)
12534
e0da685a
EZ
125352012-01-28 Eli Zaretskii <eliz@gnu.org>
12536
12537 * descr-text.el (describe-char): Show the raw character, not only
12538 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
12539 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
12540 for the reasons.
12541
70550acf
PH
125422012-01-28 Phil Hagelberg <phil@hagelb.org>
12543
eb864a71
LM
12544 * emacs-lisp/package.el (package-install):
12545 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 12546
0ce8e868
CY
125472012-01-28 Chong Yidong <cyd@gnu.org>
12548
cb882333
JB
12549 * emacs-lisp/package.el (package-maybe-load-descriptor):
12550 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
12551 (package-maybe-load-descriptor): Use it.
12552 (package-download-transaction): Fully load required packages
12553 inside the loop, so that `require' calls work (Bug#10593).
12554 (package-install): No need to call package-initialize now.
12555
2e7f3bea
CY
125562012-01-28 Chong Yidong <cyd@gnu.org>
12557
6e9bad14
CY
12558 * simple.el (deactivate-mark): Doc fix (Bug#8614).
12559
f823b8ca
CY
12560 * tooltip.el (tooltip-mode): Doc fix.
12561 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
12562
2680c309
CY
12563 * frame.el (set-cursor-color): Doc fix (Bug#352).
12564
d7a9e63b
CY
12565 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
12566 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
12567
2e7f3bea
CY
12568 * cus-edit.el (custom-buffer-create-internal): Fix search button
12569 action (Bug#10542).
2ae01800 12570 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 12571
fc4f7a23
EW
125722012-01-27 Eduard Wiebe <usenet@pusto.de>
12573
12574 * dired.el (dired-mark-files-regexp):
12575 Include any subdirectory components. (Bug#10445)
12576
7dd37071
ML
125772012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
12578
12579 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
12580 Handle [host]:port syntax. (Bug#10533)
12581
a268160b
AH
125822012-01-27 Alex Harsanyi <harsanyi@mac.com>
12583
12584 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
12585
e43273ef
GM
125862012-01-26 Glenn Morris <rgm@gnu.org>
12587
12588 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
12589 * term.el (term-raw-escape-map): Use Control-X-prefix.
12590 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
12591
1edf595d
MR
125922012-01-25 Martin Rudalics <rudalics@gmx.at>
12593
12594 * window.el (window-state-get, window--state-get-1): Don't deal
12595 with fixed-sizeness of windows. Simplify code.
12596
fa8eafef
JC
125972012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
12598
6df6ae42
JB
12599 * window.el (window--state-get-1, window--state-put-2):
12600 Don't save and restore the mark.
fa8eafef 12601
0b21c100
CY
126022012-01-25 Chong Yidong <cyd@gnu.org>
12603
12604 * custom.el (custom-variable-p): Doc fix.
12605
5ae1a6c8
GM
126062012-01-25 Glenn Morris <rgm@gnu.org>
12607
40047858
GM
12608 * dired.el (dired-goto-file): Handle some of the more common
12609 characters that `ls -b' escapes. (Bug#10596)
12610
5ddce96c
GM
12611 * progmodes/compile.el (compilation-next-error-function):
12612 Respect compilation-first-column in the "*compilation*" buffer.
12613 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
12614
5ae1a6c8
GM
12615 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
12616
b559f1a9
GM
126172012-01-24 Glenn Morris <rgm@gnu.org>
12618
12619 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
12620
6725d21a
JD
126212012-01-24 Julien Danjou <julien@danjou.info>
12622
12623 * color.el (color-rgb-to-hsl): Fix value computing.
12624 (color-hue-to-rgb): New function.
12625 (color-hsl-to-rgb): New function.
12626 (color-clamp, color-saturate-hsl, color-saturate-name)
12627 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
12628 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
12629
70df4bbe
GM
126302012-01-24 Glenn Morris <rgm@gnu.org>
12631
12632 * vc/vc-rcs.el (vc-rcs-create-tag):
12633 * vc/vc-sccs.el (vc-sccs-create-tag):
12634 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
12635
802a2ae2
ML
126362012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
12637
12638 * eshell/esh-util.el (eshell-read-hosts-file):
12639 Skip comment lines. (Bug#10549)
12640
d7128bb1
ML
12641 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
12642
d1a5c3b4
JB
126432012-01-23 Juanma Barranquero <lekktu@gmail.com>
12644
2724d9c7
JB
12645 * subr.el (display-delayed-warnings): Doc fix.
12646 (collapse-delayed-warnings): New function to collapse identical
12647 adjacent warnings.
12648 (delayed-warnings-hook): Add it.
d1a5c3b4 12649
a5509865
MA
126502012-01-22 Michael Albinus <michael.albinus@gmx.de>
12651
12652 * net/tramp.el (tramp-action-login): Set connection property "login-as".
12653
a5509865
MA
12654 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
12655 (tramp-default-user-alist): Don't add "pscp".
12656 (tramp-do-copy-or-rename-file-out-of-band): Use connection
12657 property "login-as", if set. (Bug#10530)
12658
cc6d5805
MA
126592012-01-21 Michael Albinus <michael.albinus@gmx.de>
12660
12661 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
12662 "plink1" and "psftp". (Bug#10530)
12663
126642012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
12665
12666 * international/mule-cmds.el (prefer-coding-system): Show a
12667 warning message if the default value of file-name-coding-system
12668 was not changed.
12669
f0960428
JC
126702012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
12671
cb882333
JB
12672 * windmove.el (windmove-reference-loc):
12673 Fix windmove-reference-loc miscalculation.
f0960428 12674
dd6f2a63
JB
126752012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
12676
12677 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
12678 default unit.
12679
7b447e9b
GM
126802012-01-21 Glenn Morris <rgm@gnu.org>
12681
117a9ea1
GM
12682 * international/mule.el (auto-coding-alist): Add .tbz.
12683
7b447e9b
GM
12684 * files.el (local-enable-local-variables): Doc fix.
12685 (inhibit-local-variables-regexps): Rename from
12686 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
12687 Doc fix. Add some extensions from auto-coding-alist.
12688 (inhibit-local-variables-suffixes):
12689 Rename from inhibit-first-line-modes-suffixes. Doc fix.
12690 (inhibit-local-variables-p):
12691 New function, extracted from set-auto-mode-1.
12692 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
12693 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
12694 (hack-local-variables): Doc fix. Make the mode-only case
12695 respect enable-local-variables and friends.
12696 Respect inhibit-local-variables-regexps for file-locals, but
12697 not for directory-locals.
12698 (set-visited-file-name):
12699 Take account of inhibit-local-variables-regexps.
12700 Whether it applies may change as the file name is changed.
12701 * jka-cmpr-hook.el (jka-compr-install):
12702 * jka-compr.el (jka-compr-uninstall):
12703 Update for inhibit-first-line-modes-suffixes name change.
12704
dd6e3cdd
MR
127052012-01-20 Martin Rudalics <rudalics@gmx.at>
12706
12707 * help-macro.el (make-help-screen): Temporarily restore original
12708 binding for minor-mode-map-alist (Bug#10454).
12709
0d0deb38
JD
127102012-01-19 Julien Danjou <julien@danjou.info>
12711
12712 * color.el (color-name-to-rgb): Use the white color to find the max
12713 color component value and return correctly computed values.
12714 (color-name-to-rgb): Add missing float conversion for max value.
12715
34a02f46
MR
127162012-01-19 Martin Rudalics <rudalics@gmx.at>
12717
12718 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
12719 special state value for window-persistent-parameters.
12720 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
12721 (window--state-put-2): Reset all window parameters to nil before
12722 assigning values of persistent parameters.
12723
606c44c4
AM
127242012-01-18 Alan Mackenzie <acm@muc.de>
12725
12726 Eliminate sluggishness and hangs in fontification of "semicolon
12727 deserts".
12728
cb882333
JB
12729 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
12730 Change value 10000 -> 3000.
606c44c4
AM
12731 (c-state-safe-place): Reformulate so it doesn't stack up an
12732 infinite number of wrong entries in c-state-nonlit-pos-cache.
12733 (c-determine-limit-get-base, c-determine-limit): New functions to
12734 determine backward search limits disregarding literals.
12735 (c-find-decl-spots): Amend commenting.
12736 (c-cheap-inside-bracelist-p): New function which detects "={".
12737
12738 * progmodes/cc-fonts.el
12739 (c-make-font-lock-BO-decl-search-function): Give a limit to a
12740 backward search.
12741 (c-font-lock-declarations): Fix an occurrence of point being
12742 undefined. Check additionally for point being in a bracelist or
12743 near a macro invocation without a semicolon so as to avoid a
12744 fruitless time consuming search for a declarator. Give a more
12745 precise search limit for declarators using the new
12746 c-determine-limit.
12747
f3860cea
GM
127482012-01-18 Glenn Morris <rgm@gnu.org>
12749
12750 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
12751 (set-auto-mode): Doc fixes.
12752
1db03b16
GM
127532012-01-17 Glenn Morris <rgm@gnu.org>
12754
0e6038be
GM
12755 * isearch.el (search-nonincremental-instead): Fix doc typo.
12756
1db03b16
GM
12757 * dired.el (dired-insert-directory): Handle newlines in directory name.
12758 (dired-build-subdir-alist): Unescape newlines in directory name.
12759
4cb0aa75
MA
127602012-01-17 Michael Albinus <michael.albinus@gmx.de>
12761
12762 * net/tramp.el (tramp-local-end-of-line): New defcustom.
12763 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
12764 (tramp-action-terminal): Use it. (Bug#10530)
12765
1d00653d
SM
127662012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
12767
12768 * minibuffer.el (completion--replace): Strip properties (bug#10062).
12769
6a6ee00d
MR
127702012-01-16 Martin Rudalics <rudalics@gmx.at>
12771
12772 * window.el (window-state-ignored-parameters): Remove variable.
12773 (window--state-get-1): Rename argument MARKERS to IGNORE.
12774 Handle persistent window parameters. Make copy of clone-of
12775 parameter only if requested. (Bug#10348)
12776 (window--state-put-2): Install a window parameter only if it has
12777 a non-nil value or an existing parameter shall be overwritten.
12778
97912def
MA
127792012-01-15 Michael Albinus <michael.albinus@gmx.de>
12780
12781 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
12782
688070a5
EZ
127832012-01-14 Eli Zaretskii <eliz@gnu.org>
12784
12785 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
12786 don't pass the (nil) value of `upnode' to string-match.
12787
301afadc
CY
127882012-01-14 Chong Yidong <cyd@gnu.org>
12789
12790 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 12791 Fix values recognized by the cursorBlink resource.
301afadc 12792
9e5788aa
PE
127932012-01-14 Paul Eggert <eggert@cs.ucla.edu>
12794
12795 * epg.el (epg--make-temp-file): Avoid permission race condition
12796 when running on old Emacs versions (bug#10403).
12797
3cdb7f5a
GM
127982012-01-14 Glenn Morris <rgm@gnu.org>
12799
12800 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
12801
8c82b1b4
AM
128022012-01-13 Alan Mackenzie <acm@muc.de>
12803
12804 Fix filling for when filladapt mode is enabled.
12805
12806 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
12807 c-mask-paragraph, pass in `fill-paragraph' rather than
12808 `fill-region-as-paragraph'. (This is a reversion of a previous
12809 change.)
eb864a71
LM
12810 * progmodes/cc-mode.el (c-basic-common-init):
12811 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 12812
e517eda4
GM
128132012-01-13 Glenn Morris <rgm@gnu.org>
12814
1498536e
GM
12815 * dired.el (dired-switches-escape-p): New function.
12816 (dired-insert-directory): Use dired-switches-escape-p.
12817 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
12818
e517eda4
GM
12819 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
12820
328f984d
GM
128212012-01-12 Glenn Morris <rgm@gnu.org>
12822
12823 * mail/sendmail.el (mail-mode): Update paragraph-separate for
12824 changes in adaptive-fill-regexp. (Bug#10276)
12825
2cc769a8
AM
128262012-01-11 Alan Mackenzie <acm@muc.de>
12827
12828 Fix Emacs bug #10463 - put `widen's around the critical spots.
12829
1d00653d 12830 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
12831 widen around each invocation of c-state-pp-to-literal. Remove an
12832 unused let variable.
12833
e52c37fa
GM
128342012-01-11 Glenn Morris <rgm@gnu.org>
12835
12836 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 12837 Doc fix.
e52c37fa 12838
96f8741e
CY
128392012-01-10 Chong Yidong <cyd@gnu.org>
12840
1d00653d
SM
12841 * net/network-stream.el (network-stream-open-starttls):
12842 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
12843 response to the capability command.
12844
b09a806e
GM
128452012-01-10 Glenn Morris <rgm@gnu.org>
12846
12847 * mail/unrmail.el (unrmail): Tweak previous change.
12848
7655cb66
CY
128492012-01-09 Chong Yidong <cyd@gnu.org>
12850
12851 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
12852
9d5a8f0b
AM
128532012-01-08 Alan Mackenzie <acm@muc.de>
12854
12855 Optimise font locking in long enum definitions.
12856
12857 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
12858 arm to a cond form to handle enums.
12859 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
12860 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
12861
9a0115ab 128622012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
12863
12864 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 12865 (Bug#10401)
6bb72cbd 12866
f186bb95
LMI
128672012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
12868
29232a68
LMI
12869 * faces.el (set-face-attribute): Clarify the meaning of the nil
12870 frame (bug#10294).
12871
4e5d086d
LMI
12872 * subr.el (with-selected-frame): Mention that the selected frame
12873 is restored (bug#9980).
12874
8e66aebe
LMI
12875 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
12876 (bug#9759).
12877
cd394be1 12878 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
12879 (password-read): Don't autoload unused function.
12880
adf4e762
JB
128812012-01-07 Juanma Barranquero <lekktu@gmail.com>
12882
12883 * progmodes/which-func.el (which-func-mode): Turn into a
12884 non-interactive function and mark as obsolete (bug#10428).
12885
89bd9ccd
CY
128862012-01-06 Chong Yidong <cyd@gnu.org>
12887
12888 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
12889 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
12890 functions, along with 1 and -1.
12891
4afee9d5
EZ
128922012-01-06 Eli Zaretskii <eliz@gnu.org>
12893
12894 * time.el (display-time-load-average)
12895 (display-time-default-load-average): Doc fixes. See the thread
12896 starting at
12897 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
12898 for the details.
12899
536aea70
GM
129002012-01-06 Glenn Morris <rgm@gnu.org>
12901
665ae865
GM
12902 * mail/unrmail.el (unrmail): Give an explicit error if the input file
12903 has no messages. (Bug#10377)
12904
c869783d
GM
12905 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
12906 than Info-edit. (Bug#10385)
12907
2bb4227e
GM
12908 * time.el (display-time-load-average, display-time-next-load-average):
12909 Doc fixes.
12910
7d5944b9
GM
12911 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
12912 local setting of buffer-read-only to the input buffer. (Bug#10419)
12913
536aea70
GM
12914 * calendar/calendar.el (calendar-mode):
12915 Locally set scroll-margin to 0. (Bug#10379)
12916
7dccca16
UM
129172012-01-06 Ulrich Mueller <ulm@gentoo.org>
12918
12919 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
12920
afbb7930
GM
129212012-01-05 Glenn Morris <rgm@gnu.org>
12922
12923 * eshell/em-unix.el (diff-no-select): Autoload it.
12924 (eshell/diff): Use diff-no-select. (Bug#10420)
12925
04482335
CY
129262012-01-05 Chong Yidong <cyd@gnu.org>
12927
7baca3bc
CY
12928 * shell.el (shell-dynamic-complete-functions): Revert last change.
12929 (shell-command-completion-function): New function.
12930 (shell-completion-vars): Use it to implement
12931 shell-completion-execonly (Bug#10417).
12932
04482335
CY
12933 * custom.el (enable-theme): Don't set custom-safe-themes.
12934
1d00653d
SM
12935 * cus-theme.el (custom-theme-merge-theme):
12936 Ignore custom-enabled-themes and custom-safe-themes.
04482335 12937
bb5aa5d6
MM
129382012-01-05 Michael R. Mauger <mmaug@yahoo.com>
12939
12940 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
12941 first prompt in `sql-interacive-mode'.
12942 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 12943 keywords.
6df6ae42 12944 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
12945 (sql-product-interactive): Bug fix: Set `sql-buffer' in
12946 context of original buffer. Invoke `sql-login-hook'.
12947
a7183d7c
EZ
129482012-01-04 Eli Zaretskii <eliz@gnu.org>
12949
12950 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
12951 letters in cite-prefix.
12952
a1eacd1e
LMI
129532012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12954
12955 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
12956
787cdb34
CY
129572012-01-03 Chong Yidong <cyd@gnu.org>
12958
1d00653d
SM
12959 * shell.el (shell-dynamic-complete-functions):
12960 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
12961 comint-filename-completion first (Bug#10417).
12962
30710442
RS
129632012-01-02 Richard Stallman <rms@gnu.org>
12964
12965 * battery.el (battery-status-function):
12966 Detect when to use battery-yeeloong-sysfs.
12967 (battery-echo-area-format): Add string for Yeeloong.
12968 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
12969 (battery-yeeloong-sysfs): New function.
12970
f75bfc33
CY
129712012-01-02 Chong Yidong <cyd@gnu.org>
12972
12973 * dirtrack.el (dirtrack-list): Eliminate unused third element.
12974 (dirtrack): Merge code for handling relative filenames in prompt
12975 from shell-dir-cookie-watcher.
12976 (dirtrack-debug-message): New arg to avoid excess format calls.
12977
12978 * shell.el (shell-dir-cookie-re): Variable deleted.
12979 (shell-dir-cookie-watcher): Function deleted.
12980 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
12981 with dirtrack-mode.
12982
651e947e
EZ
129832012-01-01 Eli Zaretskii <eliz@gnu.org>
12984
1d00653d
SM
12985 * term/w32-win.el (dynamic-library-alist) <gnutls>:
12986 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
12987 libgnutls-26.dll.
12988
94d4c7dc
AS
129892011-12-31 Andreas Schwab <schwab@linux-m68k.org>
12990
12991 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
12992
8d43f3cd
EZ
129932011-12-31 Eli Zaretskii <eliz@gnu.org>
12994
12995 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
12996 headers of non-MIME messages, when rmail-enable-mime is non-nil.
12997
98c8795a
MA
129982011-12-29 Michael Albinus <michael.albinus@gmx.de>
12999
13000 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
13001 also for alternative shells.
13002 (tramp-open-connection-setup-interactive-shell): Check, whether
13003 the shell is a busybox.
13004 (tramp-send-command): Don't suppress multiple prompts for
13005 busyboxes, it hurts.
13006
51281b32
CY
130072011-12-28 Chong Yidong <cyd@gnu.org>
13008
13009 * progmodes/gdb-mi.el (gdb-get-source-file-list)
13010 (gdb-get-source-file): Move mode line update to
13011 gdb-get-source-file (Bug#10087).
13012
2170cb53
CY
130132011-12-25 Chong Yidong <cyd@gnu.org>
13014
13015 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
13016 gud-gdb-marker-filter without taking it as an argument.
13017 (gud-gdb-run-command-fetch-lines): Caller changed.
13018 (gud-gdb-completion-function): New variable.
13019 (gud-gdb-completion-at-point): Use it.
13020 (gud-gdb-completions-1): Split from gud-gdb-completions.
13021
13022 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
13023 function as separate arguments.
13024 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
13025 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
13026 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
13027 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
13028 (gdb-stopped, def-gdb-auto-update-trigger)
13029 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
13030 (gdb-get-changed-registers, gdb-get-main-selected-frame):
13031 Callers changed.
2170cb53
CY
13032 (gud-gdbmi-completions): New function.
13033 (gdb): Use it for generating the completion table.
13034
be8b11bb
AM
130352011-12-24 Alan Mackenzie <acm@muc.de>
13036
13037 Introduce a mechanism to widen the region used in context font
1d00653d 13038 locking. Use this to protect declarations from losing their contexts.
be8b11bb 13039
1d00653d
SM
13040 * progmodes/cc-langs.el (c-before-font-lock-functions):
13041 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 13042 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
13043 functions to be run just before context (etc.) font locking.
13044
13045 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 13046 New, functionality extracted from
be8b11bb 13047 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 13048 (c-in-after-change-fontification): New variable.
be8b11bb
AM
13049 (c-after-change): Set c-in-after-change-fontification.
13050 (c-set-fl-decl-start): Rejig its interface, so it can be called
13051 from both after-change and context fontifying.
b81d40f0
JB
13052 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
13053 New functions.
13054 (c-standard-font-lock-fontify-region-function): New variable.
13055 (c-font-lock-fontify-region): New function.
be8b11bb 13056
341cf6ac
JL
130572011-12-24 Juri Linkov <juri@jurta.org>
13058
13059 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
13060 (Bug#10348)
13061
bffcee0a
MA
130622011-12-23 Michael Albinus <michael.albinus@gmx.de>
13063
13064 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
13065 existence of source file. (Bug#10325)
13066
cb5e207c
AM
130672011-12-23 Alan Mackenzie <acm@muc.de>
13068
13069 Fix unstable fontification inside templates.
13070
b81d40f0
JB
13071 * progmodes/cc-langs.el (c-before-font-lock-functions):
13072 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
13073 additionally has c-set-fl-decl-start. The other languages (apart
13074 from AWK) have that as a single entry.
13075
b81d40f0
JB
13076 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
13077 The functionality for "local" declarations has been extracted to
cb5e207c
AM
13078 c-set-fl-decl-start.
13079
b81d40f0
JB
13080 * progmodes/cc-mode.el (c-common-init, c-after-change):
13081 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
13082 (c-set-fl-decl-start): New function, extracted from
13083 c-font-lock-enclosing-decls and enhanced.
13084
60ff536c
JB
130852011-12-23 Juanma Barranquero <lekktu@gmail.com>
13086
13087 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
13088
1c4757d6
JL
130892011-12-22 Juri Linkov <juri@jurta.org>
13090
13091 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
13092
d031f2c7
CY
130932011-12-22 Chong Yidong <cyd@gnu.org>
13094
13095 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
13096
bace743a
DA
130972011-12-21 Drew Adams <drew.adams@oracle.com>
13098
13099 * files.el (file-remote-p): Fix docstring. (Bug#10319)
13100
728a1f2b
JC
131012011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
13102
13103 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
13104
0d373f73
TZ
131052011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
13106
fec0aaa4
TZ
13107 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
13108 highlighting and support. Fix up comments for capitalization.
13109 (cfengine-mode-debug): New var.
13110 (cfengine3-mode): Change the modeline indicator to "CFE3".
13111 (cfengine3-font-lock-keywords): Improve defun highlighting.
13112 (cfengine2-actions): Rename from `cfengine-actions'.
13113 (cfengine2-font-lock-keywords): Rename from
13114 `cfengine-font-lock-keywords'.
13115 (cfengine2-imenu-expression): Rename from
13116 `cfengine-imenu-expression'.
13117 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
13118 (cfengine2-beginning-of-defun): Rename from
13119 `cfengine-beginning-of-defun'.
13120 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
13121 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
13122 (cfengine2-mode): Rename from `cfengine-mode'. Change the
13123 modeline indicator to "CFE2".
13124 (cfengine-mode): Defalias to `cfengine-auto-mode'.
13125 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 13126
bc86f573
CY
131272011-12-21 Chong Yidong <cyd@gnu.org>
13128
13129 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
13130 filename argument.
13131
d45ba96b
MR
131322011-12-20 Martin Rudalics <rudalics@gmx.at>
13133
13134 * window.el (window-normalize-buffer-to-display): Remove.
13135 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
13136
a6198c90
CY
131372011-12-19 Chong Yidong <cyd@gnu.org>
13138
13139 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
13140 Don't signal an error in a predicate function; return non-nil.
13141 (vc-dir-mark-file): Move the error here.
13142 (vc-dir-mark-unmark): If acting on the region, keep going if one
13143 of the entries cannot be marked/unmarked.
13144 (vc-dir-mark-all-files): If current entry is a directory, mark
13145 only child files, as documented.
13146
34c5fb55
VB
131472011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
13148
13149 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
13150 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
13151 addition.
13152
c803b2b7
JD
131532011-12-18 Jan Djärv <jan.h.d@swipnet.se>
13154
13155 * term/ns-win.el (ns-get-selection-internal)
13156 (ns-store-selection-internal): Declare.
1154d12e
JB
13157 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
13158 Declare as obsolete.
13159 (ns-get-pasteboard, ns-paste-secondary):
13160 Use ns-get-selection-internal.
41e9b956 13161 (ns-set-pasteboard, ns-copy-including-secondary):
1154d12e 13162 Use ns-store-selection-internal.
c803b2b7 13163
9cff91f8 131642011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
13165
13166 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 13167 (vc-deduce-fileset): Doc fix.
99a289d9 13168
f16c898a
AS
131692011-12-16 Andreas Schwab <schwab@linux-m68k.org>
13170
13171 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
13172
763237c4
SS
131732011-12-13 Sam Steingold <sds@gnu.org>
13174
13175 * man.el (Man-getpage-in-background): When running under a
13176 window-system, ignore $MANWIDTH and $COLUMNS.
13177
5fc1c122
KH
131782011-12-15 Kenichi Handa <handa@m17n.org>
13179
13180 * language/ethio-util.el: Change coding tag to utf-8-emacs.
13181 (setup-ethiopic-environment-internal): Comment out key-binding for
13182 ethio-toggle-punctuation.
13183
13d49cbb
AM
131842011-12-13 Alan Mackenzie <acm@muc.de>
13185
898169a2
AM
13186 Add the switch statement to AWK Mode.
13187
7a71b18d 13188 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
13189 "default" to the keywords regexp.
13190
7a71b18d 13191 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 13192 expression as the rest.
1d00653d
SM
13193 (c-nonlabel-token-key): Allow string literals for AWK.
13194 Refactor for the other modes.
898169a2 13195
13d49cbb 13196 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 13197 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
13198 routines. Limit backward searching in c-font-lock-enclosing.decl.
13199
13200 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
13201 pp-state and literal type in addition to the limits.
1d00653d 13202 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 13203 (c-state-literal-at): Use the above new defun.
1d00653d
SM
13204 (c-slow-in-literal, c-fast-in-literal): Remove.
13205 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
13206
13207 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
13208 being in a literal. Add a limit for backward searching.
13209
13210 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
13211 c-slow-in-literal.
13212
15e0efc7
SM
132132011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
13214
13215 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
13216
454592a6
MR
132172011-12-13 Martin Rudalics <rudalics@gmx.at>
13218
13219 * window.el (delete-other-windows): Use correct frame in call to
13220 window-with-parameter.
13221
87393f26
DP
132222011-12-12 Daniel Pfeiffer <occitan@t-online.de>
13223
13224 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
13225 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
13226 (makefile-gmake-statements, makefile-makepp-statements):
13227 Use it and add new makepp keywords.
13228 (makefile-makepp-font-lock-keywords): Add new patterns.
13229 (makefile-match-function-end): Match new [...] and [[...]].
13230
11636b22
JB
132312011-12-11 Juanma Barranquero <lekktu@gmail.com>
13232
13233 * ses.el (ses-call-printer-return, ses-cell-property-get)
13234 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
13235 (ses-create-cell-variable, ses-reset-header-string)
13236 (ses-cell-set-formula, ses-repair-cell-reference-all)
13237 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
13238 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
13239 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
13240 (ses-aset-with-undo, ses-load, ses-truncate-cell)
13241 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
13242 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
13243 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
13244 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
13245 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
13246 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
13247 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
13248 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
13249
cf018193
VB
132502011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
13251
13252 * ses.el: The overall change is to add cell renaming, that is
13253 setting fancy names for cell symbols other than name matching
13254 "\\`[A-Z]+[0-9]+\\'" regexp .
13255 (ses-create-cell-variable): New defun.
13256 (ses-relocate-formula): Relocate formulas only for cells the
13257 symbols of which are not renamed, i.e. symbols whose names do not
13258 match regexp "\\`[A-Z]+[0-9]+\\'".
13259 (ses-relocate-all): Relocate values only for cells the symbols of
13260 which are not renamed.
13261 (ses-load): Create cells variables as the (ses-cell ...) are read,
13262 in order to check row col consistency with cell symbol name only
13263 for cells that are not renamed.
13264 (ses-replace-name-in-formula): New defun.
13265 (ses-rename-cell): New defun.
13266
ee957461
CY
132672011-12-11 Chong Yidong <cyd@gnu.org>
13268
13269 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
13270 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
13271
9a9e9ef0
MR
132722011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
13273
13274 * window.el (other-window): Fix docstring.
13275
92a8eba5
EZ
132762011-12-10 Eli Zaretskii <eliz@gnu.org>
13277
13278 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
13279 `from' or `to' address before taking its substring.
13280 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
13281 encoded name is chopped in the middle of the encoded string, and
13282 thus displayed encoded.
13283
e152e577
JB
132842011-12-10 Juanma Barranquero <lekktu@gmail.com>
13285
13286 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
13287
e5d84bfe
EZ
132882011-12-10 Eli Zaretskii <eliz@gnu.org>
13289
13290 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
13291 to use texinfo-update-node and commands that call it if the
13292 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 13293 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
13294 (texinfo-all-menus-update, texinfo-master-menu)
13295 (texinfo-update-node, texinfo-every-node-update)
13296 (texinfo-multiple-files-update): Doc fix. Warn against updating
13297 all the @node lines.
13298 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
13299 argument is numeric. Explain better in the doc string what the
13300 function really does.
13301 (texinfo-insert-master-menu-list): Improve the error message
13302 displayed if there's no menu in the Top node.
13303 (Bug#2975) See also this thread:
e5d84bfe
EZ
13304 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
13305
1d84e9bb
MG
133062011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
13307
13308 * speedbar.el (speedbar-supported-extension-expressions):
13309 Add .adb and .ads, commonly used for Ada source code (bug#10256).
13310
382c953b
JB
133112011-12-09 Juanma Barranquero <lekktu@gmail.com>
13312
13313 * printing.el (pr-mode-alist):
13314 * simple.el (filter-buffer-substring-functions)
13315 (completion-list-insert-choice-function):
13316 * window.el (window-with-parameter, window-atom-root)
13317 (window-sides-slots, window-size-fixed, window-min-delta)
13318 (window-max-delta, window--resize-mini-window)
13319 (window--resize-child-windows-normal, window-tree)
13320 (delete-other-windows, quit-window, split-window)
13321 (display-buffer-record-window, special-display-buffer-names)
13322 (special-display-regexps, special-display-popup-frame)
13323 (same-window-p, split-window-sensibly)
13324 (display-buffer-overriding-action, display-buffer-alist)
13325 (display-buffer-base-action, display-buffer, switch-to-buffer)
13326 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
13327 (fit-window-to-buffer, recenter-positions)
13328 (mouse-autoselect-window-state, mouse-autoselect-window-select):
13329 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
13330 and remove unneeded backslashes in docstrings.
13331
39c9faef
SM
133322011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
13333
98449af8
SM
13334 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
13335
39c9faef
SM
13336 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
13337 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
13338 end in ".mk".
13339 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
13340 when reading the makefile (bug#10116).
13341
86ed9fdc
SM
133422011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
13343
13344 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
13345 (bug#10116).
13346
5580f89d
GM
133472011-12-06 Glenn Morris <rgm@gnu.org>
13348
13349 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
13350
28d3917c
CY
133512011-12-06 Chong Yidong <cyd@gnu.org>
13352
13353 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
13354
a98edce9
JB
133552011-12-06 Juanma Barranquero <lekktu@gmail.com>
13356
13357 * textmodes/table.el (table-shorten-cell): Fix typo.
13358
e65adfac
CG
133592011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
13360
13361 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
13362
71cc0b74
EZ
133632011-12-05 Eli Zaretskii <eliz@gnu.org>
13364
13365 * descr-text.el (describe-char): Fix display of strong
13366 right-to-left characters and directional embeddings and overrides.
13367
13368 * simple.el (what-cursor-position): Fix display of codepoints of
13369 strong right-to-left characters.
13370
315bc30d
CY
133712011-12-05 Chong Yidong <cyd@gnu.org>
13372
13373 * faces.el (read-color): Doc fix.
13374
58a70b94
GM
133752011-12-05 Glenn Morris <rgm@gnu.org>
13376
13377 * align.el (align--set-marker): Add doc-string.
13378 Don't try to move something that is not a marker. (Bug#10216)
13379
5158face
GM
133802011-12-04 Glenn Morris <rgm@gnu.org>
13381
13382 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
13383 overly zealous deletion of trailing whitespace.
13384
520fca41
JB
133852011-12-04 Juanma Barranquero <lekktu@gmail.com>
13386
13387 * server.el (server-delete-client): On Windows, do not try to delete
13388 the only terminal.
13389 (server-process-filter): On Windows, treat requests for a tty frame as
13390 if they were for a GUI frame if the running server is in GUI mode.
13391
5e605a2e
GM
133922011-12-03 Glenn Morris <rgm@gnu.org>
13393
13394 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
13395
5c3fe83f
SM
133962011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
13397
6f5e57e7
SM
13398 * electric.el: Streamline electric-indent's hook.
13399 (electric-indent-chars): Revert to simple list.
13400 (electric-indent-functions): New var.
13401 (electric-indent-post-self-insert-function): Use it.
13402
5c3fe83f
SM
13403 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
13404 there's no inferior buffer (bug#10196).
13405 (prolog-consult-compile): Don't use toggle-read-only.
13406
6bdac736
MA
134072011-12-02 Michael Albinus <michael.albinus@gmx.de>
13408
13409 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
13410 interrupt. (Bug#10187)
13411
6131ba7f
SM
134122011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
13413
99c79fee
SM
13414 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
13415 (bug#9160).
13416
6131ba7f
SM
13417 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
13418 (bug#10191).
13419
cb0a02ea
JL
134202011-12-02 Juri Linkov <juri@jurta.org>
13421
13422 * info.el (Info-search): Display "end of manual" when Isearch
13423 reaches the end of single-file Info manual. (Bug#9918)
13424
66e0570c
EZ
134252011-12-02 Eli Zaretskii <eliz@gnu.org>
13426
13427 * isearch.el (isearch-message-prefix): Run the input method part
13428 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
13429
02b16839
JL
134302011-12-02 Juri Linkov <juri@jurta.org>
13431
13432 * isearch.el (isearch-occur): Use `word-search-regexp' for
13433 `isearch-word'.
13434 (isearch-search-and-update): Add condition for `isearch-word' and
13435 call `word-search-regexp'. (Bug#10145)
13436
0b950688
GM
134372011-12-01 Glenn Morris <rgm@gnu.org>
13438
13439 * eshell/em-hist.el (eshell-hist-initialize):
13440 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 13441 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 13442
9505c3c7
SM
134432011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
13444
13445 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
13446
1bbe96b2 134472011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 13448
a1beca85
SM
13449 * progmodes/verilog-mode.el (verilog-pretty-expr):
13450 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
13451 verilog, such as += *= and the like.
13452 (verilog-assignment-operator-re): Regular expression to find the
13453 assigment operator in a verilog assignment.
13454 (verilog-assignment-operation-re): Regular expression to find an
13455 assignment statement for pretty-expr.
13456 (verilog-in-attribute-p): Query returns true if point is in an
13457 attribute context; used to skip these for expression line up from
13458 pretty-expr.
13459 (verilog-in-parameter-p): Query returns true if point is in an
13460 parameter definition context; used to skip these for expression
13461 line up from pretty-expr.
13462 (verilog-in-parenthesis-p): Query returns true if point is in a
13463 parenthetical expression, specifically ( ) but not [ ] or { };
13464 used by pretty-expr.
13465 (verilog-just-one-space): If there is no space, don't add one.
13466 (verilog-get-lineup-indent-2): Specifically skip just attribute
13467 contexts for expression lineup, rather than skipping all
13468 parenthetical expressions.
13469 (verilog-calculate-indent): Fix comment, and fix indent.
13470 (verilog-do-indent): Indent declarations in lists (suggested by
13471 Joachim Lechner).
13472 (verilog-mode-abbrev-table): Populate abbrev mode with the various
13473 skeleton items.
13474 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
13475 by Alain Mellan).
13476
1bbe96b2 134772011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
13478
13479 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
13480 parameters with embedded comments. Reported by Ray Stevens.
13481 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
13482 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
13483 Reported by Tim Holt.
13484 (verilog-auto): Fix AUTOing a upper module then AUTOing module
13485 instantiated by upper module causing wrong expansion until AUTOed a
13486 second time. Reported by K C Buckenmaier.
13487 (verilog-diff-auto): Fix showing .* as a difference when
13488 `verilog-auto-star-save' off. Reported by Dan Dever.
13489 (verilog-auto-reset, verilog-read-always-signals)
13490 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
13491 temporary signals in reset list if
13492 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
13493 style to each signal's assignment type, bug381.
13494 Reported by Thomas Esposito.
6288f0ca
WS
13495 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
13496 (verilog-uvm-statement-re): Support UVM indentation and
13497 highlighting, with old OVM keywords only.
a1beca85 13498 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
13499 Support AUTOTIEOFF creating non-wire data types.
13500 Suggested by Jonathan Greenlaw.
6288f0ca
WS
13501 (verilog-auto-insert-lisp, verilog-delete-to-paren)
13502 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
13503 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
13504 (verilog-read-sub-decls, verilog-read-sub-decls-line):
13505 Fix mismatching parenthesis inside commented out code when deleting
382c953b 13506 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
13507 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
13508 non-numeric vector width. Reported by Alex Reed.
13509 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 13510 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
13511 (verilog-auto-delete-trailing-whitespace):
13512 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
13513 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
13514 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
13515 Fix verilog-scan-cache corruption when running user AUTO expansion
13516 hooks that call indentation routines.
13517 (verilog-simplify-range-expression): Fix typo ignoring lower case
13518 identifiers.
13519 (verilog-delete-auto): Fix delete-autos to also remove user created
13520 automatics, as long as they start with AUTO.
13521 (verilog-batch-diff-auto, verilog-diff-auto)
13522 (verilog-diff-function): Add `verilog-diff-auto' and bind to
13523 "C-c?" to report differences in AUTO expansion, ignoring spaces.
13524 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
13525 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
13526 (verilog-re-search-forward-quick, verilog-syntax-ppss):
13527 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
13528 is disabled and its cache will get corrupt, causing AUTOS not to
13529 expand. Instead use only -quick functions.
13530 (verilog-scan-region): Fix scanning over escaped quotes.
13531 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
13532 (verilog-re-search-backward-quick)
13533 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
13534 related functions now ignore strings, to fix misparsing of strings
13535 with magic comments embedded in them.
a1beca85
SM
13536 (verilog-read-auto-template):
13537 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
13538 Reported by Brad Dobbie.
13539 (verilog-read-auto-template):
13540 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 13541 Reported by Brad Dobbie.
6288f0ca
WS
13542 (verilog-auto-inst, verilog-auto-inst-param)
13543 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
13544 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
13545 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
13546 debugging templates without merge conflicts, bug357.
13547 Reported by Brad Dobbie.
13548 (verilog-read-auto-template):
13549 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
13550 Reported by Brad Dobbie.
13551 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
13552 abbrevs so user won't be asked to save.
13553 (verilog-read-auto-lisp-present): Fix to start at beginning of
13554 buffer in case called outside of verilog-auto.
13555 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
13556 to "X-2". Reported by Matthew Myers.
13557 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
13558 all inputs from module templates. Reported by Leith Johnson.
13559 (verilog-module-inside-filename-p): Fix locating programs as with
13560 modules.
13561 (verilog-auto-inst-port): Fix vl-width expressions when using
13562 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
13563 (verilog-decls-get-regs, verilog-decls-get-signals,
13564 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
13565 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
13566 verilog-read-decls): Combine reg and wire structures into one var
13567 structure to represent SystemVerilog concepts.
13568 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
13569 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
13570 (verilog-auto-wire-type, verilog-insert-definition):
13571 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
13572 SystemVerilog "logic" keyword instead of "wire"/"reg".
13573 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
13574 to declares outputs that also have assignments (presumably in an
a1beca85
SM
13575 ifdef or generate if so there's not a driver conflict).
13576 Reported by Matthew Myers.
13577 (verilog-auto-declare-nettype, verilog-insert-definition):
13578 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
13579 `default_nettype none. Reported by Julian Gorfajn.
13580 (verilog-read-always-signals-recurse, verilog-read-decls)
13581 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
13582 malformed end statement, bug325. Reported by Joshua Wise and
13583 Andrew Drake.
13584 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
13585 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
13586 when expanding .* in interfaces, bug320.
13587 Reported by Pierre-David Pfister.
6288f0ca 13588 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
13589 name and open parenthesis, bug317.
13590 Reported by Pierre-David Pfister.
6288f0ca
WS
13591 (verilog-simplify-range-expression): Fix simplification of
13592 multiplications inside AUTOWIRE connections, bug303.
13593 (verilog-auto-inst-port): Support parameter expansion in
13594 multidimensional arrays.
13595 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
13596 after "assert property". Reported by Julian Gorfajn.
13597 (verilog-simplify-range-expression): Fix "couldn't merge" errors
13598 with multiplication, bug303.
13599 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
13600 Reported by Jan Frode Lonnum.
13601
1bbe96b2
GM
136022011-11-30 Juanma Barranquero <lekktu@gmail.com>
13603
13604 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
13605 (hfy-shell-file-name, hfy-shell):
13606 * international/fontset.el (x-decompose-font-name): Fix typos.
13607
136082011-11-29 Ken Brown <kbrown@cornell.edu>
13609
13610 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
13611 (gdb-version): Remove defvar.
13612 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
13613 (gdb-gud-context-command, gdb-non-stop-handler)
13614 (gdb-current-context-command, gdb-stopped): Use it.
13615 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
13616 (gdb-non-stop-handler): Don't enable pretty-printing here.
13617 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
13618 non-stop mode. Use the following.
13619 (gdb-check-target-async): New defun.
13620 (gud-watch, gdb-stopped): Fix whitespace.
13621 (gdb-get-source-file): Don't try to display the source file if
13622 `gdb-main-file' is nil.
13623
136242011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
13625
13626 * align.el: Try to generate fewer markers (bug#10047).
13627 (align--set-marker): New macro.
13628 (align-region): Use it.
13629
c935221f
SM
136302011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
13631
13632 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
13633
e70b5064
CY
136342011-11-29 Chong Yidong <cyd@gnu.org>
13635
13636 * indent.el (indent-for-tab-command, indent-according-to-mode):
13637 Doc fix.
13638 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
13639
f3af92b7
MA
136402011-11-29 Michael Albinus <michael.albinus@gmx.de>
13641
13642 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
13643 aware of remote file names. (Bug#10124)
13644
ed472be9
CY
136452011-11-29 Chong Yidong <cyd@gnu.org>
13646
13647 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
13648
24510c22
SM
136492011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
13650
13651 * files.el (find-file): Don't use force-same-window (bug#10144).
13652 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
13653 use pop-to-buffer if the selected window can't be used.
13654 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
13655
c60c3703
EZ
136562011-11-28 Eli Zaretskii <eliz@gnu.org>
13657
13658 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
13659 special-mode-map.
13660
e95def75
CY
136612011-11-28 Chong Yidong <cyd@gnu.org>
13662
13663 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
13664
c3f1c606
NR
136652011-11-27 Nick Roberts <nickrob@snap.net.nz>
13666
13667 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
13668 gdb-get-source-file-list on gdb-create-source-file-list.
13669
00db469c
EZ
136702011-11-26 Eli Zaretskii <eliz@gnu.org>
13671
13672 * whitespace.el (whitespace-newline): Use a different foreground
13673 color for 16-color light-background displays.
13674
4ad3bc2a
CY
136752011-11-24 Chong Yidong <cyd@gnu.org>
13676
13677 * window.el (display-buffer--special-action): Doc fix.
13678
e9fce1ac
JB
136792011-11-25 Juanma Barranquero <lekktu@gmail.com>
13680
13681 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
13682 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
13683 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
13684 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
13685 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
13686 (avl-tree-stack-first):
13687 * emacs-lisp/cconv.el (cconv--analyse-use):
13688 * net/gnutls.el (gnutls-negotiate): Fix typos.
13689
cb825e5d
GM
136902011-11-24 Glenn Morris <rgm@gnu.org>
13691
3adbe224
GM
13692 * lpr.el (lpr-windows-system, lpr-lp-system):
13693 * mail/binhex.el (binhex-begin-line):
13694 * progmodes/grep.el (grep-history, grep-find-history):
13695 * textmodes/flyspell.el:
13696 * vc/pcvs-defs.el (cvs-global-menu):
13697 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
13698 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
13699 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
13700
321decc8
GM
13701 * net/tls.el: Fix case of "GnuTLS".
13702
420b63ad
GM
13703 * paths.el (rmail-file-name): Format doc-string for make-docfile.
13704
cb825e5d
GM
13705 * version.el (emacs-build-system): Give it a doc-string.
13706
a0649f08
JL
137072011-11-24 Juri Linkov <juri@jurta.org>
13708
13709 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
13710
c0bc0fd4
GM
137112011-11-24 Glenn Morris <rgm@gnu.org>
13712
13713 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
13714 if called on a non-mime message just toggle the headers. (Bug#8006)
13715
20db1522
JB
137162011-11-24 Juanma Barranquero <lekktu@gmail.com>
13717
13718 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
13719 (allout-lead-with-comment-string, allout-structure-deleted-hook)
13720 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
13721 (allout-rebullet-heading, allout-open-sibtopic)
13722 (allout-toggle-current-subtree-encryption)
13723 (allout-toggle-subtree-encryption, allout-encrypt-string)
13724 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
13725 (allout-distinctive-bullets-string, allout-auto-activation):
13726 * window.el (window-normalize-buffer-to-display):
13727 * progmodes/verilog-mode.el (verilog-batch-indent):
13728 * textmodes/bibtex.el (bibtex-field-braces-opt)
13729 (bibtex-field-strings-opt):
13730 * vc/cvs-status.el (cvs-tree-merge):
13731 Fix typos.
13732
7262a87c
MA
137332011-11-23 Michael Albinus <michael.albinus@gmx.de>
13734
13735 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
13736 `non-essential' to t, in order to avoid remote connections.
13737
283430a1
EZ
137382011-11-23 Eli Zaretskii <eliz@gnu.org>
13739
a1beca85
SM
13740 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
13741 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
13742 case-insensitively.
13743
d2992a38
ML
137442011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
13745
13746 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
13747
50419064
GM
137482011-11-23 Glenn Morris <rgm@gnu.org>
13749
da94eca1
GM
13750 * paths.el (rmail-file-name): Reformat the doc-string so that it
13751 is picked up.
13752
9aac4de2
GM
13753 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
13754 (rmail-auto-file): Ignore case in the "special" field names,
13755 as mail-fetch-field does for all others.
13756
8038d2d2
GM
13757 * mail/rmail.el (rmail-forward):
13758 * mail/rmailkwd.el (rmail-set-label):
13759 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
13760 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
13761
f3fe222a
GM
13762 * mail/rmail.el (rmail-current-message): Doc fix.
13763
50419064
GM
13764 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
13765
28109f49
SM
137662011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
13767
13768 * server.el (server-eval-and-print): Allow C-g (bug#6585).
13769
394c65f1
GM
137702011-11-22 Glenn Morris <rgm@gnu.org>
13771
13772 * mail/rmailmm.el (test-rmail-mime-handler)
13773 (test-rmail-mime-bulk-handler)
13774 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
13775
f2a0aa3a
JL
137762011-11-21 Juri Linkov <juri@jurta.org>
13777
1154d12e
JB
13778 * calc/calc.el (calc-read-key-sequence):
13779 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 13780
9c34a344
LMI
137812011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13782
13783 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
13784 Tell the caller that the next line needs recomputation, even
13785 though it doesn't start a sexp (bug#10094).
13786
f04a3be9
SM
137872011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
13788
13789 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
13790
7978747f
SM
137912011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
13792
f04a3be9
SM
13793 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
13794 Use force-same-window.
7978747f 13795
fe7a3057
JB
137962011-11-20 Juanma Barranquero <lekktu@gmail.com>
13797
13798 * descr-text.el (describe-char-unicode-data):
13799 * json.el (json-string-escape):
13800 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
13801 (Footnote-unicode, Footnote-style-p):
13802 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
13803
24901d61
CY
138042011-11-20 Chong Yidong <cyd@gnu.org>
13805
13806 * window.el (replace-buffer-in-windows): Restore interactive spec.
13807
bac7ff22
SM
138082011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
13809
24f3d7b9
SM
13810 * electric.el (electric-indent-mode): Fix last change (too optimistic).
13811
bac7ff22
SM
13812 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
13813 (byte-compile-global-not-obsolete-vars): New var.
13814 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
13815 Use it.
13816 (byte-compile-warn-obsolete): Align text with the one in *Help*.
13817
cd1181db
JB
138182011-11-20 Juanma Barranquero <lekktu@gmail.com>
13819
13820 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
13821 * progmodes/pascal.el (electric-pascal-equal):
13822 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
13823 * xml.el (xml-substitute-special): Fix typos.
13824
7fb18e9e
GM
138252011-11-20 Glenn Morris <rgm@gnu.org>
13826
13827 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
13828 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
13829 Doc fixes.
13830 (rmail-decode-mime-charset): Mark as obsolete.
13831
13832 * mail/rmailsum.el (rmail-message-regexp-p-1):
13833 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
13834 Before using mime functions, check they are set. (Bug#10077)
13835
d5a6b3ba
JL
138362011-11-19 Juri Linkov <juri@jurta.org>
13837
13838 * info.el (Info-finder-find-node): Use `package--builtins' instead
13839 of `package-alist'. Use node names formed by the pattern "Keyword "
13840 and the keyword name.
13841
e981b61f
AS
138422011-11-19 Andreas Schwab <schwab@linux-m68k.org>
13843
1d00653d 13844 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 13845
3ffbc301
JL
138462011-11-19 Juri Linkov <juri@jurta.org>
13847
13848 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
13849 that calls `revert-buffer' on all Info buffers. (Bug#9915)
13850 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
13851 `old-history', `old-history-forward'. Add let-binding
13852 `window-selected'. Remove calls to `kill-buffer',
13853 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
13854 before calling `Info-find-node', so `Info-find-node-2' will reread
13855 the Info file. Restore window positions only when `window-selected'
13856 is non-nil.
13857
30c62133
JL
138582011-11-19 Juri Linkov <juri@jurta.org>
13859
13860 * isearch.el (isearch-lazy-highlight-new-loop):
13861 Remove condition `(not isearch-error)'. (Bug#9918)
13862
13863 * misearch.el (multi-isearch-search-fun): Add condition
13864 `(not bound)' to ignore lazy-highlighting search.
13865 Add the search-failed message "end of multi" when the end of
13866 multi-sequence is reached. Uncapitalize the search-failed
13867 message "Repeat for next buffer".
13868
13869 * info.el (Info-search): Add the search-failed message
13870 "end of the manual" when the end of the manual is reached
13871 in Isearch mode.
13872
645ca9cf
JL
138732011-11-19 Juri Linkov <juri@jurta.org>
13874
13875 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
13876 Use non-destructive `remove' instead of `delete' because
13877 `Info-history-list' stored to `Info-isearch-initial-history-list' in
13878 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
13879
df754f66
JL
138802011-11-19 Juri Linkov <juri@jurta.org>
13881
13882 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
13883 to nil instead of binding `search-ring' and `regexp-search-ring'.
13884 (Bug#9185)
13885
0e23d96a
EZ
138862011-11-19 Eli Zaretskii <eliz@gnu.org>
13887
13888 * simple.el (line-move): Force movement by logical lines for any
13889 hscrolled window, not only when auto-hscroll-mode is on.
13890 (line-move-visual): Update doc string to that effect. (Bug#10076)
13891
8a6ccb66
AS
138922011-11-19 Andreas Schwab <schwab@linux-m68k.org>
13893
13894 * language/european.el (macintosh): Define as alias for mac-roman.
13895
49ae5b39
EZ
138962011-11-19 Eli Zaretskii <eliz@gnu.org>
13897
13898 * mail/rmailmm.el (rmail-mime-display-header)
13899 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
13900 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
13901 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
13902 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
13903 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
13904 of a raw aref.
13905 (rmail-mime-entity-segment): To get past the tagline, move forward
13906 2 more lines, to account for the 2 empty lines that precede and
13907 follow the line with the buttons.
13908 (rmail-mime-update-tagline): Move one more line, to get past the
13909 empty line that follows the buttons in the tagline. (Bug#9520)
13910
c56cad4a
MR
139112011-11-19 Martin Rudalics <rudalics@gmx.at>
13912
13913 * window.el (window-max-delta-1, window-min-delta-1)
13914 (window-min-size-1, window-state-get-1, window-state-put-1)
13915 (window-state-put-2): Use "window--" prefix.
13916
cbe71af3
SM
139172011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
13918
2ad52c60
SM
13919 * emacs-lisp/smie.el: Improve warnings and conflict detection.
13920 (smie-warning-count): New var.
13921 (smie-set-prec2tab): Use it.
13922 (smie-bnf->prec2): Improve warnings. Add docstring.
13923 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
13924 (smie-bnf--set-class): New function.
13925 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
13926 corner case.
13927
6944dbc1
SM
13928 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
13929 (compilation-error-properties, compilation-move-to-column):
13930 Handle compilation-first-column while in the target buffer.
13931
c400c4d7
SM
13932 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
13933 Don't hardcode point-min==1.
13934
6dbe3e96
SM
13935 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
13936 (eshell-rewrite-for-command): Remove workaround.
13937 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
13938 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
13939 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
13940
cbe71af3
SM
13941 * files-x.el (modify-file-local-variable): Obey commenting conventions.
13942
a8e1496d
GM
139432011-11-17 Glenn Morris <rgm@gnu.org>
13944
13945 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
13946 Ignore buffer-local generated-autoload-file if it is the same
13947 as the global value. (Bug#10049)
13948
df85d315
JB
139492011-11-17 Juanma Barranquero <lekktu@gmail.com>
13950
13951 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
13952 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
13953 (reftex-toc-previous-heading, reftex-toc-max-level)
13954 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
13955 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
13956 (reftex-toc-do-promote, reftex-toc-promote-prepare)
13957 (reftex-toc-promote-action, reftex-toc-extract-section-number)
13958 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
13959 (reftex-toc-rename-label, reftex-toc-visit-location)
13960 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
13961 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
13962 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
13963 leaving "*toc*" only for references to the buffer.
13964
a0c2d0ae
MR
139652011-11-17 Martin Rudalics <rudalics@gmx.at>
13966
13967 * window.el (window-resize, delete-window, split-window):
13968 Replace window-splits by window-combination-resize.
1d00653d 13969 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 13970
35c0bac8
GM
139712011-11-17 Glenn Morris <rgm@gnu.org>
13972
13973 * progmodes/sh-script.el (sh-font-lock-keywords-var):
13974 Make bash entry derive from sh entry, not shell entry.
13975
d0c8fc8a
MA
139762011-11-16 Michael Albinus <michael.albinus@gmx.de>
13977
7262a87c
MA
13978 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
13979 local file name.
13980
7877f373
JB
139812011-11-16 Juanma Barranquero <lekktu@gmail.com>
13982
13983 * menu-bar.el (menu-bar-file-menu):
13984 * printing.el (pr-ps-utility):
13985 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
13986 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
13987 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
13988 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
13989 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
13990 (icalendar--convert-cyclic-to-ical)
13991 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
13992 (icalendar--convert-ical-to-diary)
13993 (icalendar--convert-recurring-to-diary)
13994 (icalendar--convert-non-recurring-all-day-to-diary)
13995 (icalendar-import-format-sample):
13996 * progmodes/idlw-shell.el (idlwave-shell-mode):
13997 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
13998 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
13999 (vhdl-ps-print-init): Fix typos.
14000
10649b82
KM
140012011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
14002
9d0cfcd6
GM
14003 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
14004 FSF and collapse date sequence, obscure author/maintainer email address
14005 better, remove extra version line, track relocation of author's webpage.
10649b82 14006
9d0cfcd6
GM
14007 * progmodes/python.el (python-pdbtrack-input-prompt)
14008 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
14009 regular python pdb prompts. Adjustments shamelessly taken exactly as
14010 suggested in EmacsWiki page (tiny change):
14011 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 14012
58179cce
JB
140132011-11-16 Juanma Barranquero <lekktu@gmail.com>
14014
14015 * expand.el (expand-pos, expand-index, expand-point):
14016 Remove redundant info from docstring.
14017 (expand-add-abbrevs): Doc fix.
14018 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
14019 (expand-sample-perl-mode-expand-list): Fix typos.
14020
14021 * net/dbus.el (dbus-event-member-name):
14022 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
14023 * term/pc-win.el (msdos-create-frame-with-faces):
14024 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
14025
b6f67890
MR
140262011-11-16 Martin Rudalics <rudalics@gmx.at>
14027
14028 * window.el (split-window, window-state-get-1)
14029 (window-state-put-1, window-state-put-2): Rename occurrences of
14030 window-nest to window-combination-limit.
1d00653d 14031 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 14032
ce7ddba0
CY
140332011-11-16 Chong Yidong <cyd@gnu.org>
14034
14035 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
14036 regexp (Bug#10033).
14037
3ae704f4
SM
140382011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
14039
14040 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
14041 `completing-read' will remove *Completions* and will preserve
14042 current-buffer for us.
14043 (tmm-add-prompt): Users of *Completions* will always (re)set its
14044 major mode.
14045 (tmm-old-comp-map): Remove.
14046
6ad1cdde
GM
140472011-11-16 Glenn Morris <rgm@gnu.org>
14048
14049 * mail/rmailedit.el: Require rmailmm when compiling.
14050 (rmail-old-mime-state): New declaration.
14051 (rmail-edit-current-message): If editing a mime message,
14052 edit the "raw" message from the mbox buffer.
14053 (rmail-cease-edit): Handle mime messages. (Bug#9840)
14054
d20faa20
GM
140552011-11-15 Glenn Morris <rgm@gnu.org>
14056
14057 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
14058 which wasn't being used. Add optional arg to force given state.
14059 (rmail-mime): Add optional arg to force given state.
14060
c7015153
JB
140612011-11-15 Juanma Barranquero <lekktu@gmail.com>
14062
14063 * allout.el (allout-encryption-plaintext-sanitization-regexps):
14064 * frame.el (display-mm-dimensions-alist):
14065 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
14066 (outline-move-subtree-down):
14067 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
14068 (newsticker--treeview-do-get-node):
14069 * net/quickurl.el (quickurl-list-buffer-name):
14070 * progmodes/dcl-mode.el (dcl-mode):
14071 * progmodes/gdb-mi.el (gdb-mapcar*):
14072 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
14073
45261b50
GM
140742011-11-15 Glenn Morris <rgm@gnu.org>
14075
14076 * mail/rmail.el (rmail-file-coding-system): It's only ever used
14077 in a boolean sense, so just make it a boolean, and fix the doc.
14078 (rmail-show-mime-function, rmail-mime-feature)
14079 (rmail-require-mime-maybe): Doc fixes.
14080 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
14081
14082 * mail/rmailmm.el (rmail-show-mime): Doc fix.
14083
0d26e0b6
JB
140842011-11-15 Juanma Barranquero <lekktu@gmail.com>
14085
14086 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
14087 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
14088 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
14089 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
14090
447f30f6
GM
140912011-11-15 Glenn Morris <rgm@gnu.org>
14092
672b871d
GM
14093 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
14094 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
14095 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
14096 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
14097 (rmail-mime, rmail-show-mime): Doc fixes.
14098
f6aa5bb1
GM
14099 * term/ns-win.el (mode-line-frame-identification):
14100 Leave it alone. (Bug#10051)
14101
947cd66b
GM
14102 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
14103
447f30f6
GM
14104 * mail/rmailout.el (rmail-output-to-rmail-buffer):
14105 Handle empty buffers. (Bug#9978)
14106
0b381c7e
JB
141072011-11-14 Juanma Barranquero <lekktu@gmail.com>
14108
14109 * international/mule.el (define-charset):
14110 * mail/rmailmm.el (rmail-mime-find-header-encoding):
14111 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
14112 * progmodes/verilog-mode.el (verilog-backward-token):
14113 * textmodes/ispell.el (lookup-words):
14114 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
14115
71e027ac
GM
141162011-11-14 Glenn Morris <rgm@gnu.org>
14117
56632ce4
GM
14118 * progmodes/executable.el
14119 (executable-make-buffer-file-executable-if-script-p):
14120 Handle file-modes returning nil.
14121
40500957
GM
14122 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
14123 message - not necessary, and causes problems. (Bug#9831)
14124
071c2340
GM
14125 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
14126
d3cfca60
GM
14127 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
14128
71e027ac
GM
14129 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
14130 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
14131 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
14132
89d61221
MR
141332011-11-12 Martin Rudalics <rudalics@gmx.at>
14134
14135 * window.el (window-resize, delete-window): Use window-splits
14136 variable instead of function.
14137 (window-state-get-1, window-state-put-2, window-state-put):
14138 Don't deal with windows' splits status.
14139
98282f6f
GM
141402011-11-12 Glenn Morris <rgm@gnu.org>
14141
14142 * apropos.el (apropos-do-all, apropos-library, apropos-value)
14143 (apropos-documentation): Doc fixes.
14144
40a8bdf6
JB
141452011-11-11 Juanma Barranquero <lekktu@gmail.com>
14146
14147 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
14148 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
14149
65bd19ff
SM
141502011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
14151
14152 * electric.el (electric-indent-post-self-insert-function): Make it
14153 possible for a char to only indent in some circumstances.
14154 (electric-indent-mode): Simplify.
14155
54f9154c
MR
141562011-11-11 Martin Rudalics <rudalics@gmx.at>
14157
14158 * window.el (windows-with-parameter): Remove unused function.
14159 (windows-at-side): Rename to window-at-side-list.
14160 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
14161 (window-side-check, window-size-ignore, window-size-fixed-1)
14162 (window-in-direction-2): Prefix with "window--".
14163 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 14164
68cbc58b
GM
141652011-11-11 Glenn Morris <rgm@gnu.org>
14166
14167 * subr.el (eval-after-load): If FILE is already loaded,
14168 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
14169
b2621720
GM
141702011-11-10 Glenn Morris <rgm@gnu.org>
14171
9a4de110
GM
14172 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
14173 Call svn via vc-svn-command rather than vc-do-command.
14174 (vc-svn-command): Add --non-interactive. (Bug#9993)
14175 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
14176
b2621720
GM
14177 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
14178 Add toggle-read-only. (Bug#7292)
14179 * files.el (toggle-read-only): Mention that it should only
14180 be used interactively. (Bug#10006)
14181
1dce7193
SM
141822011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
14183
d9ac1a1e
SM
14184 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14185 Adjust regexp for OCaml warnings.
14186
0c325082
SM
14187 * electric.el (electric-pair-post-self-insert-function): Let user
14188 turn it off buffer-locally (bug#9932).
14189
90132c14
SM
14190 * progmodes/python.el (python-beginning-of-statement):
14191 Rewrite (bug#2703).
14192
1dce7193
SM
14193 * progmodes/compile.el: Better handle TABs (bug#9749).
14194 (compilation-internal-error-properties)
14195 (compilation-next-error-function): Obey the target buffer's
14196 compilation-error-screen-columns.
14197
c4e7c63a
JB
141982011-11-09 Juanma Barranquero <lekktu@gmail.com>
14199
14200 * progmodes/meta-mode.el: Remove obsolete comments.
14201 (meta-right-comment-regexp, meta-ignore-comment-regexp):
14202 Fix typos in docstrings.
14203
2cffd681
MR
142042011-11-09 Martin Rudalics <rudalics@gmx.at>
14205
14206 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 14207 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
14208 (window--resizable): New function. Make all callers of
14209 window-resizable call window--resizable instead.
14210 (window-resizable): Rewrite in terms of window--resizable.
14211
0edcba87
GM
142122011-11-08 Glenn Morris <rgm@gnu.org>
14213
14214 * progmodes/delphi.el (delphi-mode-syntax-table):
14215 Let define-derived-mode define a proper syntax table. (Bug#9994)
14216
4b0d61e3
SM
142172011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
14218
14219 * window.el: Stay away from defsubst.
14220 (window-list-no-nils): Remove.
14221 (window-state-get-1, window-state-get): Use backquote instead.
14222
cd394be1 142232011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 14224
4b0d61e3 14225 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 14226 Fix incorrect use of default argument in `completing-read'.
14227
e1c2c6f2
MR
142282011-11-08 Martin Rudalics <rudalics@gmx.at>
14229
14230 * window.el (display-buffer-function, special-display-function):
14231 Mention display-buffer-record-window but do not mention
14232 help-setup parameter in doc-strings.
b3f4a882 14233 (window-min-delta): Fix doc-string typo.
e1c2c6f2 14234
105216ed
CY
142352011-11-08 Chong Yidong <cyd@gnu.org>
14236
14237 * window.el (window-total-height, window-total-width): Doc fix.
14238 (window-body-size): Move from C.
14239 (window-body-height, window-body-width): Move to C.
14240
0a9f9ab5
SM
142412011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
14242
14243 * window.el: Make special-display like display-buffer-alist (bug#9532).
14244 (display-buffer--special-action): New function, morphed
14245 from display-buffer--special.
14246 (display-buffer): Use it to handle special-display-buffers at higher
14247 priority (just after display-buffer-alist).
14248 (display-buffer-fallback-action, display-buffer--other-frame-action)
14249 (pop-to-buffer-same-window): Remove display-buffer--special.
14250
a769dd15
GM
142512011-11-07 Glenn Morris <rgm@gnu.org>
14252
14253 * calendar/cal-menu.el (cal-menu-set-date-title):
14254 Do nothing if not in a calendar. (Bug#9976)
14255
05a61ee3
SM
142562011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
14257
14258 * files.el (find-file): Always use selected-window.
14259
be7f5545
MR
142602011-11-07 Martin Rudalics <rudalics@gmx.at>
14261
14262 * window.el (window-combinations): Make WINDOW argument
14263 mandatory. Rewrite doc-string.
14264 (walk-window-subtree, window-atom-check, window-min-delta)
14265 (window-max-delta, window--resize-this-window)
14266 (window--resize-root-window-vertically, window-tree)
14267 (balance-windows, window-state-put): Rewrite doc-strings as to
14268 not mention the term "subwindow".
14269 (window--resize-subwindows-skip-p): Rename to
14270 window--resize-child-windows-skip-p.
14271 (window--resize-subwindows-normal): Rename to
14272 window--resize-child-windows-normal.
14273 (window--resize-subwindows): Rename to
14274 window--resize-child-windows.
14275 (window-or-subwindow-p): Rename to window--in-subtree-p.
14276
3c6702ef
ML
142772011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
14278
14279 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
14280 Ensure that mbox format messages end in two newlines (Bug#9974).
14281
49745b39
CY
142822011-11-06 Chong Yidong <cyd@gnu.org>
14283
14284 * window.el (window-combination-p): Function deleted; its
14285 side-effect is not used in any existing code.
14286 (window-combinations, window-combined-p): Call window-*-child
14287 directly.
14288
24300f5f
CY
142892011-11-05 Chong Yidong <cyd@gnu.org>
14290
14291 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
14292 (window-size-ignore, window-state-get): Callers changed.
14293 (window-normalize-window): Rename from window-normalize-any-window.
14294 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 14295 (window-normalize-live-window): Delete.
447f16b8
CY
14296 (window-combination-p, window-combined-p, window-combinations)
14297 (walk-window-subtree, window-atom-root, window-min-size)
14298 (window-sizable, window-sizable-p, window-size-fixed-p)
14299 (window-min-delta, window-max-delta, window-resizable)
14300 (window-resizable-p, window-full-height-p, window-full-width-p)
14301 (window-current-scroll-bars, window-point-1, set-window-point-1)
14302 (window-at-side-p, window-in-direction, window-resize)
14303 (adjust-window-trailing-edge, maximize-window, minimize-window)
14304 (window-deletable-p, delete-window, delete-other-windows)
14305 (record-window-buffer, unrecord-window-buffer)
14306 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
14307 (quit-window, split-window, window-state-put)
14308 (set-window-text-height, fit-window-to-buffer)
14309 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 14310
89bd5ee1
EZ
143112011-11-04 Eli Zaretskii <eliz@gnu.org>
14312
53479029
EZ
14313 * mail/rmail.el (rmail-simplified-subject): Decode subject with
14314 rfc2047-decode-string.
14315 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
14316 warnings.
14317
89bd5ee1
EZ
14318 * window.el (window-body-height, window-body-width): Mention in
14319 the doc string that the return values are in frame's canonical
14320 units. (Bug#9949)
14321
bd17fdee
AM
143222011-11-03 Alan Mackenzie <acm@muc.de>
14323
14324 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
14325 change in cc-engine.el.
14326
acc825c5
SM
143272011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
14328
14329 * window.el (switch-to-buffer): Use `force-same-window' interactively.
14330
1885e5b8
MR
143312011-11-02 Martin Rudalics <rudalics@gmx.at>
14332
14333 * window.el (quit-window): Call unrecord-window-buffer after
14334 showing another buffer in the window. (Bug#9937)
acc825c5 14335 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 14336
ebe06da9
JB
143372011-11-02 Juanma Barranquero <lekktu@gmail.com>
14338
14339 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
14340 Accept status with more than 9 shelves. (Bug#9935)
14341 Reported by Colin D Bennett <colin@gibibit.com>.
14342
4ee88440
MR
143432011-11-01 Martin Rudalics <rudalics@gmx.at>
14344
14345 * help.el (with-help-window): Don't reference
14346 temp-buffer-show-specifiers in doc-string.
14347
08e1d82c
AS
143482011-10-31 Andreas Schwab <schwab@linux-m68k.org>
14349
14350 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
14351 menu-item.
14352
84bd6e9e
VJL
143532011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
14354
14355 * whitespace.el: New version 13.2.2.
14356 (whitespace-newline-mode): Disable properly. Reported by Sarah
14357 <EmacsWiki>.
14358
dba0634a
UJ
143592011-10-30 Ulf Jasper <ulf.jasper@web.de>
14360
14361 * net/newst-treeview.el: Remove "Time-stamp".
14362 (newsticker--group-manage-orphan-feeds): Do not call
14363 newsticker--treeview-tree-update.
db22a3c2
JB
14364 (newsticker-treeview-update, newsticker-treeview):
14365 Call newsticker--treeview-tree-update if necessary.
dba0634a 14366
3d8daefe
MR
143672011-10-30 Martin Rudalics <rudalics@gmx.at>
14368
14369 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
14370 (window-iso-combinations): Remove "iso-" infix.
14371 Suggested by Chong Yidong.
3d8daefe
MR
14372 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
14373 (window-max-delta-1, window-resize, window--resize-siblings)
14374 (window--resize-this-window, adjust-window-trailing-edge)
14375 (split-window, balance-windows-1)
14376 (shrink-window-if-larger-than-buffer):
14377 * calendar/calendar.el (calendar-generate-window):
db22a3c2 14378 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 14379
1bc4c3ae
SM
143802011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
14381
14382 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
14383 in place (bug#9907).
14384 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
14385 (eshell-rewrite-if-command, eshell-rewrite-for-command)
14386 (eshell-structure-basic-command, eshell-rewrite-while-command)
14387 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
14388 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
14389 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
14390 (eshell-do-pipelines-synchronously, eshell-eval-command):
14391 Use backquotes and prefer setq to set.
14392 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
14393 (eshell-macrop): Use functionp.
c1e2f5fa 14394 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 14395
30b65d9c
CY
143962011-10-30 Chong Yidong <cyd@gnu.org>
14397
14398 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
14399 instead of set-mark (Bug#9810).
14400
2d197ffb
CY
144012011-10-30 Chong Yidong <cyd@gnu.org>
14402
14403 * window.el (split-window-below, split-window-right): Rename from
14404 split-window-above-each-other and split-window-side-by-side
14405 respectively. All callers changed.
14406 (split-window-sensibly, split-window-sensibly): Use them.
14407 (split-window-keep-point): Doc fix.
14408
14409 * isearch.el: Add isearch-scroll property to split-window-below
14410 and split-window-right.
14411
14412 * follow.el (follow-mode):
14413 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
14414 * progmodes/ada-xref.el (ada-gdb-application):
14415 * emulation/vip.el (vip-buffer-in-two-windows):
14416 * image-dired.el (image-dired-dired-with-window-configuration):
14417 * dired-x.el (dired-do-find-marked-files):
14418 * dired.el (dired-pop-to-buffer):
14419 * bs.el (bs--show-with-configuration):
14420 * vc/emerge.el (emerge-setup-windows):
14421 * textmodes/two-column.el (2C-two-columns):
14422 * textmodes/reftex-toc.el (reftex-toc):
14423 * progmodes/gdb-mi.el (gdb-setup-windows):
14424 * progmodes/fortran.el (fortran-window-create):
14425 * net/newst-treeview.el (newsticker--treeview-window-init):
14426 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
14427 * emulation/tpu-edt.el (tpu-gold-map):
14428 * emulation/crisp.el (crisp-mode-map):
14429 * calendar/calendar.el (calendar-basic-setup): Callers changed.
14430
38bb2ca8
CY
144312011-10-29 Chong Yidong <cyd@gnu.org>
14432
aa4de341
CY
14433 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
14434
e1eb5385
CY
14435 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
14436
5d2ece3c
CY
14437 * textmodes/flyspell.el (flyspell-word): Fix char offset for
14438 forged Ispell output (Bug#7904).
14439
38bb2ca8
CY
14440 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
14441
d0af9f77
SM
144422011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
14443
14444 * doc-view.el: Avoid ugly errors about not finding nil.
14445 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
14446 (doc-view-dvipdf-program, doc-view-unoconv-program)
14447 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
14448 Avoid nil or absolute file name as default value.
14449 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
14450
52bedd34
AM
144512011-10-28 Alan Mackenzie <acm@muc.de>
14452
db22a3c2 14453 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 14454
7e43cfa5
AM
144552011-10-28 Alan Mackenzie <acm@muc.de>
14456
14457 Amend the handling of c-beginning/end-of-defun in nested declaration
14458 scopes.
14459
52bedd34
AM
14460 * progmodes/cc-vars.el (c-defun-tactic): Move here from
14461 cc-langs.el. Change it to a defcustom.
7e43cfa5 14462
52bedd34
AM
14463 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
14464 cc-vars.el.
7e43cfa5 14465
d0af9f77
SM
14466 * progmodes/cc-engine.el (c-beginning-of-statement-1):
14467 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 14468
52bedd34 14469 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 14470 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
14471 (c-widen-to-enclosing-decl-scope): New function.
14472 (c-while-widening-to-decl-block): New macro.
14473 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
14474 outward for defun boundaries, and correspondingly change symbol
14475 `respect-enclosure' to `go-outward'.
14476 (c-declaration-limits): Change algorithm to report only the "innermost"
14477 defun's boundaries.
14478
1a2ce9ee
DD
144792011-10-28 Deniz Dogan <deniz@dogan.se>
14480
14481 * net/rcirc.el (rcirc-mode): Use hard newlines.
14482
bc97a826
AM
144832011-10-28 Alan Mackenzie <acm@muc.de>
14484
14485 Amend to indent and fontify macros "which include their own semicolon"
14486 correctly, using the "virtual semicolon" mechanism.
14487
52bedd34 14488 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 14489
d0af9f77 14490 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 14491 Recode to scan one line at a time rather than having \n and \r
58179cce 14492 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 14493 (c-forward-label): Amend for virtual semicolons.
58179cce 14494 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 14495
52bedd34
AM
14496 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
14497 of the new C macros.
bc97a826 14498
52bedd34 14499 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
14500 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
14501 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
14502 (c-opt-cpp-macro-define): Make into a full language variable.
14503 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
14504 AWK Mode (including \n, \r) removed, no longer needed.
14505
d0af9f77
SM
14506 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
14507 Invoke c-make-macro-with-semi-re.
bc97a826 14508
52bedd34
AM
14509 * progmodes/cc-vars.el (c-macro-with-semi-re):
14510 (c-macro-names-with-semicolon): New variables.
58179cce 14511 (c-make-macro-with-semi-re): New function.
bc97a826 14512
7a6c0941
SM
145132011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
14514
14515 * vc/log-edit.el: Fill empty field rather than adding new one.
14516 (log-edit-add-field): New function.
14517 (log-edit-insert-changelog): Use it.
14518
b0c4cdcf
ML
145192011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
14520
14521 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
14522
ee1f1da9
SM
145232011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
14524
14525 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
14526 (gdb--check-interpreter): New function.
14527 (gdb): Use it.
14528
51bc5f8b
GM
145292011-10-27 Glenn Morris <rgm@gnu.org>
14530
416a2c45
GM
14531 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
14532 (least-positive-float, least-negative-float)
14533 (least-positive-normalized-float, least-negative-normalized-float)
14534 (float-epsilon, float-negative-epsilon):
14535 Remove unnecessary declarations.
14536
14537 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
14538 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
14539 (least-positive-float, least-negative-float)
14540 (least-positive-normalized-float, least-negative-normalized-float)
14541 (float-epsilon, float-negative-epsilon): Add doc-strings,
14542 based on those in cl.texi.
14543
51bc5f8b
GM
14544 * files.el (set-visited-file-name): If the major-mode changed,
14545 reload the local variables. (Bug#9796)
14546
15de15c6
CY
145472011-10-27 Chong Yidong <cyd@gnu.org>
14548
14549 * subr.el (change-major-mode-after-body-hook): New hook.
14550 (run-mode-hooks): Run it.
14551
ee1f1da9
SM
14552 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14553 Use change-major-mode-before-body-hook.
15de15c6
CY
14554
14555 * simple.el (fundamental-mode):
14556 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
14557 change introducing fundamental-mode-hook.
14558
5430d399
JB
145592011-10-26 Juanma Barranquero <lekktu@gmail.com>
14560
acc825c5 14561 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 14562
ad74a69e
MA
145632011-10-26 Michael Albinus <michael.albinus@gmx.de>
14564
14565 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 14566 tramp.el explicitly. (Bug#7583)
ad74a69e 14567
71d4c2a5
SM
145682011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
14569
14570 * progmodes/octave-mod.el:
14571 * progmodes/octave-inf.el: Update maintainer.
14572
b1f6fa26
CY
145732011-10-26 Chong Yidong <cyd@gnu.org>
14574
14575 * subr.el (with-wrapper-hook): Rewrite doc.
14576
3f04efd6
MA
145772011-10-25 Michael Albinus <michael.albinus@gmx.de>
14578
14579 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 14580 filenames "/method:foo:". (Bug#9793)
3f04efd6 14581
410488d3
SM
145822011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
14583
14584 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
14585 (bug#9865).
14586
c1ebb47e
GM
145872011-10-24 Glenn Morris <rgm@gnu.org>
14588
14589 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
14590
7f5c46c7
MA
145912011-10-24 Michael Albinus <michael.albinus@gmx.de>
14592
14593 * notifications.el: Add the requirement of a running D-Bus session
14594 bus to the Commentary.
14595
db2440b6
JL
145962011-10-24 Juri Linkov <juri@jurta.org>
14597
14598 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
14599 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
14600 (Bug#9364)
14601
feecf435
JL
146022011-10-24 Juri Linkov <juri@jurta.org>
14603
14604 * info.el (Info-following-node-name-re): Add newline to the list
14605 of allowed characters for leading space. (Bug#9824)
14606
a3839de2
SM
146072011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
14608
acc825c5
SM
14609 * progmodes/octave-inf.el (inferior-octave-mode-map):
14610 Fix C-c C-h binding.
a3839de2
SM
14611 * progmodes/octave-mod.el (octave-help): Remove.
14612
09388e76
MA
146132011-10-23 Michael Albinus <michael.albinus@gmx.de>
14614
14615 Sync with Tramp 2.2.3.
14616
14617 * net/tramp-cache.el (top): Pacify byte-compiler using
14618 `init-file-user' and `site-run-file'.
14619
14620 * net/trampver.el: Update release number.
14621
86c60681
CY
146222011-10-23 Chong Yidong <cyd@gnu.org>
14623
14624 * files.el (toggle-read-only): Remove obsolete comment about
14625 version control.
14626
14627 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
14628 for toggle-read-only. Note that this hasn't called vc-next-action
14629 since 2008-05-02, though it wasn't documented at the time.
14630
a3839de2
SM
14631 * vc/ediff-init.el (ediff-toggle-read-only-function):
14632 Use toggle-read-only.
86c60681 14633
cd5495ff
AM
146342011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
14635
14636 Fix bug #9560, sporadic wrong indentation; improve instrumentation
14637 of c-parse-state.
14638
00b77525 14639 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 14640 correct faulty logical expression.
cd5495ff
AM
14641 (c-parse-state-state, c-record-parse-state-state):
14642 (c-replay-parse-state-state): New defvar/defuns.
14643 (c-debug-parse-state): Use new functions.
14644
42ee24ed
MR
146452011-10-22 Martin Rudalics <rudalics@gmx.at>
14646
14647 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 14648 last fix. Use window-in-direction correctly.
42ee24ed 14649
a7dee7e7
CY
146502011-10-21 Chong Yidong <cyd@gnu.org>
14651
14652 * progmodes/idlwave.el (idlwave-mode):
14653 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
14654 require-final-newline; that's done in prog-mode.
14655 Suggested by Stefan Monnier.
a7dee7e7 14656
e07b9a6d
MR
146572011-10-21 Martin Rudalics <rudalics@gmx.at>
14658
14659 * mouse.el (mouse-drag-window-above)
14660 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
14661 (mouse-drag-mode-line-1, mouse-drag-header-line)
14662 (mouse-drag-vertical-line-rightward-window): Remove.
14663 (mouse-drag-line): New function.
14664 (mouse-drag-mode-line, mouse-drag-header-line)
14665 (mouse-drag-vertical-line): Call mouse-drag-line.
14666 * window.el (window-at-side-p, windows-at-side): New functions.
14667
7e1361d9
UM
146682011-10-21 Ulrich Mueller <ulm@gentoo.org>
14669
14670 * tar-mode.el (tar-grind-file-mode):
14671 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
14672
30fcaf3a
CY
146732011-10-21 Chong Yidong <cyd@gnu.org>
14674
14675 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
14676 * progmodes/vera-mode.el (vera-mode):
14677 Use mode-require-final-newline.
30fcaf3a 14678
516eddb0
GM
146792011-10-20 Glenn Morris <rgm@gnu.org>
14680
db22a3c2 14681 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 14682
10d5f513
CS
146832011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
14684
14685 * emulation/cua-base.el (cua-set-mark): Fix case of string.
14686
ac6c8639
CY
146872011-10-20 Chong Yidong <cyd@gnu.org>
14688
14689 * emulation/cua-base.el (cua-mode):
14690 * mail/footnote.el (footnote-mode):
14691 * mail/mailabbrev.el (mail-abbrevs-mode):
14692 * net/xesam.el (xesam-minor-mode):
14693 * progmodes/bug-reference.el (bug-reference-mode):
14694 * progmodes/cap-words.el (capitalized-words-mode):
14695 * progmodes/compile.el (compilation-minor-mode)
14696 (compilation-shell-minor-mode):
14697 * progmodes/gud.el (gud-tooltip-mode):
14698 * progmodes/hideif.el (hide-ifdef-mode):
14699 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
14700 * progmodes/subword.el (subword-mode):
14701 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
14702 * progmodes/which-func.el (which-function-mode):
14703 * term/tvi970.el (tvi970-set-keypad-mode):
14704 * term/vt100.el (vt100-wide-mode):
14705 * textmodes/flyspell.el (flyspell-mode):
14706 * textmodes/ispell.el (ispell-minor-mode):
14707 * textmodes/nroff-mode.el (nroff-electric-mode):
14708 * textmodes/paragraphs.el (use-hard-newlines):
14709 * textmodes/refill.el (refill-mode):
14710 * textmodes/reftex.el (reftex-mode):
14711 * textmodes/rst.el (rst-minor-mode):
14712 * textmodes/sgml-mode.el (html-autoview-mode)
14713 (sgml-electric-tag-pair-mode):
14714 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
14715 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
14716 * emulation/crisp.el (crisp-mode):
14717 * emacs-lisp/eldoc.el (eldoc-mode):
14718 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
14719 minor mode behavior.
14720
aa42ab43
JL
147212011-10-19 Juri Linkov <juri@jurta.org>
14722
14723 * descr-text.el (describe-char): Add #x2010 and #x2011 to
14724 the list of hard-coded chars with escape-glyph face.
14725
89400f1d
SM
147262011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
14727
14728 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
14729
305c07f6
MA
147302011-10-19 Michael Albinus <michael.albinus@gmx.de>
14731
14732 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
14733 running process.
14734
13754b54
GM
147352011-10-19 Glenn Morris <rgm@gnu.org>
14736
14737 * vc/vc-bzr.el (vc-bzr-after-dir-status):
14738 Ignore ignored files. (Bug#9726)
14739
06e21633
CY
147402011-10-19 Chong Yidong <cyd@gnu.org>
14741
14742 Doc fix for minor modes, stating that an omitted argument enables
14743 the mode unconditionally when called from Lisp.
14744
14745 * abbrev.el (abbrev-mode):
14746 * allout.el (allout-mode):
14747 * autoinsert.el (auto-insert-mode):
14748 * autoarg.el (autoarg-mode, autoarg-kp-mode):
14749 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
14750 (global-auto-revert-mode):
14751 * battery.el (display-battery-mode):
14752 * composite.el (global-auto-composition-mode)
14753 (auto-composition-mode):
14754 * delsel.el (delete-selection-mode):
14755 * desktop.el (desktop-save-mode):
14756 * dired-x.el (dired-omit-mode):
14757 * dirtrack.el (dirtrack-mode):
14758 * doc-view.el (doc-view-minor-mode):
14759 * double.el (double-mode):
14760 * electric.el (electric-indent-mode, electric-pair-mode):
14761 * emacs-lock.el (emacs-lock-mode):
14762 * epa-hook.el (auto-encryption-mode):
14763 * follow.el (follow-mode):
14764 * font-core.el (font-lock-mode):
14765 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
14766 * help.el (temp-buffer-resize-mode):
14767 * hilit-chg.el (highlight-changes-mode)
14768 (highlight-changes-visible-mode):
14769 * hi-lock.el (hi-lock-mode):
14770 * hl-line.el (hl-line-mode, global-hl-line-mode):
14771 * icomplete.el (icomplete-mode):
14772 * ido.el (ido-everywhere):
14773 * image-file.el (auto-image-file-mode):
14774 * image-mode.el (image-minor-mode):
14775 * iswitchb.el (iswitchb-mode):
14776 * jka-cmpr-hook.el (auto-compression-mode):
14777 * linum.el (linum-mode):
14778 * longlines.el (longlines-mode):
14779 * master.el (master-mode):
14780 * mb-depth.el (minibuffer-depth-indicate-mode):
14781 * menu-bar.el (menu-bar-mode):
14782 * minibuf-eldef.el (minibuffer-electric-default-mode):
14783 * mouse-sel.el (mouse-sel-mode):
14784 * msb.el (msb-mode):
14785 * mwheel.el (mouse-wheel-mode):
14786 * outline.el (outline-minor-mode):
14787 * paren.el (show-paren-mode):
14788 * recentf.el (recentf-mode):
14789 * reveal.el (reveal-mode, global-reveal-mode):
14790 * rfn-eshadow.el (file-name-shadow-mode):
14791 * ruler-mode.el (ruler-mode):
14792 * savehist.el (savehist-mode):
14793 * scroll-all.el (scroll-all-mode):
14794 * scroll-bar.el (scroll-bar-mode):
14795 * server.el (server-mode):
14796 * shell.el (shell-dirtrack-mode):
14797 * simple.el (auto-fill-mode, transient-mark-mode)
14798 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
14799 (line-number-mode, column-number-mode, size-indication-mode)
14800 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
14801 * strokes.el (strokes-mode):
14802 * time.el (display-time-mode):
14803 * t-mouse.el (gpm-mouse-mode):
14804 * tool-bar.el (tool-bar-mode):
14805 * tooltip.el (tooltip-mode):
14806 * type-break.el (type-break-mode-line-message-mode)
14807 (type-break-query-mode):
14808 * view.el (view-mode):
14809 * whitespace.el (whitespace-mode, whitespace-newline-mode)
14810 (global-whitespace-mode, global-whitespace-newline-mode):
14811 * xt-mouse.el (xterm-mouse-mode): Doc fix.
14812
a3839de2
SM
14813 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14814 Fix autogenerated docstring.
06e21633 14815
5214e501
JL
148162011-10-19 Juri Linkov <juri@jurta.org>
14817
14818 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
14819 by checking environment variables "DESKTOP_SESSION" and
14820 "XDG_CURRENT_DESKTOP". (Bug#9779)
14821
195f8db9
JL
148222011-10-19 Juri Linkov <juri@jurta.org>
14823
14824 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
14825 (browse-url-chromium-program, browse-url-chromium-arguments):
14826 New defcustoms.
14827 (browse-url-default-browser): Check for `browse-url-chromium' and
14828 call `browse-url-chromium-program'.
14829 (browse-url-chromium): New command. (Bug#9779)
14830
343a34ff
JB
148312011-10-18 Juanma Barranquero <lekktu@gmail.com>
14832
14833 * facemenu.el (list-colors-duplicates): On Windows, detect more
14834 duplicates by assuming that only colors matching "^System" are
14835 special "system colors". (Bug#9722)
14836
6978a151
SM
148372011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
14838
14839 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
14840 to distinguish the author from the committer.
14841
6a80b297
MA
148422011-10-18 Michael Albinus <michael.albinus@gmx.de>
14843
14844 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
14845
b31a5677
JK
148462011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
14847
14848 * international/mule.el (sgml-html-meta-auto-coding-function):
14849 Add support for detecting encoding in HTML5 specified only as
14850 <meta charset="UTF-8">. Implementation just makes http-equiv and
14851 content-type parts from HTML4 encoding string optional. (Bug#9716)
14852
80c6d77f
GM
148532011-10-18 Glenn Morris <rgm@gnu.org>
14854
14855 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
14856
08b0fee8
CY
148572011-10-18 Chong Yidong <cyd@gnu.org>
14858
14859 * faces.el (cursor): Doc fix.
14860
67e729a5
CY
148612011-10-17 Chong Yidong <cyd@gnu.org>
14862
14863 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
14864
343a34ff 148652011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
14866
14867 * dirtrack.el (dirtrack): Support shell buffers with path
14868 prefixes, e.g. tramp-based remote shells. (Bug#9647)
14869
0bc06380
TZ
148702011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
14871
14872 * json.el: Bump version to 1.3 and note change in History.
14873 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
14874
8b79f3e0
SM
148752011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
14876
5a7c536b
SM
14877 * comint.el (comint-insert-input, comint-send-input)
14878 (comint-get-old-input-default, comint-backward-matching-input)
14879 (comint-next-prompt): Use nil instead of `input' for field property of
14880 past user input (bug#114).
14881
96a8a0df
SM
14882 * minibuffer.el (completion--replace): Inherit surrounding properties
14883 (bug#114).
14884 (minibuffer-complete-and-exit): Use it.
14885
8b79f3e0
SM
14886 * comint.el (comint--table-subvert): Quote the all-completions output
14887 (bug#9160).
14888
b8f7ff0d
MR
148892011-10-17 Martin Rudalics <rudalics@gmx.at>
14890
8b79f3e0 14891 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 14892
b8f7ff0d 14893 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 14894 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
14895 entries and separate them from frame entries.
14896
c235b555
GM
148972011-10-15 Glenn Morris <rgm@gnu.org>
14898
14899 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
14900 Doc fixes.
14901
6bbfa6e1
CY
149022011-10-15 Chong Yidong <cyd@stupidchicken.com>
14903
8b79f3e0
SM
14904 * net/network-stream.el (network-stream-open-starttls):
14905 Improve detection of failure due to lack of TLS support.
ec5c990d 14906
6bbfa6e1
CY
14907 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
14908 putting the input text in front and in bold.
14909
98488977
SM
149102011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
14911
3d1337be
SM
14912 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
14913
ee0b45e4
SM
14914 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
14915 empty buffer.
14916
98488977
SM
14917 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
14918 unread-command-events rather than pushing yet-another event.
14919
186f4720
EZ
149202011-10-14 Eli Zaretskii <eliz@gnu.org>
14921
14922 * mail/sendmail.el (sendmail-query-once): Improve the wording of
14923 the explanation of the possible choices. Make the options passed
14924 to completing-read shorter.
14925
8b7a997c
AM
149262011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14927
14928 * textmodes/flyspell.el (flyspell-large-region): Make sure
14929 extended character mode is used if defined (Bug#1339).
14930
12587bbb
EZ
149312011-10-13 Eli Zaretskii <eliz@gnu.org>
14932
14933 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
14934 character info for LRE, LRO, RLE, and RLO characters by appending
14935 an invisible PDF.
12587bbb 14936
bad41229
SM
149372011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
14938
14939 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
14940 even in case of error; add debug spec; simplify data flow.
14941 (with-timeout-handler): Remove.
14942
28dbc92f
MA
149432011-10-12 Michael Albinus <michael.albinus@gmx.de>
14944
14945 Fix Bug#6019, Bug#9315.
14946
14947 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
14948 complete `buffer-file-name', the local file name part could look
14949 remotely (for example on VMS).
14950
14951 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
14952 `tramp-run-real-handler'.
14953 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
14954 already quoted by '"'.
14955
14956 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
14957 Let `file-name-handler-alist' be nil, the local file name part
14958 could look remotely (for example on VMS).
14959
e1b0b23a
SM
149602011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
14961
14962 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
14963 from here...
14964 (flyspell-post-command-hook): ...to here.
14965
a120bde9
SM
149662011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
14967
14968 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
14969 if not needed.
14970 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
14971 using completion. Protect against "slow" callers.
14972 Remove the "message hack".
14973
7ce7717b
JL
149742011-10-11 Juri Linkov <juri@jurta.org>
14975
14976 * isearch.el (isearch-lazy-highlight-word): New variable.
14977 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
14978 Use it. (Bug#9727)
14979
c02ee9d6
GM
149802011-10-11 Glenn Morris <rgm@gnu.org>
14981
14982 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
14983 like f90-previous-statement does.
14984
93e616fd 149852011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14986
1f190e73 14987 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
14988 only in interactive use, to avoid error.
14989
af7b6078
SM
149902011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
14991
14992 * minibuffer.el (completion-file-name-table): Fix last change,
14993 i.e. ignore normal errors but not the other ones.
14994
0563dae9
MR
149952011-10-10 Martin Rudalics <rudalics@gmx.at>
14996
14997 * window.el (special-display-buffer-names)
14998 (special-display-regexps): Remove some remnants of earlier
14999 changes from doc-strings.
366ca7f3
MR
15000 (quit-windows-on): New function.
15001
15002 * vc/vc.el (vc-revert, vc-rollback):
15003 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
15004 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 15005 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 15006
49677495
MR
150072011-10-09 Martin Rudalics <rudalics@gmx.at>
15008
15009 * window.el (frame-auto-hide-function): Add version tag.
15010 (Bug#9699)
15011
56f2d1e1
MA
150122011-10-09 Michael Albinus <michael.albinus@gmx.de>
15013
15014 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
15015 condition.
15016
112a6592
LL
150172011-10-09 Leo Liu <sdl.web@gmail.com>
15018
15019 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
15020 (Bug#9701)
15021
0812589b
GM
150222011-10-08 Glenn Morris <rgm@gnu.org>
15023
15024 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
15025 before the first code statement zero indent. (Bug#9690)
15026
b2b0776e
CY
150272011-10-08 Chong Yidong <cyd@stupidchicken.com>
15028
15029 * simple.el (count-words-region): Always count in the region.
15030 Report the number of lines and characters too.
15031 (count-words): New command, which counts in the buffer if the
15032 region is inactive, as count-words-region used to.
15033 (count-words--message): New function. Handle plurals.
15034 (count-lines-region): Make it an alias for count-words-region.
15035
15036 * bindings.el (esc-map): Replace count-lines-region with
15037 count-words-region.
15038
c557cd6b
MR
150392011-10-08 Martin Rudalics <rudalics@gmx.at>
15040
15041 * window.el (window--delete): Delete dedicated frame
15042 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 15043 (switch-to-buffer): Fix doc-string typo.
c557cd6b 15044
61a57ef4 150452011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15046
3a7d293b 15047 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 15048
c3833279
CY
150492011-10-07 Chong Yidong <cyd@stupidchicken.com>
15050
15051 * bindings.el ([M-left],[M-right]): Bind to left-word and
15052 right-word respectively.
15053
21ce8245
GM
150542011-10-07 Glenn Morris <rgm@gnu.org>
15055
15056 * cus-start.el (debug-on-quit): Fix custom type.
15057
6d823bb2
LMI
150582011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
15059
0181e193
LMI
15060 * subr.el (define-key-after): Clarify that the function is not
15061 useful for non-menu keymaps.
15062
6d823bb2
LMI
15063 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
15064
8e3459ce 150652011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15066
21ce8245 15067 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 15068 in current minibuffer (Fix bug with recursive minibuffers).
15069
a1c2d21e
CY
150702011-10-06 Chong Yidong <cyd@stupidchicken.com>
15071
15072 * progmodes/gdb-mi.el (gdb): Doc fix.
15073
5a4cf282
MR
150742011-10-05 Martin Rudalics <rudalics@gmx.at>
15075
15076 * window.el (frame-auto-hide-function): New option replacing
15077 frame-auto-delete. Suggested by Stefan Monnier.
15078 (window--delete): Call frame-auto-hide-function instead of
15079 investigating frame-auto-delete.
c96111ea
MR
15080 (window-point-1, set-window-point-1): New functions.
15081 (window-in-direction, record-window-buffer, window-state-get-1)
15082 (display-buffer-record-window): Use window-point-1 instead of
15083 window-point.
15084 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 15085
9854542e
SM
150862011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
15087
15088 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
15089
8943cfb0
GM
150902011-10-05 Glenn Morris <rgm@gnu.org>
15091
15092 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
15093 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
15094
647ab967
LL
150952011-10-05 Leo Liu <sdl.web@gmail.com>
15096
15097 * subr.el (read-char-choice): Fix argument to buffer-live-p which
15098 works with buffer object.
15099
3ddfbced
SM
151002011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
15101
15102 * mpc.el (mpc-tool-bar-map): Add labels.
15103
bdfa5dd2
GM
151042011-10-04 Glenn Morris <rgm@gnu.org>
15105
15106 * calendar/holidays.el (calendar-check-holidays): Doc fix.
15107
0e2070b5
MR
151082011-10-04 Martin Rudalics <rudalics@gmx.at>
15109
15110 * window.el (window--delete): New function.
15111 (frame-auto-delete): Resuscitate option.
15112 (bury-buffer, replace-buffer-in-windows)
15113 (quit-window): Rewrite using window--delete.
15114 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
15115 Pass display-buffer-mark-dedicated to window--display-buffer-2
15116 (Bug#9639).
15117
3dc61a09
SM
151182011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
15119
915a9b64
SM
15120 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
15121 returns a list (bug#9554). Add remote file name completion.
15122 * comint.el (comint--table-subvert): Curry and get quote&unquote
15123 functions as arguments.
15124 (comint--complete-file-name-data): Adjust call accordingly.
15125 * pcomplete.el (pcomplete--table-subvert): Remove.
15126 (pcomplete-completions-at-point): Use comint--table-subvert instead.
15127
3dc61a09
SM
15128 * minibuffer.el (completion-table-case-fold): Use currying.
15129 (completion--styles-type, completion--cycling-threshold-type):
15130 New constants.
15131 (completion-styles, completion-category-overrides)
15132 (completion-cycle-threshold): Use them.
15133 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
15134 completion-table-case-fold.
15135
8ea0a993
SB
151362011-10-03 Stephen Berman <stephen.berman@gmx.net>
15137
15138 * minibuffer.el (completion-category-overrides): Fix type of styles
15139 and add more user friendly tags (bug#9660).
15140
8c24b7f6
SM
151412011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
15142
15143 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
15144 (mule-input-method-string): New widget.
15145 (default-input-method, language-info-custom-alist): Use it.
15146
428fe61a
SM
151472011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
15148
32c1fffd
SM
15149 * pcomplete.el: Require comint.
15150 (pcomplete--common-suffix): Remove.
15151 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
15152 (pcomplete--table-subvert): Sync with comint--table-subvert.
15153 (pcomplete--entries): Use comint-completion-file-name-table.
15154 * comint.el (comint-unquote-filename): Simplify.
15155 (comint-completion-file-name-table): New function (bug#9616).
15156 (comint--complete-file-name-data): Use it.
15157
428fe61a
SM
15158 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
15159 (pcmpl-gnu-tar-buffer): Remove.
15160 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
15161 around. Make sure pcomplete-suffix-list is only changed temporarily.
15162 Don't look inside the tar's file if it's too large.
428fe61a 15163
04c52e2f
CY
151642011-10-01 Chong Yidong <cyd@stupidchicken.com>
15165
ce3cefcc
CY
15166 * cus-edit.el (custom-mode-map):
15167 * epa.el (epa-key-list-mode-map):
15168 * man.el (Man-mode-map):
15169 * startup.el (splash-screen-keymap):
15170 * simple.el (special-mode-map): Use scroll-up-command and
15171 scroll-down-command.
15172
15173 * progmodes/idlw-help.el (idlwave-help-mode-map):
15174 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
15175 * net/newst-plainview.el (newsticker-mode-map):
15176 * emulation/ws-mode.el (wordstar-mode-map):
15177 * emulation/vi.el (vi-com-map):
15178 * calc/calc-graph.el (calc-graph-show-dumb):
15179 * term/sun.el (terminal-init-sun):
15180 * term/ns-win.el (global-map):
15181 * progmodes/grep.el (grep-mode-map):
15182 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
15183 * mail/rmail.el (rmail-mode-map):
15184 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
15185
04c52e2f
CY
15186 * custom.el (custom-safe-themes, load-theme): Treat value of t for
15187 custom-safe-themes as special.
15188
79adf8c8
JD
151892011-10-01 Julien Danjou <julien@danjou.info>
15190
15191 * notifications.el (notifications-notify): Fix docstring.
15192
63bd50d3
PS
151932011-10-01 Per Starbäck <per@starback.se>
15194
15195 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
15196
199e4c7e
MR
151972011-09-30 Martin Rudalics <rudalics@gmx.at>
15198
15199 * startup.el (command-line-1): Fix last fix by inserting
15200 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 15201 (Bug#9605) and (Bug#9636)
199e4c7e 15202
fe5f08dd
EZ
152032011-09-29 Eli Zaretskii <eliz@gnu.org>
15204
15205 * simple.el (line-move): If auto-hscroll-mode is disabled and the
15206 window is hscrolled, move by logical lines. (Bug#9607)
15207 (line-move-visual): Update the doc string to the above effect.
15208
b5516bbd
MR
152092011-09-29 Martin Rudalics <rudalics@gmx.at>
15210
ccee00c0
MR
15211 * window.el (display-buffer-record-window): When WINDOW is the
15212 selected window use `point' instead of `window-point'. (Bug#9626)
15213
b5516bbd
MR
15214 * startup.el (command-line-1): Use insert-before-markers when
15215 inserting initial-scratch-message. (Bug#9605)
ccee00c0 15216
b5516bbd
MR
15217 * help.el (help-window): Remove variable.
15218
52aa0014
GM
152192011-09-29 Glenn Morris <rgm@gnu.org>
15220
15221 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
15222
df9a7357
JB
152232011-09-29 Juanma Barranquero <lekktu@gmail.com>
15224
15225 * descr-text.el (describe-char-categories): Accept category
15226 descriptions more than one line long.
15227
a8406c20
SM
152282011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
15229
88d9610c
SM
15230 * simple.el (delete-trailing-whitespace): Fix last change.
15231
a5daf810
SM
15232 * progmodes/perl-mode.el (perl-syntax-propertize-function):
15233 Don't confuse "y => 3" as the beginning of a `y' operation.
15234
a8406c20
SM
15235 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
15236 object has more than 4 slots (bug#9613).
15237
a239d4e9
JB
152382011-09-28 Juanma Barranquero <lekktu@gmail.com>
15239
15240 * subr.el (with-output-to-temp-buffer):
15241 * net/quickurl.el (quickurl, quickurl-browse-url):
15242 Fix typos in docstrings.
15243
693fbdb6
EZ
152442011-09-27 Eli Zaretskii <eliz@gnu.org>
15245
15246 * minibuffer.el (completion-styles)
15247 (completion-category-overrides): Cross reference each other in doc
15248 strings.
15249
8b457e28
GM
152502011-09-27 Glenn Morris <rgm@gnu.org>
15251
15252 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
15253 to split-string. (Bug#9606)
15254
85a16208
LMI
152552011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
15256
15257 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
15258 (bug#9615).
15259
502f9ebd
CY
152602011-09-27 Chong Yidong <cyd@stupidchicken.com>
15261
15262 * emacs-lisp/package.el (list-packages): Fix echo area message.
15263
7690bdea
LL
152642011-09-27 Leo Liu <sdl.web@gmail.com>
15265
15266 * ido.el (ido-read-internal): Accept cons cell HIST arg.
15267
e2ee6f30
MA
152682011-09-25 Michael Albinus <michael.albinus@gmx.de>
15269
15270 * net/dbus.el (dbus-unregister-object): Don't release services for
15271 registered signals. (Bug#9581)
15272
f3f98342
TZ
152732011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
15274
15275 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
15276 function that picks between cfengine 2 and 3 support
15277 automatically. Update docs accordingly.
15278
dd7aa8dd
KH
152792011-09-22 Kenichi Handa <handa@m17n.org>
15280
15281 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
15282 ZERO.
15283 (indian-itrans-v5-table-for-tamil): New variable.
15284 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
15285
3f2b07f8
KM
152862011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
15287
15288 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
15289 that's true if the current command involved collapsing of text.
15290 It's reset to false at the beginning of the next command.
15291 (allout-post-command-business): Move the cursor to the beginning
15292 of entry if the cursor is hidden and collapsing activity just
15293 happened.
15294
371d6a61
CY
152952011-09-24 Chong Yidong <cyd@stupidchicken.com>
15296
15297 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
15298 tracking (Bug#9541).
15299
2ac2721a
UJ
153002011-09-24 Ulf Jasper <ulf.jasper@web.de>
15301
15302 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
15303 (newsticker-show-news): Automatically load html rendering package
15304 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
15305 because w3m-fill-column is let-bound" and the error "Symbol's value
15306 as variable is void: w3m-fill-column".
2ac2721a 15307
fac7ae53
MA
153082011-09-24 Michael Albinus <michael.albinus@gmx.de>
15309
15310 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
15311 Release services only if they are defined. (Bug#9581)
15312
e08b633b
RS
153132011-09-23 Richard Stallman <rms@gnu.org>
15314
e488d29c
RS
15315 * textmodes/paragraphs.el (forward-sentence): For backwards case,
15316 distinguish start of paragraph from start of its text.
15317
19c38752
RS
15318 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
15319
e08b633b
RS
15320 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
15321 (rmail-generate-viewer-buffer): Put that hook on view buffer.
15322 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
15323
0a39f27e
AS
153242011-09-23 Andreas Schwab <schwab@linux-m68k.org>
15325
15326 * international/mule-diag.el (mule-diag): Insert a newline after
15327 each fontset description.
15328
db4e950d
SM
153292011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
15330
15331 * simple.el (delete-trailing-whitespace):
15332 Document last change; simplify.
15333
eca3f3ea
PW
153342011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
15335
d68e189a
PW
15336 * simple.el (delete-trailing-whitespace): Also delete
15337 extra newlines at the end of the buffer.
15338
eca3f3ea
PW
15339 * textmodes/picture.el: Make motion commands obey shift-select-mode.
15340 (picture-newline): Use forward-line so as to ignore fields.
15341
01c157cc
SM
153422011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
15343
15344 * subr.el (with-wrapper-hook): Fix edebug spec.
15345
022de23e
LMI
153462011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
15347
15348 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
15349 (bug#4538).
15350
91683089
MA
153512011-09-23 Michael Albinus <michael.albinus@gmx.de>
15352
eca3f3ea
PW
15353 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
15354 Fix nasty bug using wrong cached values.
91683089 15355
5bdd6fa4
AM
153562011-09-23 Alan Mackenzie <acm@muc.de>
15357
15358 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
15359
97adfb97
CY
153602011-09-23 Chong Yidong <cyd@stupidchicken.com>
15361
15362 * window.el (pop-to-buffer): Ensure right window is selected if we
15363 chose another frame.
15364
d4ef2b50
EZ
153652011-09-22 Eli Zaretskii <eliz@gnu.org>
15366
15367 * simple.el (what-cursor-position): Use get-char-property-change
15368 and next-single-char-property-change, to be able to show display
15369 properties that come from overlays as well as text properties.
15370
72258fe5
CY
153712011-09-22 Chong Yidong <cyd@stupidchicken.com>
15372
15373 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
15374
15375 * cmuscheme.el (run-scheme, switch-to-scheme):
15376 * cus-edit.el (customize-group, custom-buffer-create)
15377 (customize-browse):
15378 * info.el (info):
15379 * shell.el (shell):
15380 * mail/sendmail.el (mail):
15381 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
15382
8f098516
RS
153832011-09-22 Richard Stallman <rms@gnu.org>
15384
15385 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
15386 move back only to line beg, don't move back over blank lines.
15387
e74f1bb6
MA
153882011-09-22 Michael Albinus <michael.albinus@gmx.de>
15389
15390 * files.el (copy-directory): Set directory attributes only in case
15391 they could be retrieved from the source directory. (Bug#9565)
15392
bfeef8b6
DK
153932011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
15394
15395 * progmodes/hideshow.el (hs-looking-at-block-start-p)
15396 (hs-find-block-beginning, hs-hide-level-recursive):
15397 Ignore strings as well as comments. (Bug#9502)
15398
7e423bb8
AS
153992011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
15400
15401 * progmodes/sql.el (sql-comint-postgres):
15402 Convert port number to a string. (Bug#9566)
15403
b4d72fcf
MR
154042011-09-22 Martin Rudalics <rudalics@gmx.at>
15405
15406 * window.el (quit-window): Undedicate window when switching to
15407 previous buffer. Reported by Thierry Volpiatto
15408 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
15409 (special-display-popup-frame): When popping up a new frame reset
15410 its previous buffers to nil. Simplify code.
b4d72fcf 15411
a7b88dc6
MA
154122011-09-21 Michael Albinus <michael.albinus@gmx.de>
15413
15414 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
15415 and process filter, as done also in `shell-command'.
15416
cf4eacfd
MR
154172011-09-21 Martin Rudalics <rudalics@gmx.at>
15418
eca3f3ea 15419 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
15420 Call set-window-start with NOFORCE argument t.
15421 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
15422 (quit-window): Reword doc-string. Handle new format of
15423 quit-restore parameter. Don't delete window if it has a
15424 previous buffer we can show instead of the present one.
15425 (display-buffer-record-window): Rewrite using a new format for
15426 the quit-restore window parameter
15427 (special-display-popup-frame, display-buffer-same-window)
15428 (display-buffer-reuse-window, display-buffer-pop-up-frame)
15429 (display-buffer-pop-up-window, display-buffer-use-some-window):
15430 Adapt symbol passed to display-buffer-record-window.
15431 * help.el (help-window-setup): Handle new format of quit-restore
15432 parameter.
15433
8d28cb95
SM
154342011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
15435
94ab793f
SM
15436 * faces.el (face-list): Fix docstring (bug#9564).
15437
8d28cb95
SM
15438 * window.el (display-buffer--action-function-custom-type):
15439 Don't include internal functions in the Custom interface.
15440
3820edeb
JL
154412011-09-20 Juri Linkov <juri@jurta.org>
15442
15443 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
15444 (Info-forward-node, Info-backward-node, Info-next-preorder)
15445 (Info-last-preorder): Use it. (Bug#9528)
15446
5147931d
JL
154472011-09-20 Juri Linkov <juri@jurta.org>
15448
15449 * info.el (Info-last-preorder): Visit last menu item only when
15450 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
15451
cf499a1a
JD
154522011-09-20 Julien Danjou <julien@danjou.info>
15453
15454 * password-cache.el (password-cache-remove): Remove entries even if the
15455 value is nil, so that password with a nil value (negative caching) is
15456 possible to invalidate.
15457
f84e2fe2
LM
154582011-09-20 Lawrence Mitchell <wence@gmx.li>
15459
15460 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
15461 all whitespace around breakpoint. (Bug#9553)
15462 (f90-find-breakpoint): Only break at whitespace inside a comment.
15463
78054a46
SM
154642011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
15465
15466 * minibuffer.el (completion-file-name-table): Keep track of errors.
15467 (completion-table-with-predicate): Handle the case where pred1 is nil.
15468 * pcomplete.el (pcomplete-completions-at-point): Simplify.
15469
345083b2
SM
154702011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
15471
e24e27be
SM
15472 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
15473 (debugger-return-value): Signal an error if the debugging context does
15474 not await any return value.
15475
345083b2
SM
15476 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
15477 * image-mode.el (image-toggle-display-text)
15478 (image-toggle-display-image): Stay away from evil `intangible'.
15479
08d355e3
LL
154802011-09-19 Leo Liu <sdl.web@gmail.com>
15481
15482 * replace.el (occur-revert-arguments): Make it permanent-local.
15483 (occur-mode): Don't call font-lock-defontify.
15484
f01da43f
CY
154852011-09-19 Chong Yidong <cyd@stupidchicken.com>
15486
15487 * net/ldap.el (ldap-search-internal): Don't push empty search
15488 result (Bug#9508).
15489
b6072fa6
SM
154902011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
15491
15492 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
15493
443d6696
MA
154942011-09-19 Michael Albinus <michael.albinus@gmx.de>
15495
15496 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
15497 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
15498
7cc6e154
JL
154992011-09-18 Juri Linkov <juri@jurta.org>
15500
15501 * buff-menu.el (Buffer-menu-mode-map):
15502 * dired.el (dired-mode-map):
15503 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
15504 (lisp-interaction-mode-map):
15505 * emacs-lisp/package.el (package-menu-mode-map):
15506 * epa.el (epa-key-list-mode-map):
15507 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
15508 (menu-bar-options-menu):
15509 * outline.el (outline-mode-menu-bar-map):
15510 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
15511 * vc/vc-dir.el (vc-dir-menu-map):
15512 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
15513 Capitalize non-function content words in menu item strings.
15514
15515 * dired.el (dired-mode-map): Add menu item for
15516 `image-dired-dired-toggle-marked-thumbs'.
15517
80302a81
JL
155182011-09-18 Juri Linkov <juri@jurta.org>
15519
15520 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
15521 to `isearch-case-fold-search' and restore its original value
15522 after the `isearch-mode' call.
15523
46c5cf66
JL
155242011-09-18 Juri Linkov <juri@jurta.org>
15525
15526 * progmodes/grep.el (grep-process-setup): Don't check code for 1
15527 because `zgrep' returns 1 for successful matches (bug#9226).
15528
d18b513b
JL
155292011-09-18 Juri Linkov <juri@jurta.org>
15530
15531 * info.el (Info-extract-menu-node-name): Check the second match
15532 for empty string (second test-case of bug#9528).
15533 (Info-last-preorder): Let-bind `Info-history' to nil to not add
15534 intermediate nodes to the history (first test-case of bug#9528).
15535
72753f87
JL
155362011-09-18 Juri Linkov <juri@jurta.org>
15537
15538 * info.el (Info-mode-syntax-table): New variable.
1154d12e 15539 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 15540
c9384295
JL
155412011-09-18 Juri Linkov <juri@jurta.org>
15542
1154d12e
JB
15543 * info.el (Info-file-supports-index-cookies):
15544 Increment line-beginning-position's arg from 3 to 4 because makeinfo
15545 outputs one more line for long file names (bug#4142).
c9384295 15546
d473dce8
CY
155472011-09-18 Chong Yidong <cyd@stupidchicken.com>
15548
15549 * newcomment.el (comment-normalize-vars): If prompting for
15550 comment-start, set comment-start-skip too (Bug#8424).
15551
2176854d
JB
155522011-09-18 Johan Bockgård <bojohan@gnu.org>
15553
15554 * icomplete.el: Fix previous fix of Bug#5849.
15555 (icomplete-mode): Don't set completion-show-inline-help.
15556 (icomplete-minibuffer-setup): Set completion-show-inline-help
15557 locally during icompletion.
15558
3aace4e4
CY
155592011-09-18 Chong Yidong <cyd@stupidchicken.com>
15560
c940224f
CY
15561 * woman.el (woman2-process-escapes): Don't delete unrecognized
15562 escapes (Bug#7843).
15563
3aace4e4
CY
15564 * files.el (inhibit-first-line-modes-regexps): Add image files.
15565 (hack-local-variables-prop-line): Return nil for malformed
15566 prop-lines (Bug#9044).
15567
710dec63
MA
155682011-09-18 Michael Albinus <michael.albinus@gmx.de>
15569
15570 * net/tramp.el (top): Don't require 'shell.
15571 (tramp-methods): Fix docstring.
15572 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
15573 Return complete remote file name. Handle "smb" case.
15574 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
15575 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
15576
15577 * net/tramp-compat.el (top): Require 'shell.
15578
15579 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
15580 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
15581 `tramp-current-host'.
15582 (tramp-get-remote-tmpdir): Remove.
15583
15584 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
15585 `tramp-tmpdir' entries.
15586 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
15587 (tramp-smb-handle-file-attributes): Ignore errors.
15588 (tramp-smb-wait-for-output): Check also for process end.
15589
5d5ac8ec
LMI
155902011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
15591
15592 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
15593 when sending QUIT (bug#9312).
15594
8c0f49f0
CY
155952011-09-17 Chong Yidong <cyd@stupidchicken.com>
15596
15597 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
15598 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
15599 occur-mode-display-occurrence.
15600 (occur-edit-mode): Add usage message.
15601 (occur-cease-edit): New command.
15602 (occur-after-change-function): Use text properties to find the
15603 position of the prefix text.
15604 (occur-engine): Set stickiness of prefix text properties.
15605
8f1383f7
GM
156062011-09-17 Glenn Morris <rgm@gnu.org>
15607
15608 * progmodes/etags.el (complete-tag):
15609 Fix call to completion-in-region. (Bug#9526)
15610
744ba0e3
JL
156112011-09-17 Juri Linkov <juri@jurta.org>
15612
15613 * textmodes/ispell.el (ispell-word): Add to the error message
15614 the word, ispell program name and current dictionary (bug#9121).
15615 (ispell-tex-arg-end): Capitalize "error" in the error message.
15616
d9bbf400
AS
156172011-09-17 Andreas Schwab <schwab@linux-m68k.org>
15618
15619 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
15620 check. (Bug#4251)
15621
8da11505
JL
156222011-09-17 Juri Linkov <juri@jurta.org>
15623
15624 * window.el (window-safe-min-height, window-safe-min-width):
15625 Fix typos (followup to bug#9522).
15626
a91adc7e
SJ
156272011-09-17 Sven Joachim <svenjoac@gmx.de>
15628
15629 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
15630
064f328a
EZ
156312011-09-16 Eli Zaretskii <eliz@gnu.org>
15632
15633 * simple.el (line-move): If goal-column is set, move by logical
15634 lines, not by display lines. (Bug#971)
15635 (next-line, previous-line, goal-column, line-move-visual): Doc fix
15636 to reflect the above change.
15637
e69df516
SM
156382011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
15639
15640 * image.el (imagemagick-register-types): Use regexp-opt.
15641
cbb0f9ab
CY
156422011-09-15 Chong Yidong <cyd@stupidchicken.com>
15643
15644 * window.el (display-buffer-base-action): Rename from
15645 display-buffer-default-action. Make default value empty.
15646 (display-buffer-overriding-action): Convert to defvar.
15647 (display-buffer-fallback-action): New var.
15648
25322144
CY
156492011-09-15 Chong Yidong <cyd@stupidchicken.com>
15650
15651 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
15652 declaration.
15653 (package--add-to-archive-contents): If there is a duplicate entry
15654 with an older version, remove it.
15655 (package-menu-mark-delete, package-menu-mark-install)
15656 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
15657 (package-menu-mark-obsolete-for-deletion):
15658 Use package-menu-get-status instead of a regexp search.
25322144
CY
15659 (package-menu-get-status): Use tabulated-list-entry.
15660 (package-menu-mark-upgrades): New command.
d770725a 15661 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
15662 (package-menu-execute): Do installation before deletion.
15663 (package-menu-refresh, package-menu-execute): Use derived-mode-p
15664 instead of checking major-mode.
15665 (package-menu--find-upgrades): New function.
15666
7520339c
LMI
156672011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
15668
15669 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
15670 passwords in the log buffer.
65a046c4
LMI
15671 (smtpmail-process-filter): Update the process marker so that the
15672 "broken by peer" status message is inserted in the right place.
7520339c 15673
d3c30954
SM
156742011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
15675
3fe48822
SM
15676 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
15677 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
15678 bibtex-completion-at-point-function.
15679 (bibtex-completion-at-point-function): Use them.
15680
1b8b3954
SM
15681 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
15682
d3c30954
SM
15683 * mpc.el (mpc-constraints-tag-lookup): New function.
15684 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
15685 also to browser "album|playlist".
15686
72779976
JL
156872011-09-14 Juri Linkov <juri@jurta.org>
15688
15689 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
15690 (isearch-edit-string): Use length of `isearch-string' when
15691 `isearch-fail-pos' returns nil.
15692 (isearch-message): Remove duplicate code and call
15693 `isearch-fail-pos' with arg `t'.
15694
a0bf2bcd
CY
156952011-09-14 Chong Yidong <cyd@stupidchicken.com>
15696
17bb0a2d
CY
15697 * replace.el (occur-mode-goto-occurrence): Don't force using other
15698 window (Bug#9499).
15699
a0bf2bcd
CY
15700 * dired-aux.el (dired-do-chmod): Don't provide initial input.
15701
f678e0b6
MR
157022011-09-14 Martin Rudalics <rudalics@gmx.at>
15703
15704 * window.el (display-buffer-window): Remove.
15705 (display-buffer-record-window): Use help-setup window parameter
15706 instead of variable display-buffer-window.
15707 (display-buffer-function, special-display-buffer-names)
15708 (special-display-function): Mention help-setup parameter instead
15709 of display-buffer-window in doc-string.
d3c30954
SM
15710 * help.el (help-window-setup): New argument help-window.
15711 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
15712 Reword some messages.
15713 (with-help-window): Pass window used for displaying the buffer
15714 to help-window-setup. Don't set display-buffer-window.
15715
8e39b2e8
GM
157162011-09-13 Glenn Morris <rgm@gnu.org>
15717
15718 * emacs-lisp/debug.el (debugger-make-xrefs):
15719 Preserve point. (Bug#9462)
15720
85e9c04b
CY
157212011-09-13 Chong Yidong <cyd@stupidchicken.com>
15722
15723 * window.el (window-deletable-p): Use next-frame.
15724
1b36ed6a
MR
157252011-09-13 Martin Rudalics <rudalics@gmx.at>
15726
15727 * window.el (window-auto-delete): Remove.
15728 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 15729 dedication and previous buffers.
1b36ed6a
MR
15730 (switch-to-prev-buffer): Don't delete window.
15731 (delete-windows-on): Delete a window's frame if and only if the
15732 window is dedicated.
15733 (replace-buffer-in-windows): Delete buffer's window or frame if
15734 and only if window is dedicated.
15735 (quit-window): Handle quit-restore as before last change.
4d61f28d 15736 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 15737
ef8ef9fb
CY
157382011-09-13 Chong Yidong <cyd@stupidchicken.com>
15739
15740 * window.el (window-deletable-p): Never delete the last frame on a
15741 given terminal.
15742
b2cba41e
GM
157432011-09-13 Glenn Morris <rgm@gnu.org>
15744
15745 * help.el (describe-key-briefly): Copy previous standard-output change.
15746
51553db6 157472011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
15748
15749 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
15750
b7556719
GM
157512011-09-13 Glenn Morris <rgm@gnu.org>
15752
15753 * emacs-lisp/lisp-mode.el (lisp-indent-function):
15754 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
15755
64b51947
CY
157562011-09-12 Chong Yidong <cyd@stupidchicken.com>
15757
15758 * dired-aux.el (dired-mark-read-string): Don't return default
15759 value on empty input (Bug#9361).
15760 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
15761 Omit initial minibuffer contents.
15762 (dired-do-chmod): Signal an error on empty input.
15763 (dired-mark-read-string): Don't return default on empty input.
15764
15765 * files.el (file-modes-symbolic-to-number): Doc fix.
15766
393a301e
SM
157672011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
15768
15769 * international/mule-cmds.el (ucs-completions): Remove.
15770 (read-char-by-name): Use complete-with-action instead; add metadata.
15771
fa5660f9
CY
157722011-09-11 Chong Yidong <cyd@stupidchicken.com>
15773
15774 * window.el (display-buffer--action-function-custom-type)
15775 (display-buffer--action-custom-type): New vars.
15776 (display-buffer-alist, display-buffer-default-action)
15777 (display-buffer-overriding-action): Add defcustom types.
15778
4a592f66
CY
15779 * frame.el (delete-other-frames): Doc fix (Bug#276).
15780
73d56dbd
LMI
157812011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15782
15783 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
15784
37ac18a3
CY
157852011-09-11 Chong Yidong <cyd@stupidchicken.com>
15786
15787 Change modes that used same-window-* vars to use switch-to-buffer.
15788
15789 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
15790 Use switch-to-buffer.
15791
15792 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
15793 (customize-browse, custom-buffer-create-other-window):
15794 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
15795
15796 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
15797 (Info-prev, Info-up, Info-speedbar-goto-node)
15798 (info-display-manual): Use switch-to-buffer.
15799 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
15800
15801 * mail/sendmail.el (mail): Use switch-to-buffer.
15802 (mail-recover): Use switch-to-buffer-other-window.
15803
15804 * cmuscheme.el (run-scheme, switch-to-scheme):
15805 * ielm.el (ielm):
15806 * shell.el (shell):
15807 * net/rlogin.el (rlogin):
15808 * net/telnet.el (telnet, rsh):
15809 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
15810
10195bd6
AS
158112011-09-11 Andreas Schwab <schwab@linux-m68k.org>
15812
15813 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
15814
b322f63a
LMI
158152011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15816
39d7fed6
LMI
15817 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
15818 so don't mention it (bug#9301).
ba5a81f1 15819 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 15820
ee0e9f11
LMI
15821 * faces.el (face-spec-set-match-display): Make `(type graphic)'
15822 match `x', `w32' and `ns', like the manual says (bug#9029).
15823
0b1c89c1 15824 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
15825 (process-kill-buffer-query-function): Mention the buffer name in
15826 the query.
0b1c89c1 15827
77549ea8
LMI
15828 * image-mode.el (image-next-line): The line parameter is mandatory
15829 (bug#9258).
15830
803ef892
LMI
15831 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
15832 which can be useful (bug#9301).
15833
12980837
LMI
15834 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
15835
91054f8f
LMI
15836 * subr.el (match-string): Mention that the current buffer should
15837 be the same as the search was done in (bug#9282).
15838
b322f63a
LMI
15839 * facemenu.el: Disable the remove-* commands if the mark isn't
15840 active (bug#9162).
15841
3199b96f
CY
158422011-09-10 Chong Yidong <cyd@stupidchicken.com>
15843
15844 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
15845 of display-buffer.
15846 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
15847
15848 * replace.el (occur-mode-goto-occurrence)
15849 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
15850 and display-buffer.
15851
15852 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
15853 display-buffer.
15854
15855 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
15856 special-display and same-window variables.
15857 (mail-other-window): Use switch-to-buffer-other-window.
15858 (mail-other-frame): USe switch-to-buffer-other-frame.
15859
393a301e
SM
15860 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
15861 Use display-buffer-other-frame.
3199b96f
CY
15862 (gdb-display-gdb-buffer): Use pop-to-buffer.
15863
15864 * progmodes/gud.el (gud-goto-info): Use info-other-window.
15865
15866 * progmodes/python.el: Don't set same-window-buffer-names.
15867
15868 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
15869
15870 * window.el (display-buffer-alist): Add *Python*.
15871
8319e0bf
CY
158722011-09-10 Chong Yidong <cyd@stupidchicken.com>
15873
15874 * window.el (display-buffer-alist): Add entry for buffers
15875 previously handled same-window-*.
15876 (display-buffer-alist, display-buffer-default-action)
15877 (display-buffer-overriding-action): Mark as risky.
15878 (display-buffer-alist): Document action function changes.
15879 (display-buffer--same-window-action)
15880 (display-buffer--other-frame-action): New variables.
15881 (switch-to-buffer, display-buffer-other-frame): Use them.
15882 (display-buffer): Rename reuse-frame entry to reusable-frames.
15883 (display-buffer-reuse-selected-window): Function deleted.
15884 (display-buffer-reuse-window): Handle reusable-frames alist entry.
15885 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
15886 (display-buffer-special): New function.
15887 (display-buffer--maybe-pop-up-frame-or-window): Rename from
15888 display-buffer-reuse-or-pop-window. Split off special-display
15889 part into display-buffer-special.
15890 (display-buffer-use-some-window): Don't perform any special
15891 pop-up-frames handling.
15892 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 15893 (display-buffer--maybe-same-window): Rename from
0d3ff375 15894 display-buffer-maybe-same-window.
8319e0bf 15895
919a69aa
CY
15896 * info.el: Don't set same-window-regexps.
15897 (info-setup): New function.
15898 (info-other-window, info): Call it.
15899
15900 * cus-edit.el: Don't set same-window-regexps.
15901 (customize-group): New argument.
15902 (customize-group-other-window): Use it.
15903 (customize-face, customize-face-other-window): Likewise.
15904 (custom-buffer-create-other-window): Use pop-to-buffer directly.
15905
8319e0bf
CY
15906 * net/rlogin.el:
15907 * net/telnet.el:
15908 * progmodes/gud.el: Don't set same-window-regexps.
15909
15910 * cmuscheme.el:
15911 * ielm.el:
15912 * shell.el:
15913 * mail/sendmail.el:
15914 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
15915
25173000
JL
159162011-09-10 Juri Linkov <juri@jurta.org>
15917
15918 * isearch.el (isearch-edit-string): Remove obsolete mention of
15919 `C-w' (`isearch-yank-word-or-char') from docstring.
15920 (isearch-query-replace): Fix typo in docstring (bug#9466).
15921
056e44ef
JL
159222011-09-10 Juri Linkov <juri@jurta.org>
15923
15924 * paren.el (show-paren-function): Don't show escaped parens.
15925 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
15926
c3760c17
EZ
159272011-09-10 Eli Zaretskii <eliz@gnu.org>
15928
15929 * mail/sendmail.el (mml-to-mime, mml-attach-file)
15930 (mm-default-file-encoding): Remove autoload forms, they are
15931 replaced with autoload cookies in mml.el and mm-encode.el.
15932 (mail-add-attachment): New command.
15933 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
15934 (mail-mode): Mention mail-insert-file and mail-add-attachment in
15935 the doc string.
15936 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
15937
fece895e
RT
159382011-09-10 Reuben Thomas <rrt@sc3d.org>
15939
e69df516
SM
15940 * simple.el (count-words-region): Use buffer if there's no region
15941 (bug#9429).
fece895e 15942
5e68ce4a
JL
159432011-09-09 Juri Linkov <juri@jurta.org>
15944
15945 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
15946 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
15947 (wdired-isearch-filter-read-only): New function. (Bug#6362)
15948
0a6b9622
AM
159492011-09-09 Alan Mackenzie <acm@muc.de>
15950
15951 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
15952 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
15953
14a29deb
EZ
159542011-09-09 Eli Zaretskii <eliz@gnu.org>
15955
15956 Fix for Savannah bug#9392.
15957 * simple.el (mail-encode-mml): New defvar.
15958
15959 * mail/rmail.el (mail-encode-mml): Add a defvar.
15960 (rmail-enable-mime-composing): Default to t.
15961 (rmail-forward): Use MIME method of forwarding only if both
15962 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
15963 Set mail-encode-mml non-nil if the MIME method was used.
15964
15965 * mail/sendmail.el (mml-to-mime): Add autoload form.
15966 (mail-encode-mml): Add a defvar.
15967 (mail-mode): Make mail-encode-mml buffer-local and initialize it
15968 to nil.
15969 (mail-send): If mail-encode-mml is non-nil, run the outgoing
15970 message through mml-to-mime, and reset mail-encode-mml to nil.
15971
28c45130
GM
159722011-09-09 Glenn Morris <rgm@gnu.org>
15973
15974 * woman.el (woman-if-body): When processing an .el block,
15975 do not delete the next .el block as well. (Bug#9447)
69f4b618 15976 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 15977
9b1c252e
MR
159782011-09-08 Martin Rudalics <rudalics@gmx.at>
15979
15980 * window.el (window-deletable-p): Make sure window is live before
15981 invoking window-prev-buffers.
15982
567457e3
LL
159832011-09-08 Leo Liu <sdl.web@gmail.com>
15984
15985 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
15986
97f05794
JL
159872011-09-08 Juri Linkov <juri@jurta.org>
15988
15989 * progmodes/compile.el (compilation-environment): Make it
15990 a defcustom (bug#8340).
15991
8b0874b5
MR
159922011-09-08 Martin Rudalics <rudalics@gmx.at>
15993
15994 * window.el (frame-auto-delete): Rename to window-auto-delete.
15995 Make it control auto-deletion of windows and/or frames.
15996 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 15997 for deleting window/frame. (Bug#9419)
8b0874b5
MR
15998 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
15999 Rewrite handling of case when window/frame can be deleted.
16000 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 16001 argument t. (Bug#9456)
8b0874b5 16002
4feb6e73
CY
160032011-09-07 Chong Yidong <cyd@stupidchicken.com>
16004
16005 * help-mode.el (help-mode): Restore autoload.
16006
91ab9c13
JL
160072011-09-07 Juri Linkov <juri@jurta.org>
16008
16009 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
16010 `compilation-environment'. Set buffer-local
16011 `compilation-environment' to `thisenv' later after (funcall mode).
16012 (Bug#8340)
16013
16014 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
16015 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
16016 instead of replacing its value. (Bug#8340)
16017
0527e251
JL
160182011-09-07 Juri Linkov <juri@jurta.org>
16019
16020 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
16021 based on text properties put by `grep-filter' instead of matching
16022 escape sequences.
16023 (grep-mode): Set buffer-local `compilation-error-screen-columns'
16024 to the value of `grep-error-screen-columns' (bug#9438).
16025
249f792c
JL
160262011-09-07 Juri Linkov <juri@jurta.org>
16027
16028 * simple.el (next-error-highlight, next-error-highlight-no-select):
16029 Doc fix (bug#9432).
16030
ff7271b9
OT
160312011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
16032
16033 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
16034 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
16035
183fc730
LL
160362011-09-07 Leo Liu <sdl.web@gmail.com>
16037
16038 * net/rcirc.el (rcirc-mode): Conditionally initialize
16039 rcirc-input-ring.
16040
77694924
SM
160412011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
16042
16043 * emacs-lisp/find-func.el (find-function-C-source): Only set
16044 find-function-C-source-directory after checking that we found a source
16045 file there (bug#9440).
16046
d809b8eb
AM
160472011-09-06 Alan Mackenzie <acm@muc.de>
16048
16049 * isearch.el (isearch-other-meta-char): Wherever a key list is
16050 unread, "unread" the prefix arg, too. This fixes bug #8901.
16051
453de99f
OG
160522011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
16053
16054 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
16055
90439906
JL
160562011-09-05 Juri Linkov <juri@jurta.org>
16057
16058 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
16059
f62bd846
JL
160602011-09-05 Juri Linkov <juri@jurta.org>
16061
16062 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
16063 keeping point where processing of grep matches begins, and
16064 continue to delete remaining escape sequences from the same point.
16065 (grep-filter): Make leading zero optional in "0?1;31m" because
16066 git-grep emits "\033[1;31m" escape sequences unlike expected
16067 "\033[01;31m" as GNU Grep does (bug#9408).
16068 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
16069
045820ec
JL
160702011-09-05 Juri Linkov <juri@jurta.org>
16071
16072 * subr.el (y-or-n-p): Capitalize "yes".
16073
f5e29b9b
MA
160742011-09-04 Michael Albinus <michael.albinus@gmx.de>
16075
16076 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
16077 `tramp-cache-unload-hook' where appropriate.
16078 (tramp-methods): Rename `tramp-remote-sh' to
16079 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
16080 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
16081
16082 * net/tramp-sh.el (top): Don't require 'shell.
16083 (tramp-methods): Add `tramp-remote-shell' and
16084 `tramp-remote-shell-args' entries.
16085 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
16086 (tramp-sh-handle-shell-command): Remove.
16087 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
16088 Use `tramp-remote-shell'.
16089
2784c434
CY
160902011-09-03 Chong Yidong <cyd@stupidchicken.com>
16091
393a301e 16092 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
16093 (sendmail-query-once): Save directly to send-mail-function.
16094 Update message-send-mail-function too.
16095
16096 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
16097
464cdf56
CS
160982011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
16099
16100 * progmodes/python.el (python-mode-map): Use correct function to
16101 start python interpreter from menu-bar (as reported by Geert
16102 Kloosterman).
16103 (inferior-python-mode-map): Fix typo.
393a301e 16104 (python-shell-map): Remove.
464cdf56 16105
d37e5c87
DD
161062011-09-03 Deniz Dogan <deniz@dogan.se>
16107
16108 * net/rcirc.el (rcirc-print): Simplify code for
16109 rcirc-scroll-show-maximum-output. There is no need to walk
16110 through all windows to find the right one.
16111
f3ada0ee
CS
161122011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
16113
16114 * help.el (help-return-method): Doc fix.
16115
1f3c99ca
MR
161162011-09-03 Martin Rudalics <rudalics@gmx.at>
16117
16118 * window.el (window-deletable-p): Don't return a non-nil value
16119 when there's a buffer that was shown in the window before.
16120 (Bug#9419)
393a301e
SM
16121 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
16122 Set window's previous buffers to nil.
1f3c99ca 16123
a3cf097f
EZ
161242011-09-03 Eli Zaretskii <eliz@gnu.org>
16125
16126 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
16127 newline before and after the tag line, so it doesn't interfere
16128 with determining the paragraph direction of bidirectional text.
16129
3d03de90
LL
161302011-09-03 Leo Liu <sdl.web@gmail.com>
16131
16132 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
16133
c3313451
CY
161342011-09-02 Chong Yidong <cyd@stupidchicken.com>
16135
393a301e 16136 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
16137 (pop-to-buffer): Change interactive spec. Pass second argument
16138 directly to display-buffer.
16139 (display-buffer): Fix interactive spec. Use functionp to
16140 distinguish between a function and a list of functions.
16141
16142 * abbrev.el (edit-abbrevs):
16143 * arc-mode.el (archive-extract):
16144 * autoinsert.el (auto-insert):
16145 * bookmark.el (bookmark-bmenu-list):
16146 * files.el (find-file):
16147 * view.el (view-buffer):
16148 * progmodes/compile.el (compilation-goto-locus):
16149 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
16150
89894cd8
CY
161512011-09-02 Chong Yidong <cyd@stupidchicken.com>
16152
16153 * window.el (display-buffer-alist): Doc fix.
16154 (display-buffer): Add docstring. Don't treat
16155 display-buffer-default specially.
16156 (display-buffer-reuse-selected-window)
16157 (display-buffer-same-window, display-buffer-maybe-same-window)
16158 (display-buffer-reuse-window, display-buffer-pop-up-frame)
16159 (display-buffer-pop-up-window)
16160 (display-buffer-reuse-or-pop-window)
16161 (display-buffer-use-some-window): New functions.
16162 (display-buffer-default-action): Use them.
393a301e 16163 (display-buffer-default): Delete.
89894cd8
CY
16164 (pop-to-buffer-1): Fix choice of actions.
16165
ae0bc9fb
SM
161662011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
16167
16168 * minibuffer.el (completion--insert-strings): Don't get confused by
16169 completion entries that end with an LF char.
16170
e9d90883
EZ
161712011-09-01 Eli Zaretskii <eliz@gnu.org>
16172
16173 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
16174
437014c8
CY
161752011-09-01 Chong Yidong <cyd@stupidchicken.com>
16176
16177 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
16178 (display-buffer-same-window, display-buffer-other-window):
16179 New functions.
437014c8
CY
16180 (pop-to-buffer-1): New function. Use the above.
16181 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 16182 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
16183
16184 * view.el (view-buffer-other-window, view-buffer-other-frame):
16185 Just use pop-to-buffer.
16186
a5e063d5
TV
161872011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16188
16189 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
16190
793d32bb
WH
161912011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
16192
16193 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
16194
d65e4c15
RS
161952011-08-31 Richard Stallman <rms@gnu.org>
16196
16197 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
16198 of the separation of rmail-view-buffer from rmail-buffer.
16199 If you say no to "replace original", the decrypt is in the
16200 view buffer. If you say yes, the decrypt goes into the
16201 rmail buffer also.
16202
f818cd2a
MR
162032011-08-31 Martin Rudalics <rudalics@gmx.at>
16204
16205 * window.el (display-buffer-window): Rewrite doc-string.
16206 (display-buffer-record-window): New function.
16207 (display-buffer-macro-specifiers)
16208 (display-buffer-even-window-sizes, display-buffer-set-height)
16209 (display-buffer-set-width, display-buffer-in-window)
16210 (display-buffer-reuse-window, display-buffer-split-specifiers)
16211 (display-buffer-side-specifiers, display-buffer-split-window-1)
16212 (display-buffer-split-window, display-buffer-split-atom-window)
16213 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
16214 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
16215 (display-buffer-other-window-means-other-frame)
16216 (display-buffer-normalize-special)
16217 (display-buffer-normalize-default)
16218 (display-buffer-normalize-argument)
16219 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
16220 (display-buffer-normalize-specifiers, display-buffer-frame)
16221 (display-buffer-same-window, display-buffer-same-frame)
16222 (display-buffer-other-window)
16223 (display-buffer-same-frame-other-window)
16224 (display-buffer-other-frame, pop-to-buffer-same-window)
16225 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
16226 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
16227 (switch-to-buffer-same-frame)
16228 (switch-to-buffer-other-window-same-frame)
16229 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
16230 (display-buffer-alist-set-1, display-buffer-alist-set-2)
16231 (display-buffer-alist-set): Remove.
16232 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
16233 (special-display-regexps, special-display-function):
16234 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
16235 parameter.
16236 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
16237 (special-display-frame-alist, special-display-popup-frame)
16238 (same-window-buffer-names, same-window-regexps, same-window-p)
16239 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
16240 (split-window-preferred-function, split-height-threshold)
16241 (split-width-threshold, window-splittable-p)
16242 (split-window-sensibly, window--try-to-split-window)
16243 (window--frame-usable-p, even-window-heights)
16244 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
16245 (window--display-buffer-2, display-buffer-other-frame):
16246 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
16247 (display-buffer-default, display-buffer-assq-regexp): New functions.
16248 (display-buffer-alist): Rewrite doc-string.
16249 (display-buffer-default-action)
16250 (display-buffer-overriding-action): New variables.
16251 (display-buffer, switch-to-buffer): Rewrite.
16252 (pop-to-buffer): Restore Emacs 23 behavior but use
16253 window-normalize-buffer-to-display.
16254 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
16255 Restore Emacs 23 behavior but use
16256 window-normalize-buffer-to-switch-to.
16257 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
16258 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
16259 Rewrite using Emacs 23 options.
f818cd2a 16260
5bc3b51d
MA
162612011-08-31 Michael Albinus <michael.albinus@gmx.de>
16262
16263 * net/tramp.el (tramp-root-regexp): Remove.
16264 (tramp-completion-file-name-regexp-unified)
16265 (tramp-completion-file-name-regexp-separate)
16266 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 16267 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
16268 (tramp-drop-volume-letter): Simplify definition.
16269 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 16270
b1a4f8e1
SM
162712011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
16272
16273 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
16274 (bug#9356).
16275
5664fa7b
RT
162762011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
16277
b1a4f8e1 16278 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 16279
9a45d6c3
JL
162802011-08-29 Juri Linkov <juri@jurta.org>
16281
16282 * isearch.el (isearch-done): Don't display message "Mark saved"
16283 when arg `edit' is non-nil to prevent its flicker in the echo area.
16284
fb87e0fb
CY
162852011-08-28 Chong Yidong <cyd@stupidchicken.com>
16286
16287 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
16288 obsolete packages for deletion.
16289
09ac1c2a
CS
162902011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
16291
16292 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 16293 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
16294 view-mode from help-mode.
16295 (help-xref-override-view-map): Remove.
16296 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
16297 view-mode is not used anymore.
16298
7a1ff57f
CY
162992011-08-28 Chong Yidong <cyd@stupidchicken.com>
16300
16301 * server.el (server-port): Doc fix.
16302
b9696605
CY
16303 * cus-theme.el (custom-theme-choose-mode): Inherit from
16304 special-mode (Bug#9124).
16305 (custom-theme-choose-mode-map): Add special-mode to parent.
16306
ef8cdf8c
AM
163072011-08-28 Alan Mackenzie <acm@muc.de>
16308
16309 * progmodes/cc-fonts.el
16310 (c-make-font-lock-BO-decl-search-function): New function.
16311 (c-basic-matchers-after - "Fontify the clauses after various
16312 keywords"): Extract the three keyword lists for the 3 erroneous
16313 constructs from the list of four, and use the new function above
16314 in place of an old one.
16315
27de4e20
DD
163162011-08-28 Deniz Dogan <deniz@dogan.se>
16317
16318 * net/rcirc.el (rcirc-insert-prev-input)
16319 (rcirc-insert-next-input): Remove unused argument.
16320
356a3681
SM
163212011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
16322
16323 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
16324
3fc9b218
AM
163252011-08-27 Alan Mackenzie <acm@muc.de>
16326
16327 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
16328 handle function pointer parameters properly.
16329
538a061c
MR
163302011-08-27 Martin Rudalics <rudalics@gmx.at>
16331
16332 * window.el (display-buffer-reuse-window): Fix case where
16333 selected window was reused with non-nil OTHER-WINDOW argument.
16334 (Bug#9381)
16335
35b1c40c
DD
163362011-08-27 Deniz Dogan <deniz@dogan.se>
16337
16338 * net/rcirc.el (rcirc-check-auth-status): Adding support for
16339 oftc's NickServ messages.
16340
2f6a3e79
GM
163412011-08-27 Glenn Morris <rgm@gnu.org>
16342
16343 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
16344
7254299e
CY
163452011-08-26 Chong Yidong <cyd@stupidchicken.com>
16346
16347 * emacs-lisp/package.el (package-install): Call package-initialize
16348 if called interactively.
16349
f8ccf167
LL
163502011-08-26 Leo Liu <sdl.web@gmail.com>
16351
16352 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
16353
3e8cd5ce
JL
163542011-08-25 Juri Linkov <juri@jurta.org>
16355
16356 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
16357 `search-whitespace-regexp' (bug#9364).
16358
93eb7113
JL
163592011-08-25 Juri Linkov <juri@jurta.org>
16360
16361 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
16362 `regexp-search-ring' to their global values to protect from
16363 updating by `read-from-minibuffer' (bug#9185).
16364
f65d1611
JL
163652011-08-25 Juri Linkov <juri@jurta.org>
16366
16367 * textmodes/ispell.el (ispell-command-loop): Add newline
16368 at the end of the "Use option `i'..." line.
16369
f1cf7a31
JL
163702011-08-25 Juri Linkov <juri@jurta.org>
16371
16372 * battery.el (display-battery-mode): If `battery-status-function'
16373 or `battery-mode-line-format' is nil, display the message and set
16374 `display-battery-mode' to nil (bug#9363).
16375
0c95fcf7
EZ
163762011-08-25 Eli Zaretskii <eliz@gnu.org>
16377
16378 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
16379 bidi-string-mark-left-to-right; they are unnecessary now.
16380
a2ebe600
DD
163812011-08-25 Deniz Dogan <deniz@dogan.se>
16382
16383 * net/quickurl.el: Documentation typo fixes.
16384
e4ed06f1
CY
163852011-08-25 Chong Yidong <cyd@stupidchicken.com>
16386
16387 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
16388
e5f1c99e
GM
163892011-08-25 Glenn Morris <rgm@gnu.org>
16390
b2948976
GM
16391 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
16392
e5f1c99e
GM
16393 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
16394 (smtpmail-via-smtp): Handle nil response from smtp.
16395
f22f4808
JL
163962011-08-24 Juri Linkov <juri@jurta.org>
16397
16398 * proced.el (proced-marked): Inherit from `error' instead of
16399 `font-lock-warning-face'.
16400
16401 * ibuffer.el (ibuffer-marked-face): Change default face from
16402 `font-lock-warning-face' to `warning'.
16403 (ibuffer-deletion-face): Change default face from
16404 `font-lock-type-face' to `error'.
16405
16406 * battery.el (battery-update): Use the face `error' instead of
16407 `font-lock-warning-face' (bug#6117).
16408
6a93965e
JL
164092011-08-24 Juri Linkov <juri@jurta.org>
16410
16411 * faces.el (success): Change face color from "Green3" to
16412 "ForestGreen" on light background (bug#9353).
16413
1ed43b09
CY
164142011-08-24 Chong Yidong <cyd@stupidchicken.com>
16415
5664fa7b
RT
16416 * window.el (quit-window): Rename from quit-restore-window.
16417 Use same arglist as old quit-window.
1ed43b09
CY
16418 (frame-auto-delete): Doc fix.
16419
16420 * view.el (view-mode-exit): Use quit-window.
16421
11dcdbb2
JL
164222011-08-24 Juri Linkov <juri@jurta.org>
16423
16424 * isearch.el (isearch-ring-adjust1): Start visiting previous
16425 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
16426 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
16427 for empty search string (when the last search string is reused
16428 automatically) to adjust the isearch ring to the last element and
16429 prepare the correct index for further M-p commands (bug#9185).
16430
de62b4df
KH
164312011-08-24 Kenichi Handa <handa@m17n.org>
16432
16433 * international/ucs-normalize.el: If decomposition property of
16434 CHAR is the default one (i.e. a list of CHAR itself), treat it as
16435 nil.
16436 (nfd, nfkd): Likewise.
16437
963b492b
SM
164382011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
16439
16440 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
16441 from process filters aren't reliably transmitted to the surrounding
16442 accept-process-output.
16443 (mpc-proc-check): New function.
16444 (mpc-proc-sync): Use it (bug#8293)
16445
93b6b5e1
SM
164462011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
16447
16448 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
16449 Add compatibility functions (bug#9313).
16450
bca633fb
EZ
164512011-08-23 Eli Zaretskii <eliz@gnu.org>
16452
b177498a
EZ
16453 * cus-start.el (all): Add entry for bidi-paragraph-direction.
16454
6df6ae42 16455 * international/uni-bidi.el: Regenerate.
bca633fb 16456
0902a04e
KH
164572011-08-23 Kenichi Handa <handa@m17n.org>
16458
16459 * international/charprop.el:
16460 * international/uni-bidi.el:
16461 * international/uni-category.el:
16462 * international/uni-combining.el:
16463 * international/uni-comment.el:
16464 * international/uni-decimal.el:
16465 * international/uni-decomposition.el:
16466 * international/uni-digit.el:
16467 * international/uni-lowercase.el:
16468 * international/uni-mirrored.el:
16469 * international/uni-name.el:
16470 * international/uni-numeric.el:
16471 * international/uni-old-name.el:
16472 * international/uni-titlecase.el:
16473 * international/uni-uppercase.el: Regenerate.
16474
3bbf23bc
MR
164752011-08-23 Martin Rudalics <rudalics@gmx.at>
16476
16477 * help.el (help-window-setup): Fix message displayed when other
16478 window is reused. (Bug#9341)
16479
b3fd59bd
SM
164802011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
16481
1802e444
SM
16482 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
16483 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
16484
b3fd59bd
SM
16485 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
16486 Mark obsolete.
16487 * shell.el (shell-parse-pcomplete-arguments): New function.
16488 (shell-completion-vars): Use it instead (bug#9160).
16489
4eb61348
SM
164902011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
16491
867cab74
SM
16492 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
16493 strings and comments (bug#9333).
16494
4eb61348
SM
16495 * emacs-lisp/debug.el (debug-arglist): New function.
16496 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
16497 (debug-on-entry-1): Handle interpreted closures (bug#9120).
16498
262a1439
JL
164992011-08-22 Juri Linkov <juri@jurta.org>
16500
56ee679c
JL
16501 * progmodes/compile.el (compilation-mode-font-lock-keywords):
16502 Revert regexp that highlights output switches to its old
16503 pre-2010-10-28 value and remove one `?' from it (bug#9319).
16504
262a1439
JL
16505 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
16506 to check for empty output (bug#9226).
16507
f13f86fb
CY
165082011-08-22 Chong Yidong <cyd@stupidchicken.com>
16509
16510 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
16511 symbol-constituent as the default, as that stops font-lock from
16512 working properly (Bug#8843).
16513
c65c9622
LMI
165142011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
16515
16516 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
16517 `coding-system-for-*' around the process open call to avoid
16518 auth-source side effects.
e7f2c178 16519 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
16520 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
16521 probe hangs.
c65c9622 16522
23a8a5ab
CY
165232011-08-21 Chong Yidong <cyd@stupidchicken.com>
16524
ff98b2dd
CY
16525 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
16526
23a8a5ab
CY
16527 * emacs-lisp/find-func.el (find-function-noselect): New arg
16528 lisp-only.
16529
16530 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
16531 signal an error for built-in functions (Bug#6664).
16532
f5e3c598
LMI
165332011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
16534
16535 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
16536 (smtpmail-try-auth-methods): Use it.
16537
a3f2468a
CY
165382011-08-21 Chong Yidong <cyd@stupidchicken.com>
16539
2c34e8da
CY
16540 * font-lock.el (font-lock-fontify-region)
16541 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
16542 (font-lock-default-unfontify-buffer)
16543 (font-lock-default-fontify-region)
16544 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
16545
b3fd59bd
SM
16546 * progmodes/compile.el (compilation-error-properties):
16547 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
16548 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
16549 `ant' regexp.
ee31aabc 16550
a3f2468a
CY
16551 * net/browse-url.el (browse-url-firefox): Don't call
16552 browse-url-firefox-sentinel unless using -remote (Bug#9328).
16553
8e999f70
GM
165542011-08-20 Glenn Morris <rgm@gnu.org>
16555
c21a496a
GM
16556 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
16557
59ee0542
GM
16558 * tutorial.el (tutorial--default-keys): Update some default bindings.
16559
8e999f70
GM
16560 * files.el (hack-local-variables): Fully ignore case for "mode:".
16561
e3715033
AM
165622011-08-20 Alan Mackenzie <acm@muc.de>
16563
16564 Resolve invalid use of a regexp in regexp-opt.
16565
4d61f28d
JB
16566 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
16567 detection for a java annotation.
e3715033 16568
4d61f28d 16569 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
16570 detection for a java annotation.
16571
4d61f28d
JB
16572 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
16573 handling for java.
e3715033
AM
16574 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
16575
04ed2e9c
CY
165762011-08-20 Chong Yidong <cyd@stupidchicken.com>
16577
16578 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
16579 (Bug#9274).
16580
826cee64
AM
165812011-08-20 Alan Mackenzie <acm@muc.de>
16582
58179cce 16583 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
16584 such a construct. Mainly for when jit-lock etc. starts a chunk
16585 here.
16586
58179cce 16587 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 16588 variable.
58179cce 16589 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
16590 c-make-font-lock-search-function.
16591 (c-make-font-lock-search-function): Use the above function.
16592 (c-make-font-lock-context-search-function): New function.
16593 (c-cpp-matchers): Enhance the preprocessor expression case with
16594 the above function
16595 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
16596 which takes an expression.
16597
16598 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
16599
13009bd8
MR
166002011-08-20 Martin Rudalics <rudalics@gmx.at>
16601
16602 * window.el (display-buffer-reuse-window)
16603 (display-buffer-pop-up-window): Don't reuse or split a side
16604 window.
16605
9234ff7f
GM
166062011-08-19 Glenn Morris <rgm@gnu.org>
16607
16608 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 16609 Downcase "Mode:". (Bug#9331)
9234ff7f 16610
f635daa1
CY
166112011-08-18 Chong Yidong <cyd@stupidchicken.com>
16612
16613 * international/characters.el: Add L and R categories.
16614
16615 * subr.el (bidi-string-mark-left-to-right): Rename from
16616 string-mark-left-to-right. Use category search.
16617
16618 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
16619
bc987f8b
JL
166202011-08-18 Juri Linkov <juri@jurta.org>
16621
16622 * faces.el (error, warning, success): New faces with definitions
16623 copied from old default values of `font-lock-warning-face',
16624 `compilation-warning', `compilation-info' (bug#6117).
16625
16626 * font-lock.el (font-lock-warning-face): Inherit from `error'.
16627
16628 * progmodes/compile.el (compilation-error): Inherit from `error'.
16629 (compilation-warning): Inherit from `warning'.
16630 (compilation-info): Inherit from `success'.
16631
16632 * dired.el (dired-marked): Inherit from `warning'.
16633 (dired-flagged): Inherit from `error'.
16634
57173b96
LMI
166352011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
16636
3e79eb87
LMI
16637 * mail/smtpmail.el (auth-source): Require to avoid problems with
16638 binding variables (bug#9298). Also clean up some unused
16639 autoloads.
16640
b3fd59bd
SM
16641 * net/network-stream.el (network-stream-open-starttls):
16642 Support using starttls.el without using gnutls-cli.
57173b96 16643
02b404de
JL
166442011-08-17 Juri Linkov <juri@jurta.org>
16645
16646 * progmodes/grep.el (rgrep): Handle the case when
16647 `grep-find-command' is a cons cell (bug#9278).
16648
8c9177f2
MR
166492011-08-17 Martin Rudalics <rudalics@gmx.at>
16650
16651 * window.el (display-buffer-pop-up-frame): Run frame creation
16652 function with BUFFER current (as special-display-popup-frame
16653 does). Reported by Drew Adams.
16654
3644a0ab
DU
166552011-08-17 Daiki Ueno <ueno@unixuser.org>
16656
16657 * epa-mail.el: Simplify GnuPG group expansion using
16658 epg-expand-group.
16659 (epa-mail-group-alist, epa-mail-group-modtime)
16660 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
16661 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
16662 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
16663 Remove.
16664
5e617bc2 166652011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
16666
16667 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
16668
9c4aeabf
AM
166692011-08-16 Alan Mackenzie <acm@muc.de>
16670
16671 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
16672 Correct, to avoid the inside of macros.
16673
3a99bf64
RS
166742011-08-16 Richard Stallman <rms@gnu.org>
16675
04963aa8
RS
16676 * epa-mail.el: Handle GnuPG group definitions.
16677 (epa-mail-group-alist, epa-mail-group-modtime)
16678 (epa-mail-gnupg-conf-file): New variables.
16679 (epa-mail-parse-groups, epa-mail-sync-groups)
16680 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
16681 (epa-mail-expand-recipients): New functions.
16682 (epa-mail-encrypt): Call epa-mail-expand-recipients.
16683
177549d0
RS
16684 * mail/rmail.el (rmail-epa-decrypt): New command.
16685
fe38beef
RS
16686 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
16687 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
16688 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
16689 (epa-decrypt-armor-in-region): Make error message clearer.
16690
934eacb9
SM
166912011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
16692
16693 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
16694 and "a2b" to "ab" for `prefix'.
16695
d024fb4e
CY
166962011-08-14 Chong Yidong <cyd@stupidchicken.com>
16697
16698 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
16699 filter groups.
de148fee
CY
16700 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
16701 Fourquet (Bug#8804).
d024fb4e 16702
62f1ca49
JB
167032011-08-12 Juanma Barranquero <lekktu@gmail.com>
16704
16705 * startup.el (argi): Declare as global variable (bug#9275).
16706
9ccaaa4b
CY
167072011-08-12 Chong Yidong <cyd@stupidchicken.com>
16708
16709 * subr.el (string-mark-left-to-right): Search the entire string
16710 for RTL script, not just the terminating character. Doc fix.
16711
a3dae87a
SM
167122011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
16713
6cd18349
SM
16714 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
16715 New function.
16716 (js--regexp-literal, js-syntax-propertize-function): Remove.
16717 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
16718 (js-mode-map): Don't rebind electric keys.
16719 (js-insert-and-indent): Remove.
16720 (js-mode): Setup electric-layout and electric-indent instead.
16721
a3dae87a
SM
16722 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
16723
9d5cb631
DU
167242011-08-12 Daiki Ueno <ueno@unixuser.org>
16725
16726 * epa.el (epa-progress-callback-function): Fix the logic of
16727 displaying progress.
16728 * epa-file.el (epa-file-insert-file-contents): Make progress
16729 display more user-friendly.
16730 (epa-file-write-region): Ditto.
16731
3e26a4a2
CY
167322011-08-10 Chong Yidong <cyd@stupidchicken.com>
16733
16734 * subr.el (string-mark-left-to-right): New function.
16735
16736 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
16737 Use string-mark-left-to-right.
16738 (list-buffers-noselect): Caller changed.
16739
a3dae87a
SM
16740 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
16741 Use string-mark-left-to-right.
3e26a4a2
CY
16742 (tabulated-list-print): Recenter after moving point.
16743
ac8cf6e6
JL
167442011-08-10 Juri Linkov <juri@jurta.org>
16745
16746 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
16747 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
16748 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
16749
8d96c9a4
CY
167502011-08-09 Chong Yidong <cyd@stupidchicken.com>
16751
16752 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
16753 (Bug#7554).
16754
7be1c708 167552011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
16756
16757 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
16758 character. (Bug#6594)
16759
37e11a63
CY
167602011-08-08 Chong Yidong <cyd@stupidchicken.com>
16761
839dde57
CY
16762 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
16763 (image-dired--with-db-file): New macro.
16764 (image-dired-write-tags, image-dired-remove-tag)
16765 (image-dired-create-gallery-lists, image-dired-write-comments)
16766 (image-dired-get-comment, image-dired-mark-tagged-files)
16767 (image-dired-list-tags, image-dired-gallery-generate): Use it.
16768 (image-dired-gallery-generate): Use insert-file-contents.
16769
37e11a63
CY
16770 * time.el (display-time-world-list, display-time-world-display):
16771 * time-stamp.el (time-stamp-string):
16772 * vc/add-log.el (add-change-log-entry): Use setenv instead of
16773 set-time-zone-rule (Bug#7337).
16774
0b4946c4
DU
167752011-08-08 Daiki Ueno <ueno@unixuser.org>
16776
16777 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
16778 (epg-error-to-string, epg-errors-to-string): New function.
16779 (epg-wait-for-completion): Reverse errors list.
16780 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
16781 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
16782 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
16783 (epg-sign-keys, epg-generate-key-from-file)
16784 (epg-generate-key-from-string): Format errors by using
16785 epg-errors-to-string (bug#9255).
16786 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
16787
75bfc667
JL
167882011-08-07 Juri Linkov <juri@jurta.org>
16789
16790 * faces.el (list-faces-display): Remove extra angle bracket
16791 from `help-mode-map'.
16792
16793 * info.el (Info-history-toc-nodes): Doc fix.
16794
16795 * longlines.el (longlines-mode): Doc fix.
16796
673e08bb
SM
167972011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
16798
4640dd88
SM
16799 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
16800 of statements and in a few more cases (bug#9183).
16801
673e08bb
SM
16802 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
16803 New functions.
16804 (cl-transform-lambda): Use them (bug#9239).
16805
89b3f019
MR
168062011-08-05 Martin Rudalics <rudalics@gmx.at>
16807
16808 * window.el (display-buffer-same-window)
16809 (display-buffer-same-frame, display-buffer-other-window)
16810 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
16811 (pop-to-buffer-other-window)
16812 (pop-to-buffer-same-frame-other-window)
16813 (pop-to-buffer-other-frame): Make them defuns.
16814 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
16815
640c8776
SM
168162011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
16817
16818 * subr.el (make-composed-keymap): Move from C. Change calling
16819 convention, and improve docstring to bring attention to a subtle point.
16820 * minibuffer.el (completing-read-default): Adjust accordingly.
16821
63648a95
MA
168222011-08-03 Michael Albinus <michael.albinus@gmx.de>
16823
16824 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
16825 (tramp-open-shell): Use `tramp-shell-quote-argument'.
16826
16827 * net/trampver.el: Update release number.
16828
b796c9b7
SM
168292011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
16830
16831 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
16832 "in" (bug#9190).
16833
2239d7d5
LMI
168342011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16835
e07dd7c3
LMI
16836 * mail/sendmail.el (sendmail-query-once): Restore the current
16837 buffer after querying (bug#9074).
16838
0e6a2bd7
LMI
16839 * dired.el (dired-flagged): Use different faces for marked and
16840 flagged files (bug#6117).
16841
ce887515
LMI
16842 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
16843 (bug#4433).
16844
92f2affc
LMI
16845 * ido.el (ido-mode): Switch off the message if called
16846 non-interactively.
16847
57d5aff0
LMI
16848 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
16849 before 587, since it appears that that's more likely to work for
16850 more people.
16851
98cd6c18 16852 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 16853 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
16854 exist.
16855
b96dec83
LMI
16856 * info.el: Remove the `Info-beginning-of-buffer' function
16857 (bug#8325).
16858
b796c9b7
SM
16859 * net/network-stream.el (network-stream-open-starttls):
16860 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 16861
d90e2ea0
MR
168622011-08-01 Martin Rudalics <rudalics@gmx.at>
16863
16864 * window.el (display-buffer-in-window): Don't set dedicated status
16865 of window here (Bug#9215).
16866 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
16867 (display-buffer-pop-up-side-window)
b796c9b7 16868 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 16869
cca09170
SM
168702011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
16871
16872 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
16873 before binding generated-autoload-file.
16874
027b979c
DD
168752011-08-01 Deniz Dogan <deniz@dogan.se>
16876
16877 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
16878
3c7ee4f3
MA
168792011-07-30 Michael Albinus <michael.albinus@gmx.de>
16880
16881 Sync with Tramp 2.2.2.
16882
16883 * net/trampver.el: Update release number.
16884
2cc8e51a
JL
168852011-07-30 Juri Linkov <juri@jurta.org>
16886
16887 * dired-aux.el (dired-touch-initial): Remove function.
16888 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
16889 current time, and `default' to the last modification time of the
16890 current marked file (bug#6887).
16891
a514d856
JM
168922011-07-28 Jose E. Marchesi <jemarch@gnu.org>
16893
16894 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 16895 numeric argument to read-number (bug#9163).
a514d856 16896
8a7eddd7
MA
168972011-07-27 Michael Albinus <michael.albinus@gmx.de>
16898
16899 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
16900 connection process, it could be nil.
16901
1ddd96f5
LL
169022011-07-27 Leo Liu <sdl.web@gmail.com>
16903
16904 Simplify url handling in rcirc-mode.
16905
16906 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
16907 (rcirc-browse-url-at-mouse): Remove.
16908 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
16909
b248a85d
AM
169102011-07-26 Alan Mackenzie <acm@muc.de>
16911
16912 Fontify bitfield declarations properly.
16913
16914 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
16915 (c-symbol-chars): Now exported as a lang variable.
16916 (c-not-primitive-type-keywords): New lang variable.
16917
16918 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
16919 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 16920 parsed as a bitfield declaration.
b248a85d 16921
b796c9b7
SM
16922 * progmodes/cc-engine.el (c-beginning-of-statement-1):
16923 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
16924 (c-punctuation-in): New function.
16925 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
16926 declarations properly.
16927
68575ab0
UJ
169282011-07-26 Ulf Jasper <ulf.jasper@web.de>
16929
16930 * calendar/icalendar.el (icalendar--all-events): Take care of
16931 multiple vcalendars in a single file.
b796c9b7 16932 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 16933
0f0a88b9
DD
169342011-07-25 Deniz Dogan <deniz@dogan.se>
16935
16936 * image.el (insert-image): Clarifying docstring.
16937
0b3f36df
MA
169382011-07-24 Michael Albinus <michael.albinus@gmx.de>
16939
16940 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
16941 `tramp-send-command-and-check' if there is no error.
16942 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
16943
a9901f61
AM
169442011-07-22 Alan Mackenzie <acm@muc.de>
16945
16946 Prevent cc-langs.elc being loaded at run time.
16947
16948 * progmodes/cc-mode.el: Remove two autoload forms which loaded
16949 cc-langs.
16950
4d61f28d 16951 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
16952 "(require 'cc-langs)". Quote a form so it will evaluate at
16953 (cc-mode's) compilation time.
16954
11d074b2
MA
169552011-07-22 Michael Albinus <michael.albinus@gmx.de>
16956
16957 * net/tramp.el (tramp-file-name-handler): Avoid recursive
16958 loading. (Bug#9114)
16959
938b94c8
MR
169602011-07-21 Martin Rudalics <rudalics@gmx.at>
16961
16962 * window.el (display-buffer-pop-up-window)
16963 (display-buffer-pop-up-side-window)
16964 (display-buffer-in-side-window): Call display-buffer-set-height
16965 and display-buffer-set-width after setting the new window's
b796c9b7 16966 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 16967
bfa4f190
SS
169682011-07-20 Sam Steingold <sds@gnu.org>
16969
16970 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
16971 (etags-tags-included-tables): Call `convert-standard-filename' on
16972 the file names contained in TAGS so that windows Emacs can handle
16973 TAGS files created by cygwin ctags.
16974
8ca42262
LMI
169752011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
16976
16977 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
16978 which apparently didn't work.
16979
5db2afd2 169802011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 16981
5db2afd2
RW
16982 * proced.el (proced-send-signal): For *Marked Processes* buffer
16983 put point at beginning of buffer.
16984
92e15d10
SB
169852011-07-19 Stephen Berman <stephen.berman@gmx.net>
16986
16987 * proced.el (proced-format): Make header lines align with the text
16988 (bug#1779).
16989
1bfd59e5
LMI
169902011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
16991
16992 * view.el (view-buffer): Allow running in `special' modes if we're
16993 visiting a file (bug#8615).
16994
f5aae37c
MR
169952011-07-19 Martin Rudalics <rudalics@gmx.at>
16996
16997 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
16998 (display-buffer-alist-set-1, display-buffer-alist-set-2):
16999 New functions.
f5aae37c
MR
17000 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
17001 more accurately.
17002
bf2c1571
AM
170032011-07-18 Alan Mackenzie <acm@muc.de>
17004
17005 Fontify declarators properly when, e.g., a jit-lock chunk begins
17006 inside a declaration.
17007
17008 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
17009
b796c9b7
SM
17010 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
17011 New function.
bf2c1571
AM
17012 (c-complex-decl-matchers): Insert reference to
17013 c-font-lock-enclosing-decls.
17014
17015 * progmodes/cc-engine.el (c-backward-single-comment):
17016 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
17017 to nil around calls to (forward-comment -1).
17018
4e190b80
LMI
170192011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
17020
12dc863d
LMI
17021 * image.el (put-image): Doc typo fix.
17022
a762e966
LMI
17023 * progmodes/etags.el (tags-search): Doc typo fix.
17024
4e190b80
LMI
17025 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
17026 password if we get errors 550 to 554.
17027
f019fb21
LMI
170282011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
17029
b796c9b7 17030 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 17031
81746738
LMI
17032 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
17033 indentation character (bug#6380).
17034
3ee3a1b5
LMI
17035 * files.el (buffer-offer-save): Made permanently local (bug#6241).
17036
c82f64de
LMI
17037 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
17038 to clarify what the problem is (bug#4291).
17039
f019fb21
LMI
17040 * simple.el (current-kill): Clarify what
17041 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
17042 (auto-fill-mode): Document `auto-fill-function' in relation to
17043 `auto-fill-mode' (bug#2470).
f019fb21 17044
0794775d
LM
170452011-07-16 Lawrence Mitchell <wence@gmx.li>
17046
17047 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
17048 method if slot is read-only (bug#9035).
17049
be39b8cc
MR
170502011-07-16 Martin Rudalics <rudalics@gmx.at>
17051
b796c9b7 17052 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 17053 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
17054 selected before, see discussion of (Bug#8615), (Bug#6954).
17055 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 17056
6ccf7859
GM
170572011-07-15 Glenn Morris <rgm@gnu.org>
17058
17059 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 17060 Respect help-form.
6ccf7859 17061
87e86684
LM
170622011-07-09 Lawrence Mitchell <wence@gmx.li>
17063
17064 * net/gnutls.el (gnutls-min-prime-bits): New variable.
17065 (gnutls-negotiate): Use it.
17066
d6066239
LMI
170672011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
17068
b796c9b7
SM
17069 * net/gnutls.el (gnutls-negotiate):
17070 Upcase `gnutls-algorithm-priority'.
d6066239 17071
bd23ebc0
GM
170722011-07-15 Glenn Morris <rgm@gnu.org>
17073
c65bca65
GM
17074 * jka-compr.el (jka-compr-verbose): Move from here...
17075 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
17076 Add missing :version tag.
17077 * info.el: No need to require jka-compr when compiling.
bd23ebc0 17078
478615cc
LMI
170792011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
17080
7b41decb
LMI
17081 * net/gnutls.el (gnutls-algorithm-priority): New variable.
17082 (gnutls-negotiate): Use it.
17083
dbc44fcd
LMI
17084 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
17085
06789f97
LMI
17086 * info.el (Info-beginning-of-buffer): New command.
17087 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
17088 announcing `b' as the key (bug#8325).
ab896c37 17089 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 17090
c39da690
LMI
17091 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
17092
3aa5f34b
LMI
17093 * international/mule-cmds.el
17094 (describe-specified-language-support): Make the error message
17095 clearer (bug#8905).
17096
4bf0979f
LMI
17097 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
17098
478615cc
LMI
17099 * isearch.el (isearch-barrier): Add a doc string, since it's
17100 mentioned in a function doc string (bug#8678).
17101
75c68aa1
MR
171022011-07-15 Martin Rudalics <rudalics@gmx.at>
17103
17104 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
17105 buffer argument (Bug#9083) and self-identifying label argument.
17106
a7c33da2
GM
171072011-07-15 Glenn Morris <rgm@gnu.org>
17108
17109 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
17110
2f5c6024
LMI
171112011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
17112
17113 * man.el (Man-fontify-manpage): Fix message when formatting the
17114 man page (bug#7929).
17115
0bb23927 171162011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
17117
17118 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
17119 argument LRM; if non-nil, append an invisible LRM character to the
17120 buffer name.
17121 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
17122 last argument non-nil, when formatting buffer names.
0bb23927
EZ
17123 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
17124 paragraph direction.
cce4b0a7 17125
621ef9ab
LMI
171262011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
17127
d1583c48
LMI
17128 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
17129 the man page name (bug#7929).
17130
6a57fb5f
LMI
17131 * image.el (put-image): Mention the `put-image' overlay property
17132 (bug#7834).
17133
d7956b14
LMI
17134 * scroll-bar.el (set-scroll-bar-mode): Mention that
17135 `scroll-bar-mode' lists the values (bug#7772).
17136
5b2d4a66
LMI
17137 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
17138 command (bug#7729).
17139
7509a874
LMI
17140 * rect.el (apply-on-rectangle): Return the point after the last
17141 operation.
17142 (string-rectangle): Go to the point after the last operation
17143 (bug#7522).
17144
4fe74b19
LMI
17145 * printing.el (pr-toggle-region): Clarify the documentation
17146 slightly (bug#7493).
17147
b796c9b7
SM
17148 * time.el (display-time-update):
17149 Allow `display-time-mail-function' to return nil (bug#7158).
17150 Fix suggested by Detlev Zundel.
ab283561 17151
fc233c9d
LMI
17152 * vc/diff.el (diff): Clarify the order the file names are read
17153 (bug#7111).
17154
43f5740b
LMI
17155 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
17156 the doc string (bug#7015).
17157
f2182a76
LMI
17158 * font-lock.el (font-lock-maximum-decoration): Mention what
17159 numeric levels mean (bug#6935).
17160
621ef9ab
LMI
17161 * startup.el (initial-buffer-choice): Don't mention the `none'
17162 selection, which is against policy.
17163
adc47434
MR
171642011-07-14 Martin Rudalics <rudalics@gmx.at>
17165
b796c9b7
SM
17166 * window.el (display-buffer-normalize-special):
17167 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 17168
7e5bfb8f
EZ
171692011-07-14 Eli Zaretskii <eliz@gnu.org>
17170
17171 * subr.el (version<, version<=, version=): Mention "-CVS" and
17172 "-12345" alpha version numbers.
17173
27fa387a
CY
171742011-07-14 Chong Yidong <cyd@stupidchicken.com>
17175
17176 * bindings.el: Add advertised binding for set-mark-command
17177 (Bug#5772).
17178
8bdfa064
CY
171792011-07-14 Chong Yidong <cyd@stupidchicken.com>
17180
17181 * bindings.el (mode-line-other-buffer):
17182 * bookmark.el (bookmark-bmenu-2-window):
17183 * bs.el (bs-cycle-next, bs-cycle-previous):
17184 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
17185 switch-to-buffer.
17186
17187 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 17188 Delete.
8bdfa064 17189
5eba16a3
JB
171902011-07-14 Juanma Barranquero <lekktu@gmail.com>
17191
17192 * follow.el (follow-debug-message, follow-redisplay):
17193 * jka-cmpr-hook.el (with-auto-compression-mode):
17194 Fix typos in docstrings.
17195
15853710
LMI
171962011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
17197
a28e4607
LMI
17198 * subr.el (with-silent-modifications): Clarify somewhat what the
17199 macro inhibits (bug#6525).
17200
15853710
LMI
17201 * simple.el (eval-expression): Note what it does if called
17202 interactively (bug#6495).
17203
bee0fcef
CY
172042011-07-13 Chong Yidong <cyd@stupidchicken.com>
17205
b796c9b7
SM
17206 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
17207 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
17208
17209 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
17210 Remove switch-to-buffer.
17211
58274504
LMI
172122011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
17213
bd2fcc8d
LMI
17214 * files.el (make-directory): Clarify that an error will be raised
17215 if there's an error (bug#6397).
17216
0f04b32c
LMI
17217 * startup.el (initial-buffer-choice): Add `none' as a choice
17218 (bug#6234).
17219
465c5fc8
LMI
17220 * subr.el (add-hook): Clarify section about buffer-local hooks
17221 (bug#6218).
17222
58274504
LMI
17223 * dired.el (dired-flagged): Clarify doc string (bug#6117).
17224
bead9a43
JB
172252011-07-13 Juanma Barranquero <lekktu@gmail.com>
17226
17227 * tabify.el (untabify): Preserve the current column so that point
17228 doesn't move (bug#6032).
17229
3af98a7b
LMI
172302011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
17231
b796c9b7
SM
17232 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
17233 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 17234
6240145a
GM
172352011-07-13 Glenn Morris <rgm@gnu.org>
17236
17237 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
17238 (dired-insert-directory): Give a message the first time
17239 if ls is found not to support --dired.
17240
1d8c2ccc
LMI
172412011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
17242
17243 * simple.el (toggle-truncate-lines): Clarify what is toggled
17244 (bug#5580). Text by Drew Adams.
17245
5fc4038e
CY
172462011-07-13 Chong Yidong <cyd@stupidchicken.com>
17247
17248 * simple.el (blink-matching-open): Make the error message from the
17249 last change less verbose.
17250
bf6012e5
DN
172512011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
17252
17253 * font-lock.el (font-lock-comment-face): Use the high contrast
17254 "yellow" color for font-lock-comment-face on low color terminals
17255 using a dark background color (bug#4221).
17256
343c3b5a
LMI
172572011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
17258
7e9505c5
LMI
17259 * dired.el (dired-insert-set-properties): Make the doc string
17260 reflect what it does now (bug#5325).
17261
c26fdcf5
LMI
17262 * simple.el (blink-matching-open): Say that we were unable to find
17263 the match within the limit, if we're limited (bug#5122).
17264
bb388cc5
LMI
17265 * international/mule-cmds.el (prefer-coding-system): Add an
17266 example (bug#4869).
17267
343c3b5a
LMI
17268 * progmodes/etags.el (tags-search): Document `file-list-form'
17269 (bug#4731).
17270
2a517d45
LM
172712011-07-13 Lawrence Mitchell <wence@gmx.li>
17272
17273 * net/browse-url.el (browse-url-default-browser)
17274 (browse-url-browser-function): Make the default browser choice a
17275 bit more logical (bug#4300). Also clean up the doc string.
17276
b6c78ef2
JB
172772011-07-13 Juanma Barranquero <lekktu@gmail.com>
17278
17279 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
17280 binary endings (bug#4440).
17281
1c4dd947
LMI
172822011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
17283
a2014063
LMI
17284 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
17285 which can be pretty annoying (bug#8971).
17286
9c9c2d88
LMI
17287 * jka-compr.el (jka-compr-verbose): New variable, and use
17288 throughout (bug#8971).
17289
1c4dd947
LMI
17290 * info.el (Info-find-file): Fall back on the installation
17291 directory if we can't find the info node anywhere else.
17292
a1c9f41b
SO
172932011-07-13 Sergei Organov <osv@javad.com> (tiny change)
17294
17295 * vc/vc.el (vc-revert-file):
17296 Don't set file time-stamp in the past. (Bug#5181)
17297
536f3d36
LMI
172982011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
17299
7152b011
LMI
17300 * files.el (after-find-file): Give a better error message when
17301 trying to find a symlink that points to a file that doesn't exist
17302 (bug#4398).
17303
536f3d36
LMI
17304 * progmodes/cc-vars.el: Remove (probably) misleading comment
17305 (bug#4396).
17306
460c0fba
JB
173072011-07-12 Johan Bockgård <bojohan@gnu.org>
17308
17309 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
17310
7a6bda45
CY
173112011-07-12 Chong Yidong <cyd@stupidchicken.com>
17312
17313 * mouse-sel.el: Hack restoring functionality, while keeping
17314 compatibility with 2010-07-03 changes to mouse selection.
17315 (mouse-sel-primary-overlay): New var.
17316 (mouse-sel-selection-alist): Use it.
17317 (mouse-sel-mode): Doc fix; remove points that are default features
17318 of mouse.el.
17319
c79598ef
JB
173202011-07-12 Johan Bockgård <bojohan@gnu.org>
17321
17322 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17323 Fix previous fix (bug#2490).
17324
ff8be6ef
RW
173252011-07-12 Roland Winkler <winkler@gnu.org>
17326
b796c9b7
SM
17327 * textmodes/bibtex.el (bibtex-initialize):
17328 Use pop-to-buffer-same-window.
ff8be6ef
RW
17329 (bibtex-search-entries): Fix interactive call.
17330
296ba3ee
LMI
173312011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
17332
f5242a02 17333 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
17334 Fontise bytecomp Error lines more correctly (bug#2490).
17335 Fix suggested by Johan Bockgård.
f5242a02 17336
296ba3ee
LMI
17337 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
17338
17339 * dired-x.el (dired-guess-default): Use `delete-dups'.
17340
f69fd0d2
CY
173412011-07-12 Chong Yidong <cyd@stupidchicken.com>
17342
17343 * dired.el (dired-mark-prompt):
17344 * dired-aux.el (dired-read-shell-command): Doc fix.
17345
eab5dc07
LMI
173462011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17347
b796c9b7
SM
17348 * mail/sendmail.el (sendmail-query-once):
17349 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
17350 emacs -Q.
17351
17352 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
17353
eab5dc07
LMI
17354 * cus-edit.el (custom-file): Take an optional no-error variable.
17355 (customize-save-variable): Set the variable, and give a warning if
17356 running under "emacs -q".
17357
a1e65d42
JB
173582011-07-11 Juanma Barranquero <lekktu@gmail.com>
17359
17360 * loadhist.el (unload-feature-special-hooks):
17361 Add `auto-coding-functions', `fill-nobreak-predicate' and
17362 `find-directory-functions' (bug#5327).
17363
1d52da10
LMI
173642011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17365
be958f1d
LMI
17366 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
17367
5bedb26c
LMI
17368 * cus-edit.el (custom-guess-name-alist): -alist variables should
17369 use the `alist' type (bug#3120). Suggested by Drew Adams.
17370
1d52da10
LMI
17371 * printing.el: Add documentation to all the `pr-toggle-' commands.
17372
cd394be1 173732011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
17374
17375 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
17376 backends where it makes sense (bug#2623).
17377
dcc88d8a
LMI
173782011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17379
c3de9feb
LMI
17380 * dired-x.el (dired-guess-default): Remove duplicate shell command
17381 entries (bug#2028).
8a93078b 17382 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 17383 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 17384
dcc88d8a
LMI
17385 * subr.el (remove-duplicates): New conveniency function.
17386
505e3645
LMI
173872011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
17388
17389 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
17390 (bug#1526).
17391
173922011-07-10 Martin Rudalics <rudalics@gmx.at>
17393
17394 * window.el (display-buffer-normalize-default): Don't invert
17395 meaning of even-window-heights. Reported by Eli Zaretskii
17396 <eliz@gnu.org>.
17397
455e4fa1
BR
173982011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
17399
17400 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
17401
8e0bc3e9
CY
174022011-07-10 Chong Yidong <cyd@stupidchicken.com>
17403
17404 * window.el (display-buffer): Fix arguments to
17405 display-buffer-reuse-window in last change.
17406
fa7c3228
CY
17407 * faces.el (link): Use a less saturated blue on light backgrounds.
17408
17409 * startup.el (fancy-startup-text, fancy-about-text)
17410 (fancy-startup-tail): Use font-lock faces, for background safety.
17411
c0a7f300
BN
174122011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
17413
b796c9b7
SM
17414 * emulation/viper-cmd.el (viper-change-state-to-vi):
17415 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 17416
4dc2a129
MR
174172011-07-09 Martin Rudalics <rudalics@gmx.at>
17418
17419 * window.el (display-buffer-default-specifiers): Remove.
17420 (display-buffer-macro-specifiers): Remove default specifiers.
17421 (display-buffer-alist): Default to nil.
b796c9b7 17422 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
17423 (display-buffer-pop-up-window): Allow splitting internal
17424 windows. Check whether a live window was created.
17425 (display-buffer-other-window-means-other-frame)
17426 (display-buffer-normalize-arguments): Rename to
17427 display-buffer-normalize-argument and rewrite. Set the
17428 other-window specifier.
17429 (display-buffer-normalize-special): New function.
17430 (display-buffer-normalize-options): Rename to
17431 display-buffer-normalize-default and rewrite.
17432 (display-buffer-normalize-options-inhibit): Remove.
17433 (display-buffer-normalize-specifiers): Rewrite.
17434 (display-buffer): Process other-window specifier and call
17435 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
17436 more faithfully.
b796c9b7 17437 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 17438 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
17439 (display-buffer-in-window, display-buffer-alist-set):
17440 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
17441 <tassilo@member.fsf.org>.
17442
2d43b8c9
LL
174432011-07-09 Leo Liu <sdl.web@gmail.com>
17444
17445 * register.el (insert-register): Restore accidental change on
17446 2011-06-26. (Bug#9028)
17447
7f9b7c53
GM
174482011-07-09 Glenn Morris <rgm@gnu.org>
17449
17450 * subr.el (remq): Handle the empty list. (Bug#9024)
17451
f042cfd8
AS
174522011-07-08 Andreas Schwab <schwab@linux-m68k.org>
17453
17454 * mail/sendmail.el (send-mail-function): No longer delay custom
17455 initialization.
17456 * custom.el (custom-initialize-delay): Doc fix.
17457
856b2f11
SM
174582011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
17459
17460 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
17461
afae1d68
MA
174622011-07-08 Michael Albinus <michael.albinus@gmx.de>
17463
17464 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
17465 human-friendly prompt.
17466
0757af94
SM
174672011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
17468
17469 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
17470 provided by a particular plugin.
17471
d760b731
LMI
174722011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
17473
17474 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
17475 save customizations (with "emacs -Q"), just set the variable
17476 instead of erroring out.
17477
17478 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
17479
cd79ce90
JL
174802011-07-08 Juri Linkov <juri@jurta.org>
17481
17482 * arc-mode.el (archive-zip-expunge, archive-zip-update)
17483 (archive-zip-update-case): Use 7z if found by `executable-find'.
17484 The order of searching the available programs is the same as in
17485 `archive-zip-extract' (bug#8968).
17486
14cc04aa
CY
174872011-07-07 Chong Yidong <cyd@stupidchicken.com>
17488
17489 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
17490 (menu-bar-options-menu): Tweak descriptions.
17491
0a1848ec
LMI
174922011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
17493
17494 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
17495 menu items into verb phrases (bug#1421). Also refill to fit under
17496 80 columns.
17497
f5bd0689
CY
174982011-07-07 Chong Yidong <cyd@stupidchicken.com>
17499
538e85c6
CY
17500 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
17501 (Info-read-node-name): Doc fix (Bug#1084).
17502
f5bd0689
CY
17503 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
17504 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
17505 (end-of-sexp, beginning-of-sexp)
17506 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
17507 (forward-symbol, forward-same-syntax, word-at-point)
17508 (sentence-at-point): Doc fix (Bug#1144).
17509
56ec5115
LMI
175102011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
17511
f3f8e37f
LMI
17512 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
17513 should cover it (bug#1281).
17514
0757af94 17515 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 17516
e9fce1ac 17517 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
17518 negotiation fails, then possibly try again with a non-encrypted
17519 connection (bug#9017).
17520
56ec5115
LMI
17521 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
17522 be used.
17523
c2f9aec8
RS
175242011-07-07 Richard Stallman <rms@gnu.org>
17525
17526 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
17527 property, and handle its changed format.
17528 Look for the correct line number.
17529 Use file's line contents (but not past first =) to find
17530 correct line in message.
17531
ef7b981d 175322011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
17533
17534 * international/characters.el (build-unicode-category-table):
17535 Delete it.
0757af94 17536 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 17537
0757af94 17538 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
17539 to src/chartab.c.
17540 (get-char-code-property): Call unicode-property-table-internal to
17541 load a file. Call get-unicode-property-internal where necessary.
17542 (put-char-code-property): Call unicode-property-table-internal to
17543 load a file. Call put-unicode-property-internal where necessary.
17544 put-unicode-property-internal where necessary.
0757af94
SM
17545 (char-code-property-description):
17546 Call unicode-property-table-internal to load a file.
c805dec0
KH
17547
17548 * international/charprop.el:
17549 * international/uni-bidi.el:
17550 * international/uni-category.el:
17551 * international/uni-combining.el:
17552 * international/uni-comment.el:
17553 * international/uni-decimal.el:
17554 * international/uni-decomposition.el:
17555 * international/uni-digit.el:
17556 * international/uni-lowercase.el:
17557 * international/uni-mirrored.el:
17558 * international/uni-name.el:
17559 * international/uni-numeric.el:
17560 * international/uni-old-name.el:
17561 * international/uni-titlecase.el:
17562 * international/uni-uppercase.el: Regenerate.
17563
17564 * loadup.el: Load international/charprop.el before
17565 international/characters.
17566
e14b388a
CY
175672011-07-07 Chong Yidong <cyd@stupidchicken.com>
17568
17569 * window.el (next-buffer, previous-buffer): Signal an error if
17570 called from a minibuffer window.
17571
17572 * bindings.el: Revert 2011-07-04 change.
17573
354cf0ba
RS
175742011-07-06 Richard Stallman <rms@gnu.org>
17575
17576 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
17577 (rmail-mime-insert-bulk, rmail-mime-insert-text):
17578 Treat markers like ints.
17579 (rmail-mime-entity): Doc fix.
17580
a48868a7
LMI
175812011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
17582
4906cd3d
LMI
17583 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
17584 defcustom again for backwards compatibility.
17585
e0457abe
LMI
17586 * simple.el (shell-command-on-region): Fill.
17587
d67f7e1f
LMI
17588 * dired-aux.el (dired-kill-line): Add a doc string.
17589
fe204702
LMI
17590 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
17591 to "\\sw\\|\\s_" (bug#358).
17592
a48868a7
LMI
17593 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
17594 (dired-unmark-backward): Ditto.
17595 (dired-flag-backup-files): Ditto.
17596
17597 * dired-x.el (dired-mark-sexp): Ditto.
17598
aa8a705c
RS
175992011-07-06 Richard Stallman <rms@gnu.org>
17600
17601 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
17602 (rmail-mime-entity): New arg TRUNCATED.
17603 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
17604 New functions.
17605 (rmail-mime-save): Warn if entity is truncated.
17606 (rmail-mime-toggle-hidden): Likewise, for showing.
17607 (rmail-mime-process-multipart): Record when an entity is truncated.
17608
a9a936b9
RS
17609 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
17610 if ENTITY is a string.
17611
1f2b92cb
LMI
176122011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
17613
f4f73198 17614 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
17615 of faces when `M-C-x'-ing their definitions (bug#8378).
17616 Also clean up the code slightly.
f4f73198 17617
12b16734 17618 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 17619 because that makes the colors go away.
12b16734 17620
f0691d22
LMI
17621 * mail/sendmail.el (send-mail-function): Change the default to
17622 `sendmail-query-once'.
9e87df06 17623 (sendmail-query-once): Add an autoload cookie.
f0691d22 17624
1f2b92cb
LMI
17625 * net/network-stream.el (network-stream-open-starttls): Try using
17626 a plain connection even if the server offered STARTTLS, and we
17627 kinda wanted to use it, if Emacs doesn't have any STARTTLS
17628 capability. This should make smtpmail.el work in slightly more
17629 configurations.
17630
1cdd2a1b
MA
176312011-07-06 Michael Albinus <michael.albinus@gmx.de>
17632
17633 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
17634 New defun.
17635 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
17636
fbcc67e2
MM
176372011-07-06 Michael R. Mauger <mmaug@yahoo.com>
17638
17639 * progmodes/sql.el: Version 3.0
0757af94 17640 (sql-product-alist): Add product :completion-object,
fbcc67e2 17641 :completion-column, and :statement attributes.
0757af94 17642 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 17643 (sql-mode-syntax-table): Mark all punctuation.
0757af94 17644 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
17645 ansi keywords.
17646 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 17647 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
17648 (sql-oracle-show-reserved-words): New function for development.
17649 (sql-product-font-lock): Simplify for source code buffers.
17650 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
17651 New functions.
17652 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
17653 (sql-mode-map): Add statement movement functions.
17654 (sql-ansi-statement-starters, sql-oracle-statement-starters):
17655 New variable.
fbcc67e2
MM
17656 (sql-statement-regexp, sql-beginning-of-statement)
17657 (sql-end-of-statement, sql-signum): New functions.
0757af94 17658 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
17659 (sql-show-sqli-buffer): Bug fix.
17660 (sql-interactive-mode): Store connection data as buffer local.
0757af94 17661 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
17662 with sql-interactive-mode.
17663 (sql-save-connection): Save buffer local settings.
0757af94 17664 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
17665 (sql-product-interactive): Bug fix.
17666 (sql-preoutput-hold): New variable.
17667 (sql-interactive-remove-continuation-prompt): Bug fixes.
17668 (sql-debug-redirect): New variable.
17669 (sql-str-literal): New function.
17670 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 17671 Redesign.
fbcc67e2
MM
17672 (sql-oracle-save-settings, sql-oracle-restore-settings)
17673 (sql-oracle-list-all, sql-oracle-list-table): New functions.
17674 (sql-completion-object, sql-completion-column)
17675 (sql-completion-sqlbuf): New variables.
17676 (sql-build-completions-1, sql-build-completions)
17677 (sql-try-completion): New functions.
17678 (sql-read-table-name): Use them.
17679 (sql-contains-names): New buffer local variable.
17680 (sql-list-all, sql-list-table): Use it.
17681 (sql-oracle-completion-types): New variable.
17682 (sql-oracle-completion-object, sql-sqlite-completion-object)
17683 (sql-postgres-completion-object): New functions.
17684
d4eaeab1
GM
176852011-07-06 Glenn Morris <rgm@gnu.org>
17686
17687 * window.el (pop-to-buffer): Doc fix.
17688
322b7dab 176892011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
17690
17691 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
17692
322b7dab 176932011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 17694
322b7dab 17695 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 17696
322b7dab 17697 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 17698
605dd5bf
CY
176992011-07-05 Chong Yidong <cyd@stupidchicken.com>
17700
17701 * button.el (button): Inherit from link face. Suggested by Dan
17702 Nicolaescu.
17703
7dbfa719
SM
177042011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
17705
3db614b0
SM
17706 * progmodes/gdb-mi.el: Fit in 80 columns.
17707 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
17708 switch-to-buffer.
17709
7dbfa719
SM
17710 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
17711 if imenu is simply not configured (bug#8941).
17712
919d884a
KM
177132011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
17714
17715 * allout.el (allout-post-undo-hook): New allout outline-change
17716 event hook to signal undo activity.
17717 (allout-post-command-business): Run allout-post-undo-hook if an
17718 undo just occurred.
7dbfa719
SM
17719 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
17720 * allout-widgets.el (allout-widgets-after-undo-function):
17721 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
17722 in the vicinity of an undo.
17723 (allout-widgets-mode): Include allout-widgets-after-undo-function
17724 on the new allout-post-undo-hook.
17725
450a0f09
SM
177262011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
17727
17728 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
17729 Let define-derived-mode define it.
17730 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
17731 cycles of abbrev-table inheritance (bug#8998).
17732
2de69e00
RW
177332011-07-05 Roland Winkler <winkler@gnu.org>
17734
17735 * textmodes/bibtex.el: Add support for biblatex.
17736 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
17737 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
17738 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
17739 (bibtex-entry-alist, bibtex-field-alist): New variables.
17740 (bibtex-entry-field-alist): Obsolete alias for
17741 bibtex-BibTeX-entry-alist.
17742 (bibtex-entry-alist, bibtex-field-alist): New widgets.
17743 (bibtex-set-dialect): New command.
17744 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
17745 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
17746 Bind via bibtex-set-dialect.
2de69e00
RW
17747 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
17748 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
17749 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
17750 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
17751 Define via bibtex-set-dialect.
450a0f09
SM
17752 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
17753 Obey bibtex-no-opt-remove-re.
2de69e00
RW
17754 (bibtex-vec-push, bibtex-vec-incr): New functions.
17755 (bibtex-format-entry, bibtex-field-list)
17756 (bibtex-print-help-message, bibtex-validate)
17757 (bibtex-search-entries): Use new format of bibtex-entry-alist.
17758
2dcdbdd9
SM
177592011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
17760
17761 * progmodes/compile.el (compilation-goto-locus):
17762 * net/tramp-cmds.el (tramp-append-tramp-buffers):
17763 * bs.el (bs-cycle-next, bs-cycle-previous):
17764 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
17765 * bindings.el (mode-line-other-buffer):
17766 * autoinsert.el (auto-insert):
17767 * arc-mode.el (archive-extract):
17768 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
17769
b27640fe
JB
177702011-07-05 Juanma Barranquero <lekktu@gmail.com>
17771
17772 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
17773 Fix check of `emacs-lock-unlockable-modes'.
17774 Coerce true values of `emacs-lock--try-unlocking' to t.
17775
53bbe3ad
JB
177762011-07-05 Juanma Barranquero <lekktu@gmail.com>
17777
17778 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
17779 * emacs-lock.el: New file.
17780
1d3cdbc7
JD
177812011-07-05 Julien Danjou <julien@danjou.info>
17782
17783 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
17784 than `boundp' to check if face is set.
17785
9173deec
JB
177862011-07-05 Juanma Barranquero <lekktu@gmail.com>
17787
17788 * register.el (registerv-make):
17789 * window.el (window-min-height): Fix typos in docstrings.
17790
869795d6
JD
177912011-07-05 Jan Djärv <jan.h.d@swipnet.se>
17792
9173deec 17793 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
17794 Update doc string.
17795
b768cdcd
JB
177962011-07-04 Juanma Barranquero <lekktu@gmail.com>
17797
17798 * server.el (server-execute): Catch quit and call
17799 `server-return-error' to pass the error back to emacsclient and
17800 close the connection (bug#8942).
17801
13aa217b
KM
178022011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
17803
17804 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
17805 insecure exception for current topic. Also note that auto-saves
17806 are handled differently.
17807
5d3385a0 17808 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
17809 State variables for tracking auto-save inhibition situation.
17810
17811 (allout-write-contents-hook-handler): Rename from
17812 'allout-write-file-hook-handler', and describe how it depends on
17813 write-contents-functions sensitivity to non-nil value to prevent
17814 file write.
17815
17816 (allout-auto-save-hook-handler): Remove. auto-save does not check
17817 this in individual buffers, only in the starting buffer, so this
17818 is not the right way for us to inhibit auto-save in a buffer
17819 according to its condition.
17820
17821 (allout-mode): Use new allout-write-contents-hook-handler, and
17822 only with write-contents-functions. Remove auto-save provisions -
17823 they're implemented elsewhere.
17824
17825 (allout-before-change-handler): If undo is in progress, note that
17826 for attention of allout-post-command-business.
17827
17828 (allout-post-command-business): If the command we're following was
17829 an undo, check for change in the status of encrypted items and
17830 adjust auto-save inhibitions accordingly.
17831
17832 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
17833 according to whether there are or aren't any plain-text topics
17834 pending encryption.
17835
2dcdbdd9 17836 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
17837 Adjust buffer-saved-size and some allout state to inhibit auto-saves
17838 if there are plain-text topics pending encryption.
13aa217b
KM
17839
17840 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
17841 buffer-saved-size and some allout state to not inhibit auto-saves
17842 if there are no longer any plain-text topics pending encryption.
17843
0757af94
SM
17844 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
17845 No longer provide for exemption of the current topic.
13aa217b 17846
ac89b32c
JL
178472011-07-04 Juri Linkov <juri@jurta.org>
17848
17849 Add 7z operations to delete and save changed members (bug#8968).
17850 * arc-mode.el (archive-7z-expunge, archive-7z-update):
17851 New defcustoms.
17852 (archive-7z-write-file-member): New function.
17853 (archive-7z-summarize): Fix the number of dashes in the
17854 listing output.
17855
8fa39615
SM
178562011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
17857
17858 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
17859 (bug#8958).
17860
2f11b3f1
CY
178612011-07-04 Chong Yidong <cyd@stupidchicken.com>
17862
d66fef2b
CY
17863 * bindings.el: Ignore next-buffer and previous-buffer in
17864 minibuffer-local-map.
17865
2f11b3f1
CY
17866 * font-lock.el (font-lock-builtin-face): Change light background
17867 color to dark slate blue (Bug#6693).
17868
f932a347
WD
178692011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
17870
17871 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
17872
c8af70e1
SM
178732011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
17874
17875 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
17876 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
17877 Add switch-to-buffer.
17878
f158badc
LMI
178792011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
17880
17881 * isearch.el (isearch-search-fun-function): Clarify further the
17882 meaning of the function returned.
17883
6d95bd46
MA
178842011-07-04 Michael Albinus <michael.albinus@gmx.de>
17885
17886 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
17887
17888 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
17889 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
17890 Use it.
17891 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
17892 `tramp-default-remote-path' does not exist.
17893 (tramp-send-command-and-read): New optional argument NOERROR.
17894 (tramp-open-connection-setup-interactive-shell)
17895 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
17896 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
17897 (tramp-process-sentinel): Flush also process' connection property.
17898 (tramp-sh-handle-start-file-process): Do not set process
17899 sentinel. It is done now ...
17900 (tramp-maybe-open-connection): ... here. (Bug#8929)
17901
909e6b67
MK
179022011-07-04 MON KEY <monkey@sandpframing.com>
17903
17904 * play/animate.el (animate-string): Doc fixes and allow changing
17905 the buffer name (bug#5417).
17906
179072011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
17908
c8af70e1 17909 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 17910
f34755dc
PE
179112011-07-04 Paul Eggert <eggert@cs.ucla.edu>
17912
396cec72
PE
17913 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
17914 This is simpler and helps future-proof the code.
17915 (timer-until): Use time-subtract and float-time.
08235028 17916 (timer--time-less-p): Use time-less-p.
f34755dc 17917
56e6cc31
JB
179182011-07-04 Juanma Barranquero <lekktu@gmail.com>
17919
3abb79e5
JB
17920 * type-break.el (timep): Use the value of `float-time' to avoid a
17921 byte-compiler warning.
17922
56e6cc31
JB
17923 * server.el (server-eval-and-print): Return any result, even nil.
17924
7b9430b4
PE
179252011-07-03 Paul Eggert <eggert@cs.ucla.edu>
17926
17927 * type-break.el: Accept time formats that the builtins accept.
17928 (timep, type-break-time-difference): Accept any format that
17929 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
17930 This is simpler and helps future-proof the code.
17931 (type-break-time-difference): Round rather than ignoring
17932 subseconds components.
17933
3034e9e7
LMI
179342011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17935
17936 * info.el (Info-apropos-matches): Make non-interactive, since it
17937 doesn't seem to do anything useful as a command (bug#8829).
17938
1485f4c0
CY
179392011-07-03 Chong Yidong <cyd@stupidchicken.com>
17940
17941 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 17942 Move from faces.el.
1485f4c0
CY
17943 (frame-default-terminal-background): New function.
17944
17945 * custom.el (custom-push-theme): Don't record faces in `changed'
17946 theme; this doesn't work correctly for per-frame face settings.
17947 (disable-theme): Use face-set-after-frame-default to reset faces.
17948 (custom--frame-color-default): New function.
17949
9fa3dd45
LMI
179502011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17951
c8af70e1 17952 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
17953 (bug#8769).
17954
6cbbc20c
KR
179552011-03-29 Kevin Ryde <user42@zip.com.au>
17956
17957 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17958 `perl-Test2' extend to match possible "fail #N" rep count
17959 (bug#8377).
17960
c7f98048
LMI
179612011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17962
65676592
LMI
17963 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
17964 `smtpmail-via-smtp' now returns the error instead of nil.
17965
c7f98048
LMI
17966 * isearch.el (isearch-search-fun-function): Clarify the doc string
17967 (bug#8101).
17968
56e6cc31 179692011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
17970
17971 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
17972 unnecessary spaces (bug#8987).
17973
2b216704
LMI
179742011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17975
17976 * net/network-stream.el (open-network-stream): Use the
17977 :end-of-capability command thoughout.
17978
179792011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
17980
17981 * net/network-stream.el (open-network-stream): Add the
17982 :end-of-capability command parameter, used by pop3.el.
17983
36adf6ce
LMI
179842011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17985
1ca0da0e
LMI
17986 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
17987
fc00f69c
LMI
17988 * fringe.el (fringe-query-style): Remove redundant text " (type ?
17989 for list)" (bug#6475).
17990
28fd8759 17991 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 17992 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
17993 an error (bug#6297).
17994
0dd8b6da
LMI
17995 * man.el (Man-reference-regexp): Allow matching possible
17996 word-wrapped references (bug#6289).
17997
ce1438d6
LMI
17998 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
17999 for consistency with the other vc buffers (bug#6197).
18000 (vc-checkin): Ditto.
18001
18002 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
18003
36adf6ce
LMI
18004 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
18005
e83cc1f7
LMI
180062011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18007
8a20ca4c
LMI
18008 * custom.el (defcustom): Clarify that :set is only used in the
18009 Customize user interface (bug#6089).
18010
83319045
LMI
18011 * progmodes/flymake.el (flymake-mode): If the buffer isn't
18012 associated with a file, refuse to run instead of erroring out
18013 (bug#6084).
18014
a8392169
LMI
18015 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
18016 the doc string, since it appears that using `fill-column' always
18017 controls the width (bug#7845).
18018
e83cc1f7
LMI
18019 * simple.el (shell-command-on-region): Say where the error output
18020 went if `shell-command-default-error-buffer' is set (bug#6857).
18021
e47ca23b
KM
180222011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
18023
18024 * allout.el (allout-yank-processing): Adjust cursor position for
18025 backwards-deleted space.
18026
18027 (allout-rebullet-heading): Register changes with
18028 allout-exposure-changed-hook, so the modified topic is properly
18029 decorated.
18030
5cf56143
LMI
180312011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18032
08549772
LMI
18033 * minibuffer.el (completion-in-region): Document PREDICATE
18034 (bug#7136).
18035
48e96771
LMI
18036 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
18037 of keyword/argument pairs (bug#6904).
18038
c8af70e1
SM
18039 * replace.el (multi-occur):
18040 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 18041
e17d05e2
LMI
180422011-07-02 Drew Adams <drew.adams@oracle.com>
18043
18044 * dired.el (dired-mark-if): Make the message about whether it's
18045 marking or unmarking clearer (bug#8523).
18046
063b0e45
LMI
180472011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18048
18049 * disp-table.el (display-table-print-array): New function.
18050 (describe-display-table): Use it to print the vectors more pretty
18051 (Bug#8859).
18052
28545e04
MR
180532011-07-02 Martin Rudalics <rudalics@gmx.at>
18054
18055 * window.el (window-state-get-1): Don't assign clone numbers.
18056 Add clone-of item to list of window parameters.
18057 (window-state-put-2): Don't process clone numbers.
18058 (display-buffer-alist): Fix doc-string.
18059
3349e122
SM
180602011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
18061
18062 * subr.el (remq): Don't allocate if it's not needed.
18063 (keymap--menu-item-binding, keymap--menu-item-with-binding)
18064 (keymap--merge-bindings): New functions.
18065 (keymap-canonicalize): Use them to refine the canonicalization.
18066 * minibuffer.el (minibuffer-local-completion-map)
18067 (minibuffer-local-must-match-map): Move initialization from C.
18068 (minibuffer-local-filename-completion-map): Move initialization from C;
18069 don't inherit from anything here.
18070 (minibuffer-local-filename-must-match-map): Make obsolete.
18071 (completing-read-default): Use make-composed-keymap to combine
18072 minibuffer-local-filename-completion-map with either
18073 minibuffer-local-must-match-map or
18074 minibuffer-local-filename-completion-map.
18075
d224ac83
GM
180762011-07-01 Glenn Morris <rgm@gnu.org>
18077
3de63bf8
GM
18078 * type-break.el (type-break-time-sum): Use dolist.
18079
d224ac83
GM
18080 * textmodes/flyspell.el (flyspell-word-search-backward):
18081 Replace CL function.
18082
1a1e3f32
SM
180832011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
18084
fe3f64d5
SM
18085 * mouse.el (mouse--strip-first-event): New function.
18086 (function-key-map): Use it to map fringe clicks to normal clicks
18087 by default.
18088
eb604e34
SM
18089 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
18090 (vc-bzr-revision-completion-table): Add support for annotate and date.
18091
1a1e3f32
SM
18092 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
18093 inherit from parent.
18094
5bd35902
LMI
180952011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
18096
ace6c69c 18097 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 18098 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 18099
191e2bed
LMI
18100 * dired.el (dired-mode): Fix up the doc string as suggested by
18101 Drew Adams (bug#8817).
18102
5bd35902
LMI
18103 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
18104 cookie, since the manual says that it should be possible to add
18105 this function to `find-file-hook' (bug#8709).
18106
eee8207a
TZ
181072011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
18108
18109 * progmodes/cfengine.el: Moved all cfengine3.el functionality
18110 here. Noted Ted Zlatanov as the maintainer.
18111 (cfengine-common-settings, cfengine-common-syntax): New functions
18112 to set up common things between `cfengine-mode' and
18113 `cfengine3-mode'.
18114 (cfengine3-mode): New mode.
18115 (cfengine3-defuns cfengine3-defuns-regex
18116 (cfengine3-class-selector-regex cfengine3-category-regex)
18117 (cfengine3-vartypes cfengine3-font-lock-keywords)
18118 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 18119 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 18120
36b148cf
MA
181212011-07-01 Michael Albinus <michael.albinus@gmx.de>
18122
18123 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
18124
18125 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
18126
0bf4ba9a
MR
181272011-07-01 Martin Rudalics <rudalics@gmx.at>
18128
18129 * window.el (same-window-buffer-names, same-window-regexps)
18130 (same-window-p, special-display-frame-alist)
18131 (special-display-popup-frame, special-display-function)
18132 (special-display-buffer-names, special-display-regexps)
18133 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
18134 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
18135 (split-window-preferred-function, split-height-threshold)
18136 (split-width-threshold, even-window-heights)
18137 (display-buffer-mark-dedicated, window-splittable-p)
18138 (split-window-sensibly, window-safely-shrinkable-p):
18139 Un-obsolete.
18140 (display-buffer): Don't spread args with function specifier
18141 because special-display-popup-frame won't like it.
18142
35837f51
PE
181432011-07-01 Paul Eggert <eggert@cs.ucla.edu>
18144
d0672f86
PE
18145 Time-stamp simplifications and fixes.
18146 These improve accuracy slightly, and future-proof the code
18147 against some potential changes to current-time format.
18148
b9444d97
PE
18149 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
18150 by using time-since and float-time.
18151
0ef923dc
PE
18152 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
18153 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
18154 + NNN microseconds".
18155
2f81380d
PE
18156 * type-break.el (type-break-time-sum): Rewrite using time-add.
18157
845b5c3e
PE
18158 * play/hanoi.el (hanoi-current-time-float): Remove.
18159 All uses replaced by float-time.
18160
ee6f1be0
PE
18161 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
18162 This yields a more-accurate answer.
18163 (rng-time-to-float): Remove; no longer needed.
18164
fe955043
PE
18165 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
18166
5777162a
PE
18167 * calendar/timeclock.el (timeclock-seconds-to-time):
18168 Defalias to seconds-to-time, since they're the same thing.
18169
3103f8b6 18170 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 18171 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
18172 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
18173
0e61a35f
SM
181742011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
18175
18176 * window.el (bury-buffer): Don't iconify the only frame.
18177 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
18178 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
18179
ddd63a1e
CY
181802011-07-01 Chong Yidong <cyd@stupidchicken.com>
18181
0e61a35f
SM
18182 * eshell/em-smart.el (eshell-smart-display-navigate-list):
18183 Add mouse-yank-primary.
ddd63a1e 18184
055f4923
TZ
181852011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
18186
18187 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
18188
6a2fb145
SM
181892011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
18190
18191 * emacs-lisp/find-func.el (find-library--load-name): New fun.
18192 (find-library-name): Use it to find relative load names when provided
18193 absolute file name (bug#8803).
18194
fd4983f2
LMI
181952011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
18196
887d14ad
LMI
18197 * textmodes/flyspell.el (flyspell-word): Consider words that
18198 differ only in case as potential doublons (bug#5687).
18199
c53dc7fc
LMI
18200 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
18201 Remove two rather uninteresting debugging-like messages to make
18202 debbugs.el more silent.
18203
fd4983f2
LMI
18204 * comint.el (comint-password-prompt-regexp): Accept "Response" as
18205 a password-like phrase.
18206
7a71b18d 182072011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
18208
18209 * progmodes/cc-guess.el: New file.
18210
6a2fb145 18211 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
18212
18213 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
18214 derived from `c-basic-common-init'.
18215
18216 * progmodes/cc-mode.el (top-level): Require cc-guess.
18217 (c-basic-common-init): Use `cc-choose-style-for-mode'.
18218
1fa280a3
LM
182192011-06-30 Lawrence Mitchell <wence@gmx.li>
18220
18221 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
18222
e6597158
AM
182232011-06-30 Alan Mackenzie <acm@muc.de>
18224
1fa280a3
LM
18225 * progmodes/cc-engine.el (c-guess-continued-construct):
18226 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
18227 lock is disabled. Name this case as "CASE G".
18228
68ba37fb
KM
182292011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
18230
18231 * allout.el (allout-yank-processing): Fix injection of extra space
18232 between bullet and non-whitespace character in first topic when
18233 pasting, ensuring that the actual spacing in the pasted topic
18234 following the bullet char is preserved. This extra space was
18235 causing pasted encrypted topics to get a decrypted status even
18236 when the content was actually still encrypted. Now the decryption
18237 status from before the paste is preserved.
18238
18239 (allout-flag-region): Set all allout overlays so they evaporate
18240 when reduced to zero length (evanescent), to prevent overlay
18241 leakage.
18242
887a0b34
GM
182432011-06-30 Glenn Morris <rgm@gnu.org>
18244
94b9acce
GM
18245 * w32-fns.el (w32-charset-info-alist): Declare.
18246
1d9b46d4
GM
18247 * find-dired.el (find-grep-options): Simplify.
18248
cc232200
GM
18249 * term/ns-win.el (ns-set-resource): Declare.
18250
28e77c46
GM
18251 * ses.el (row, col): Declare dynamic variables honestly.
18252
887a0b34
GM
18253 * textmodes/reftex-parse.el (index-tags): Declare.
18254
658d8eb8
CY
182552011-06-30 Chong Yidong <cyd@stupidchicken.com>
18256
18257 * cus-edit.el (customize-push-and-save): New function.
18258
18259 * files.el (hack-local-variables-confirm): Use it.
18260
1fa280a3
LM
18261 * custom.el (load-theme): New arg NO-CONFIRM.
18262 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
18263 (custom-enabled-themes): Doc fix.
18264
18265 * cus-theme.el (customize-create-theme)
18266 (custom-theme-merge-theme): Callers to load-theme changed.
18267
bb617717
LMI
182682011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
18269
d61bdd5d
LMI
18270 * thingatpt.el (thing-at-point-short-url-regexp): Require that
18271 short URLs have at least one dot in them (bug #7614).
18272
bb617717
LMI
18273 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
18274 nil, because using a pty is apparently too slow (bug #895).
18275
2f31f37a
LMI
182762011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
18277
18278 * mail/sendmail.el (sendmail-query-once): New function.
18279 (sendmail-query-once-function): New variable.
18280
3076b24e
GM
182812011-06-29 Glenn Morris <rgm@gnu.org>
18282
faf2a174
GM
18283 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
18284
3076b24e
GM
18285 * ses.el (top-level): Require cl when compiling.
18286 (ses-set-localvars): Fix error statement.
18287 Call it at compile time to silence a storm of warnings.
18288
5386012d
MR
182892011-06-29 Martin Rudalics <rudalics@gmx.at>
18290
18291 * window.el (normalize-live-buffer): Rename to
18292 window-normalize-buffer.
18293 (normalize-live-frame): Rename to window-normalize-frame.
18294 (normalize-any-window): Rename to window-normalize-any-window.
18295 (normalize-live-window): Rename to window-normalize-live-window.
18296 (make-window-atom): Rename to window-make-atom.
18297 (window-resize-reset): Rename to window--resize-reset.
18298 (window-resize-reset-1): Rename to window--resize-reset-1.
18299 (resize-mini-window): Rename to window--resize-mini-window.
18300 (resize-subwindows-skip-p): Rename to
18301 window--resize-subwindows-skip-p.
18302 (resize-subwindows-normal): Rename to
18303 window--resize-subwindows-normal.
18304 (resize-subwindows): Rename to window--resize-subwindows.
18305 (resize-other-windows): Rename to window--resize-siblings.
18306 (resize-this-window): Rename to window--resize-this-window.
18307 (resize-root-window): Rename to window--resize-root-window.
18308 (resize-root-window-vertically): Rename to
18309 window--resize-root-window-vertically.
18310 (normalize-buffer-to-display): Rename to
18311 window-normalize-buffer-to-display.
18312 (normalize-buffer-to-switch-to): Rename to
18313 window-normalize-buffer-to-switch-to.
18314 Correspondingly update all callers of the functions listed
18315 above.
18316 (display-buffer-alist, display-buffer-normalize-arguments)
18317 (display-buffer-normalize-options, display-buffer)
18318 (display-buffer-alist-set): Use "function" instead of
18319 "fun-with-args".
18320
1176868d
CY
183212011-06-28 Chong Yidong <cyd@stupidchicken.com>
18322
18323 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
18324 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
18325 debbugs.gnu.org. Mention acknowledgment email.
18326
20a7a65f
LMI
183272011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
18328
18329 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
18330 buffer multibyteness, since it shouldn't matter.
18331
5f45cca5
MR
183322011-06-28 Martin Rudalics <rudalics@gmx.at>
18333
18334 * window.el (display-buffer-in-side-window): Handle dedicated
18335 windows as in display-buffer-reuse-window.
18336 (display-buffer-normalize-alist): Use value of override
18337 specifier.
18338 (display-buffer-normalize-specifiers): Use value of
18339 other-window-means-other-frame specifier.
18340 (display-buffer-alist): Rewrite some texts in widgets.
18341 (display-buffer): Spread arguments when calling function
18342 specified by fun-with-args.
18343
ad85fe1f
DD
183442011-06-28 Deniz Dogan <deniz@dogan.se>
18345
1fa280a3
LM
18346 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
18347 Unnest `let'.
da68c4c8 18348
ad85fe1f
DD
18349 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
18350 selectors (Bug#5732).
ec49bd31 18351 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 18352
a08cc025
JA
183532011-06-27 Jari Aalto <jari.aalto@cante.net>
18354
18355 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
18356 (eshell-ls-date-format): New defcustom.
18357 (eshell-ls-file): Use it.
18358
e2b551c5
SM
183592011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
18360
18361 * help-fns.el (describe-variable): Fix message for terminal-local vars.
18362
8982b231
KY
183632011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
18364
18365 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
18366 (ange-ftp-make-tmp-name): New arg.
18367 (ange-ftp-file-local-copy): Use it.
18368
36c9fa27
J
183692011-06-27 Jambunathan K <kjambunathan@gmail.com>
18370
18371 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
18372 no-conversion (Bug#8870).
18373
d68443dc
MR
183742011-06-27 Martin Rudalics <rudalics@gmx.at>
18375
18376 * window.el (window-right, window-left, window-child)
18377 (window-child-count, window-last-child)
18378 (window-iso-combination-p, walk-window-tree-1)
18379 (window-atom-check-1, window-tree-1, delete-window)
18380 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
18381 new naming conventions - window-vchild, window-hchild,
18382 window-next and window-prev are now called window-top-child,
18383 window-left-child, window-next-sibling and window-prev-sibling
18384 respectively.
d615d6d2
MR
18385 (resize-window-reset): Rename to window-resize-reset.
18386 (resize-window-reset-1): Rename to window-resize-reset-1.
18387 (resize-window): Rename to window-resize.
18388 (window-min-height, window-min-width)
18389 (resize-mini-window, resize-this-window, resize-root-window)
18390 (resize-root-window-vertically, adjust-window-trailing-edge)
18391 (enlarge-window, shrink-window, maximize-window)
18392 (minimize-window, delete-window, quit-restore-window)
18393 (split-window, balance-windows, balance-windows-area-adjust)
18394 (balance-windows-area, window-state-put-2)
18395 (display-buffer-even-window-sizes, display-buffer-set-height)
18396 (display-buffer-set-width, set-window-text-height)
18397 (fit-window-to-buffer): Rename all "resize-window" prefixed
18398 calls to use the "window-resize" prefix convention.
18399 (display-buffer-alist): Fix symbol for label specifier.
18400 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
18401 corresponding specifier.
18402 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 18403
b6458526
VB
184042011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
18405
18406 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
18407 convention.
18408 (ses-call-printer): Does not pass an empty string to formatter when the
18409 cell is empty to keep from barking printer Calc math-format-value.
18410
d31fd9ac
RS
184112011-06-27 Richard Stallman <rms@gnu.org>
18412
43d5bf84
RS
18413 * battery.el (battery-mode-line-limit): New variable.
18414 (battery-update): Handle it.
18415
d31fd9ac
RS
18416 * mail/rmailmm.el (rmail-mime-process-multipart):
18417 Handle truncated messages.
18418
819a6054
GM
184192011-06-27 Glenn Morris <rgm@gnu.org>
18420
18421 * progmodes/flymake.el (flymake-err-line-patterns):
18422 Allow for column numbers in the ant/javac pattern. (Bug#8866)
18423
cedc73f2
VB
184242011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
18425
819a6054 18426 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
18427 (ses--clean-!, ses--clean-_): New functions.
18428 (ses-range): Add configurability of readout order, and conversion
18429 to Calc vector.
18430
5e5d49b6
VB
18431 * ses.el (ses-repair-cell-reference-all): New function.
18432 (ses-cell-symbol): Set macro as safe, so that it can be used in
18433 formulas.
18434
56e6cc31 18435 * ses.el: Update cycle detection algorithm.
90ca8b49 18436 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 18437 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
18438 (ses-set-localvars): New function.
18439 (ses-make-cell): Add property-list as a cell element.
18440 (ses-cell-property-get-fun, ses-cell-property-get)
18441 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
18442 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
18443 New functions.
90ca8b49
VB
18444 (ses-cell-property-set, ses-cell-property-pop)
18445 (ses-cell-property-get-handle): New macro.
18446 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
18447 New aliases, used for code readability.
18448 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
18449 cycle detection.
18450 (ses-self-reference-early-detection): New defcustom.
fac916bf 18451 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
18452 (ses-mode): Use ses-set-localvars.
18453 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
18454 before lauching the update processing.
18455 (ses-initialize-Dijkstra-attempt): New function.
18456 (ses-recalculate-cell): Update for cycle detection based on
18457 Dijkstra algorithm.
18458
2bb63e81
VB
18459 * ses.el: Fix commenting and indenting convention.
18460
c9d29fb8
SM
184612011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
18462
18463 * bs.el (bs-cycle-next): Complete last change.
18464
d8e4b68b
JB
184652011-06-27 Drew Adams <drew.adams@oracle.com>
18466
18467 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
18468
40098786
LMI
184692011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
18470
c9d29fb8
SM
18471 * net/network-stream.el (network-stream-open-starttls):
18472 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
18473 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
18474
40098786
LMI
18475 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
18476 to binary to possibly avoid line encoding issues on Windows (among
18477 other things).
18478
468d09d4
LMI
184792011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
18480
18481 * net/network-stream.el (open-network-stream): Return an :error
18482 saying what the problem was, if possible.
18483
18484 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
18485 server.
18486
18487 * net/network-stream.el (network-stream-open-starttls): If we
18488 wanted to use STARTTLS, and the server offered it, but we weren't
18489 able to because we had no STARTTLS support, then close the connection.
18490 (open-network-stream): Return an :error element, if present.
18491
16f07dd7
CY
184922011-06-26 Chong Yidong <cyd@stupidchicken.com>
18493
88821ca0
CY
18494 * hl-line.el (hl-line-sticky-flag): Doc fix.
18495 (global-hl-line-sticky-flag): New option (Bug#8323).
18496 (global-hl-line-highlight): Obey it.
18497
16f07dd7
CY
18498 * vc/vc.el (vc-revert-show-diff): Default to t.
18499
6b5ccddf
KM
185002011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
18501
c9d29fb8
SM
18502 * allout-widgets.el (allout-widgets-post-command-business):
18503 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
18504 undecorated when an isearch is continued past, and isearch
18505 automatically collapses them. This leads to "widget leaks", where
18506 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
18507 hidden widgets can slow down cursor travel, substantially.
18508 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
18509 so we're doing without this nicety.
18510
18511 (allout-widgets-tally-string): Don't try to do a hash-table-count
18512 of allout-widgets-tally when it's nil. This eliminates spurious "Error
18513 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
18514 *Messages* when allout-widgets-maintain-tally is t.
18515
355f2e07
MR
185162011-06-26 Martin Rudalics <rudalics@gmx.at>
18517
18518 * window.el (display-buffer-normalize-argument): Rename to
18519 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
18520 LABEL argument. Respect special-display-function when popping up
18521 a new frame. Fix code searching for a window showing the buffer
18522 on another frame.
c9d29fb8
SM
18523 (display-buffer-normalize-specifiers):
18524 Call display-buffer-normalize-arguments.
355f2e07
MR
18525 (display-buffer-in-window): Don't undedicate the window if its
18526 buffer remains the same.
18527 Reported by Drew Adams <drew.adams@oracle.com>.
18528 (display-buffer-alist): Add choice for same-window macro
18529 specfier.
18530 (display-buffer): Mention special meaning of LABEL argument in
18531 doc-string. Fix quoting. Don't pop up a new frame even as
18532 fallback.
18533
7ca8fc42
JB
185342011-06-26 Juanma Barranquero <lekktu@gmail.com>
18535
18536 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
18537 avoid deleting the current window in some cases (bug#8911).
18538
bc312254
AS
185392011-06-26 Andreas Schwab <schwab@linux-m68k.org>
18540
18541 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
18542 (Bug#8934)
18543
2db18f3f
LMI
185442011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
18545
c9d29fb8
SM
18546 * net/network-stream.el (network-stream-open-starttls):
18547 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
18548 (network-stream-open-tls): Ditto.
18549
6302e0d3
LL
185502011-06-26 Leo Liu <sdl.web@gmail.com>
18551
18552 * register.el (registerv): New struct.
18553 (registerv-make): New function.
c9d29fb8
SM
18554 (jump-to-register, describe-register-1, insert-register):
18555 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
18556 struct. (Bug#8415)
18557
5fdd4046
CY
185582011-06-26 Chong Yidong <cyd@stupidchicken.com>
18559
2afef60a
CY
18560 * vc/vc.el (vc-revert-show-diff): New defcustom.
18561 (vc-diff-internal): New arg specifying diff buffer.
18562 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
18563 reuse an existing *vc-diff* buffer (Bug#8927).
18564
5fdd4046
CY
18565 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
18566
e93db24a
GM
185672011-06-26 Glenn Morris <rgm@gnu.org>
18568
18569 * progmodes/f90.el (f90-critical-indent): New option.
18570 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
18571 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
18572 (f90-mode): Doc fix.
18573 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
18574 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
18575 (f90-beginning-of-block, f90-next-block, f90-indent-region)
18576 (f90-match-end): Handle block, critical.
18577
eefff499
GM
185782011-06-25 Glenn Morris <rgm@gnu.org>
18579
f6ba4cc9
GM
18580 * calendar/diary-lib.el (diary-included-files): Doc fix.
18581 (diary-include-files): New function, extracted from
18582 diary-include-other-diary-files and diary-mark-included-diary-files.
18583 (diary-include-other-diary-files, diary-mark-included-diary-files):
18584 Just call diary-include-files.
18585 (diary-mark-entries): Reset diary-included-files on first call.
18586
16712304
GM
18587 * calendar/diary-lib.el (diary-mark-entries)
18588 (diary-mark-included-diary-files):
18589 Visit included diary-files in temp buffers.
18590
5d8e0d43
GM
18591 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
18592 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
18593 (f90-start-block-re, f90-imenu-generic-expression)
18594 (f90-looking-at-program-block-start, f90-no-block-limit):
18595 Add support for submodules.
18596
ccf7a5d5
GM
18597 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
18598 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 18599
11fdef7d 186002011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
18601
18602 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
18603 buffer-file-type before setting its value, to avoid disastrous
eefff499 18604 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 18605
74f53697
JB
186062011-06-25 Juanma Barranquero <lekktu@gmail.com>
18607
18608 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
18609
18610 * ses.el (ses-unload-function):
18611 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
18612
18613 * proced.el (proced-unload-function):
18614 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
18615
18a4ce5e
AR
186162011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
18617
18618 * server.el (server-create-window-system-frame): Add parameters arg.
18619 (server-process-filter): Doc fix. Handle frame-parameters.
18620
519d22cc
JB
186212011-06-25 Juanma Barranquero <lekktu@gmail.com>
18622
18623 Fix bug#8730, bug#8781.
18624
18625 * loadhist.el (unload--set-major-mode): New function.
18626 (unload-feature): Use it.
18627
18628 * progmodes/python.el (python-after-info-look): Add autoload cookie.
18629 (python-unload-function): New function.
18630
c206f5b0
SM
186312011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
18632
18633 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
18634
f9ad64f3
GS
186352011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
18636
18637 * net/browse-url.el (browse-url-firefox-program): Add icecat to
18638 the candidates list.
18639
7d0da90e
JB
186402011-06-24 Juanma Barranquero <lekktu@gmail.com>
18641
18642 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
18643
14b4e83d
RS
186442011-06-23 Richard Stallman <rms@gnu.org>
18645
18646 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
18647 (rmail-variables): Set next-error-move-function.
18648 (rmail-what-message): Take argument POS.
18649 (rmail-next-error-move): New function.
18650
273d2baf
SM
186512011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
18652
18653 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
18654 messages for adjacent non-terminals.
18655
56c2cc9a
RS
186562011-06-23 Richard Stallman <rms@gnu.org>
18657
18658 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 18659 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
18660 (rmail-start-mail): Don't specify use of rmail-mail-return;
18661 that's done by mail-bury now.
18662 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 18663
d59eb518
MA
186642011-06-23 Michael Albinus <michael.albinus@gmx.de>
18665
18666 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
18667 SIZE is a number.
18668
02cfc6d6
MR
186692011-06-23 Martin Rudalics <rudalics@gmx.at>
18670
18671 * window.el (get-lru-window, get-mru-window)
18672 (get-largest-window): Never return a minibuffer window.
18673 (display-buffer-pop-up-window): Fix a bug that could lead to
18674 reusing the minibuffer window.
18675 (display-buffer): Pass original specifier argument to
18676 display-buffer-function instead of the normalized one.
18677 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
18678
4e323265
LL
186792011-06-22 Leo Liu <sdl.web@gmail.com>
18680
18681 * minibuffer.el (completing-read-function)
1f9f395d 18682 (completing-read-default): Move from minibuf.c.
4e323265 18683
7a70468f
RS
186842011-06-22 Richard Stallman <rms@gnu.org>
18685
50718fc2
RS
18686 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
18687 to Rmail even if not started by a special Rmail command.
18688
7a70468f
RS
18689 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
18690 Copy the buffer currently showing just one message.
18691
297dde5a
RW
186922011-06-22 Roland Winkler <winkler@gnu.org>
18693
18694 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
18695 (bibtex-clean-entry): First delete the old key so that a
18696 customized algorithm for generating the new key does not get
18697 confused by the old key.
18698 (bibtex-url): Obey regexp of first step.
18699 (bibtex-search-entries): Do not use add-to-list with local
18700 list-var.
18701
97bb1093
LMI
187022011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
18703
18704 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
18705 stored a user name, then query for the password first, instead of
18706 waiting for SMTP to give an error message and the trying again.
18707
1c0f1a19
JD
187082011-06-22 Lawrence Mitchell <wence@gmx.li>
18709
18710 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
18711 BUFFER in call-process.
18712
396f7c9d
LMI
187132011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
18714
18715 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
18716 QUIT twice.
ddb7ffee
LMI
18717 (smtpmail-try-auth-methods): Require user name and password from
18718 auth-source.
396f7c9d 18719
8998d1b3
MR
187202011-06-22 Martin Rudalics <rudalics@gmx.at>
18721
18722 * window.el (display-buffer-default-specifiers)
18723 (display-buffer-alist): Remove entries for pop-up-frame-alist.
18724 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 18725 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
18726
18727 * frame.el (pop-up-frame-alist, pop-up-frame-function)
18728 (special-display-frame-alist, special-display-popup-frame):
18729 Remove duplicate declarations. These are now in window.el.
18730
4ea31e07
LMI
187312011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
18732
c9d29fb8
SM
18733 * mail/smtpmail.el (smtpmail-via-smtp):
18734 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
18735 server supports it. SMTP servers that support STARTTLS commonly
18736 require it.
18737
18738 * net/network-stream.el (network-stream-open-starttls): Support
18739 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 18740 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 18741
95f41d9a
LMI
18742 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
18743 upgrades with `open-network-stream', and rely solely on
18744 auth-source for all credentials. Big changes throughout the file,
18745 but in particular:
c9d29fb8
SM
18746 (smtpmail-auth-credentials): Remove.
18747 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
18748 (smtpmail-via-smtp): Check for servers saying they want AUTH after
18749 MAIL FROM, too.
95f41d9a 18750
c9d29fb8
SM
18751 * net/network-stream.el (network-stream-open-starttls):
18752 Provide support for client certificates both for external and built-in
4ea31e07
LMI
18753 STARTTLS.
18754 (auth-source): Require.
18755 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
18756 (network-stream-certificate): Change cert-cert to cert and
18757 cert-key to key.
4ea31e07 18758
065ec2c7
MA
187592011-06-21 Michael Albinus <michael.albinus@gmx.de>
18760
18761 * net/tramp-cache.el (top): Don't load the persistency file when
18762 "emacs -Q" has been called.
18763
cd93b359
DR
187642011-06-21 Tim Harper <timcharper@gmail.com>
18765
d8e4b68b
JB
18766 * term/ns-win.el (ns-initialize-window-system):
18767 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
18768 resource to NO as it is not yet supported by the NS port.
18769
ae9c0411
JB
187702011-06-21 Juanma Barranquero <lekktu@gmail.com>
18771
18772 * misc.el (list-dynamic-libraries--refresh): Compute header here...
18773 (list-dynamic-libraries): ...not here.
18774
7f3f739f
LL
187752011-06-21 Leo Liu <sdl.web@gmail.com>
18776
18777 * subr.el (sha1): Implement sha1 using secure-hash.
18778
327c8fb1
MR
187792011-06-21 Martin Rudalics <rudalics@gmx.at>
18780
18781 * window.el (display-buffer-alist): In default value do not
18782 enforce searching a window on any but the selected frame.
18783 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
18784 (display-buffer-select-window): Remove function.
18785 (display-buffer-in-window): When a window on another frame gets
18786 reused, do not select it any more but just raise its frame if
18787 necessary (Bug#8851) and (Bug#8856).
18788 (display-buffer-normalize-options): Handle pop-up-frames related
18789 options more faithfully.
18790 (pop-to-buffer): Don't rely on `display-buffer' selecting the
18791 window if it is on another frame.
c9d29fb8
SM
18792 (display-buffer-alist, display-buffer-default-specifiers):
18793 Don't make new frame unsplittable by default.
9e9de014
MR
18794 (display-buffer-normalize-argument): Fix doc-string typo and use
18795 'same-frame-other-window instead of 'other-window when associating
18796 with display-buffer-macro-specifiers.
327c8fb1 18797
7cf3f556
VB
187982011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
18799
18800 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
18801 New functions.
18802 (5x5-mode-map, 5x5-mode-menu): Bind them.
18803 (5x5-draw-grid): Tweak the solver's rendering.
18804
60a406cf
SM
188052011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
18806
18807 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
18808 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
18809
d8e4b68b 188102011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
18811
18812 * menu-bar.el: Use function variable instead of switch-to-buffer.
18813 (menu-bar-select-buffer-function): New variable.
60a406cf 18814 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 18815
478d6f95
SM
188162011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
18817
18818 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
18819 variable's status.
18820
ca530739
JD
188212011-06-20 Jan Djärv <jan.h.d@swipnet.se>
18822
18823 * x-dnd.el (x-dnd-version-from-flags)
18824 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
18825 and long as number (Bug#8899).
18826 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
18827
bcd70d97
SM
188282011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
18829
60a406cf 18830 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
18831 (completion-try-completion, completion-all-completions): Compute the
18832 metadata argument if it's missing; make it optional (bug#8795).
18833
60a406cf 18834 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
18835 (widget-complete): Use new :completion-function property.
18836 (widget-completions-at-point): New function.
18837 (default): Use :completion-function instead of :complete.
60a406cf
SM
18838 (widget-default-completions): Rename from widget-default-complete;
18839 Rewrite.
bcd70d97
SM
18840 (widget-string-complete, widget-file-complete, widget-color-complete):
18841 Remove functions.
18842 (file, symbol, function, variable, coding-system, color):
18843 * international/mule-cmds.el (default-input-method, charset)
18844 (language-info-custom-alist):
18845 * cus-edit.el (face): Use new property :completions.
18846
18847 * progmodes/pascal.el (pascal-completions-at-point): New function.
18848 (pascal-mode): Use it.
18849 (pascal-mode-map): Use completion-at-point.
18850 (pascal-toggle-completions): Make obsolete.
18851 (pascal-complete-word, pascal-show-completions):
18852 * progmodes/octave-mod.el (octave-complete-symbol):
18853 Redefine as obsolete alias.
18854 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
18855 Signal absence of completion info for old Octave,
18856 (inferior-octave-complete): Redefine as obsolete alias.
18857 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
18858 (meta-completions-at-point): Rename from meta-complete-symbol and
18859 adapt it for use on completion-at-point-functions.
18860 (meta-common-mode): Use it.
18861 (meta-looking-at-backward, meta-match-buffer): Remove.
18862 (meta-complete-symbol): Redefine as obsolete alias.
18863 (meta-common-mode-map): Use completion-at-point.
18864 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
18865 (makefile-mode-map): Use completion-at-point.
18866 (makefile-completions-at-point): Rename from makefile-complete and
18867 adapt it for use on completion-at-point-functions.
18868 (makefile-mode): Use it.
18869 (makefile-complete): Redefine as obsolete alias.
18870
aebf69c8
DD
188712011-06-20 Deniz Dogan <deniz@dogan.se>
18872
18873 * net/rcirc.el: Delete trailing whitespaces once and for all.
18874
bfbbb27d
DC
188752011-06-20 Daniel Colascione <dan.colascione@gmail.com>
18876
18877 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
18878
d264a46b
CY
188792011-06-19 Chong Yidong <cyd@stupidchicken.com>
18880
4ca009e5
CY
18881 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
18882
d264a46b
CY
18883 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
18884
fbf5b3ce
MR
188852011-06-19 Martin Rudalics <rudalics@gmx.at>
18886
18887 * window.el (display-buffer-other-window-means-other-frame):
18888 Call display-buffer-normalize-alist.
18889 (display-buffer-normalize-specifiers-1): Rename to
18890 display-buffer-normalize-argument. New argument other-frame.
18891 Rewrite.
18892 (display-buffer-normalize-specifiers-2): Rename to
18893 display-buffer-normalize-options.
18894 (display-buffer-normalize-alist-1): New function.
18895 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
18896 display-buffer-normalize-alist.
18897 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
18898 (display-buffer-normalize-options-inhibit): New variable.
18899 (display-buffer-normalize-specifiers): Rewrite calling
18900 display-buffer-normalize-alist,
18901 display-buffer-normalize-argument, and
18902 display-buffer-normalize-options. Don't call the latter if
18903 display-buffer-normalize-options-inhibit is non-nil.
18904 (frame-auto-delete): New option.
18905 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
18906 (window-list-no-nils, window-state-ignored-parameters)
18907 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
18908 (window-state-put-1, window-state-put-2, window-state-put):
18909 New functions.
9a028c23
MR
18910 (display-buffer-normalize-options): Move special-display-p group
18911 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 18912
6d10d800
CY
189132011-06-18 Chong Yidong <cyd@stupidchicken.com>
18914
6420d28b
CY
18915 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
18916 groups (Bug#8776).
18917 (rx-submatch-n): New function.
18918 (rx): Document it.
18919
ddb8b596
CY
18920 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
18921 (Bug#8768).
18922
18923 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
18924
77080289
CY
18925 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
18926
61dfb316
CY
18927 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
18928 anytime existing face settings are present (Bug#8889).
18929
6d10d800
CY
18930 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
18931 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
18932 Remove unused argument.
18933
be3fb2b8
MR
189342011-06-18 Martin Rudalics <rudalics@gmx.at>
18935
bcd70d97
SM
18936 * window.el (display-buffer-default-specifiers):
18937 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
18938 pop-up-window-min-width, and another reuse-window specifier
18939 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
18940 (display-buffer-normalize-specifiers-2):
18941 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
18942 pop-up-windows is unset. Add a reuse-window specifier for the
18943 case popping up a new window fails.
18944 (special-display-popup-frame): Remove double quoting.
28dec25a 18945 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 18946
1c6d8c76
SM
189472011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
18948
18949 * shell.el (shell-completion-vars): Set pcomplete-termination-string
18950 according to comint-completion-addsuffix.
18951
18952 * pcomplete.el: Convert to lexical binding and fix bug#8819.
18953 (pcomplete-suffix-list): Mark as obsolete.
18954 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
18955 pcomplete-seen in the closure.
18956 (pcomplete-comint-setup): Setup completion-at-point as well.
18957 (pcomplete--entries): New function.
18958 (pcomplete--env-regexp): New var.
18959 (pcomplete-entries): Rewrite to work with partial-completion and
18960 without relying on pcomplete-suffix-list.
18961 (pcomplete-pare-list): Remove, unused.
18962
25aef8b8
MR
189632011-06-17 Martin Rudalics <rudalics@gmx.at>
18964
18965 * window.el (display-buffer-alist): Set pop-up-window-min-height
18966 and pop-up-window-min-width in default value. Reported by
18967 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
18968 other-window-means-other-frame.
18969 (display-buffer-macro-specifiers): Comment out entry for
18970 other-window specifier.
18971 (display-buffer-other-window-means-other-frame): New function.
18972 (display-buffer-normalize-specifiers-1): New arguments
18973 buffer-name and label. Treat other-window case specially.
18974 (display-buffer-normalize-specifiers-2): Treat other-window case
18975 specially.
18976 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
18977 (display-buffer-normalize-specifiers):
18978 Call display-buffer-normalize-specifiers-3.
25aef8b8 18979
dbad4f69
MR
189802011-06-17 Martin Rudalics <rudalics@gmx.at>
18981
18982 * window.el (same-window-p): Fix two typos introduced when
18983 adding with-no-warnings.
d1067961
MR
18984 (display-buffer-normalize-specifiers-1): Don't check
18985 pop-up-frames for 'unset initialization.
18986 (display-buffer-normalize-specifiers-2): Major rewrite using
18987 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
18988 (pop-up-frames, display-buffer-reuse-frames)
18989 (display-buffer-mark-dedicated): Don't initialize to 'unset.
18990 Suggested by David Engster <deng@randomsample.de>.
18991 (even-window-heights): Initialize to 'unset.
18992 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
18993 (display-buffer-macro-specifiers): Don't pop up a new frame in the
18994 other window case.
dbad4f69 18995
9b9c9e3a
MR
189962011-06-16 Martin Rudalics <rudalics@gmx.at>
18997
bcd70d97
SM
18998 * window.el (display-buffer-normalize-specifiers-1):
18999 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 19000 second argument of display-buffer (Bug#8865).
981d5c09
MR
19001 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
19002 (switch-to-buffer-other-window-same-frame)
19003 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
19004 Adams (Bug#8875).
9c2755e9
MR
19005 (display-buffer): Don't check noninteractive when calling
19006 display-buffer-pop-up-frame.
19007 (display-buffer-pop-up-frame): Never pop up a frame in
19008 noninteractive mode (Bug#8857).
67222e1d
MR
19009 (enlarge-window, shrink-window): Don't report an error when the
19010 window can't be resized as requested (Bug#8862).
9b9c9e3a 19011
2b75be67
SM
190122011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
19013
9ffdd3ba
SM
19014 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
19015
cb581a67
SM
19016 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
19017
2b75be67
SM
19018 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
19019
8c0e3589
AM
190202011-06-15 Alan Mackenzie <acm@muc.de>
19021
cb581a67
SM
19022 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
19023 for declarators, disable knr checking to speed up for normal files.
19024 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 19025
b96e6cde
LMI
190262011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
19027
4bba86e6
LMI
19028 * net/network-stream.el (open-network-stream): Add the keyword
19029 :always-query-capabilities for the case where you want to force a
19030 `plain' network connection, but the protocol still requires the
19031 capabilitiy command (i.e., SMTP and EHLO).
19032
2b75be67 19033 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
19034 consistency with other `-live-p' functions.
19035
efdcdbf8
SM
190362011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
19037
19038 * window.el (same-window-buffer-names, same-window-regexps)
19039 (special-display-frame-alist, special-display-popup-frame)
19040 (special-display-function, special-display-buffer-names)
19041 (special-display-regexps, pop-up-frame-alist)
19042 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
19043 (pop-up-windows, split-window-preferred-function)
19044 (split-height-threshold, split-width-threshold, even-window-heights)
19045 (display-buffer-mark-dedicated): Don't encourage the use of
19046 display-buffer-alist from Elisp code.
19047
c5cde042
DN
190482011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
19049
19050 * progmodes/python.el (python-mode): Derive from prog-mode.
19051 * progmodes/ps-mode.el (ps-mode):
19052 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 19053 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
19054 * progmodes/ld-script.el (ld-script-mode): Likewise.
19055
baa1c9ab
MR
190562011-06-15 Martin Rudalics <rudalics@gmx.at>
19057
19058 * window.el (display-buffer-alist): Trim default value to avoid
19059 popping up a new frame (Bug#8857) or reusing an arbitrary window
19060 on another frame.
19061 (display-buffer): Do not fall back on popping up a new frame in
19062 batch mode (Bug#8857).
19063
c5dd5a51
CY
190642011-06-14 Chong Yidong <cyd@stupidchicken.com>
19065
19066 * cus-theme.el (describe-theme-1): Use custom-theme-p.
19067 (custom-theme-summary): New function.
19068 (customize-themes): Use it.
19069
d647b7c4
GM
190702011-06-13 Glenn Morris <rgm@gnu.org>
19071
19072 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
19073
9481c002
MR
190742011-06-13 Martin Rudalics <rudalics@gmx.at>
19075
357f93d2
MR
19076 * help.el (help-window): Remove variable.
19077 (help-window-point-marker, temp-buffer-max-height)
19078 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
19079 (help-print-return-message): Don't set help-window.
19080 (resize-temp-buffer-window): Rewrite cod eand doc-string.
19081 (help-window-setup-finish): Remove.
19082 (help-window-display-message, help-window-setup)
19083 (with-help-window): Major rewrite based on new
19084 display-buffer-window variable.
19085
19086 * help-mode.el (help-mode-finish): Remove help-window related
19087 code.
19088
19089 * view.el (view-exits-all-viewing-windows): Remove reference to
19090 view-return-to-alist in doc-string.
19091 (view-return-to-alist): Make obsolete.
19092 (view-buffer): Call pop-to-buffer-same-window and remove
19093 undo-window code.
19094 (view-buffer-other-window): Call pop-to-buffer-other-window and
19095 simplify code. Ignore second argument.
19096 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
19097 simplify code. Ignore second argument.
19098 (view-return-to-alist-update): Make obsolete.
19099 (view-mode-enter): Rename second argument to QUIT-RESTORE.
19100 Rewrite using quit-restore window parameters.
2b75be67
SM
19101 (view-mode-exit): Rename second argument to EXIT-ONLY.
19102 Rewrite using quit-restore-window.
357f93d2
MR
19103 (View-exit, View-exit-and-edit, View-leave, View-quit)
19104 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
19105 appropriate arguments.
19106 (view-end-message): Use quit-restore window parameter.
19107
9481c002
MR
19108 * window.el (display-buffer-function): Rewrite doc-string.
19109 (display-buffer-window, display-buffer-alist): New variables.
19110 (display-buffer-split-specifiers)
19111 (display-buffer-side-specifiers)
19112 (display-buffer-macro-specifiers): New constants.
19113 (display-buffer-even-window-sizes, display-buffer-set-height)
19114 (display-buffer-set-width, display-buffer-select-window)
19115 (display-buffer-in-window, display-buffer-reuse-window)
19116 (display-buffer-split-window-1, display-buffer-split-window)
19117 (display-buffer-split-atom-window, display-buffer-pop-up-window)
19118 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
19119 (display-buffer-in-side-window, normalize-buffer-to-display)
19120 (display-buffer-normalize-specifiers-1)
19121 (display-buffer-normalize-specifiers-2)
2b75be67
SM
19122 (display-buffer-normalize-specifiers, display-buffer-frame):
19123 New functions.
9481c002
MR
19124 (display-buffer): Major rewrite.
19125 (display-buffer-other-window, display-buffer-other-frame)
19126 (pop-to-buffer, switch-to-buffer-other-window)
19127 (switch-to-buffer-other-frame): Rewrite.
19128 (display-buffer-same-window, display-buffer-same-frame)
19129 (display-buffer-same-frame-other-window)
19130 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
19131 (pop-to-buffer-other-window)
19132 (pop-to-buffer-same-frame-other-window)
19133 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
19134 (switch-to-buffer-other-window-same-frame): New functions.
19135 (same-window-p, special-display-p): Rewrite disabling warnings.
19136 Make obsolete.
19137 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
19138 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
19139 Make obsolete
19140 (same-window-buffer-names, same-window-regexps)
19141 (special-display-frame-alist, special-display-popup-frame)
19142 (special-display-function, special-display-buffer-names)
19143 (special-display-regexps, pop-up-frame-alist)
19144 (pop-up-frame-function, split-window-preferred-function)
19145 (split-height-threshold, split-width-threshold)
19146 (even-window-heights): Make obsolete.
19147
9db51aca
GM
191482011-06-12 Glenn Morris <rgm@gnu.org>
19149
19150 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 19151 Misc simplifications.
9db51aca 19152
39cffb44
MR
191532011-06-12 Martin Rudalics <rudalics@gmx.at>
19154
19155 * window.el (window-safely-shrinkable-p): Restore function which
19156 was inadvertently removed in change from 2011-06-11. Declare as
19157 obsolete.
19158
2b75be67
SM
19159 * calendar/calendar.el (calendar-generate-window):
19160 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
19161 window-safely-shrinkable-p.
19162
a8955be7
GM
191632011-06-12 Glenn Morris <rgm@gnu.org>
19164
19165 * progmodes/fortran.el (fortran-mode-syntax-table):
19166 * progmodes/f90.el (f90-mode-syntax-table):
19167 Set % to punctuation. (Bug#8820)
19168 (f90-find-tag-default): Remove, no longer needed.
19169
f0d4059d
DC
191702011-06-12 Daniel Colascione <dan.colascione@gmail.com>
19171
19172 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
19173
1100a63c
CY
191742011-06-11 Chong Yidong <cyd@stupidchicken.com>
19175
19176 * image.el (image-animated-p): Return animation delay in seconds.
19177 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
19178 (image-animate-timeout): Remove DELAY argument. Don't assume
19179 every subimage has the same delay; get it from image-animated-p.
19180 (image-animate): Caller changed.
19181
def722bf
MA
191822011-06-11 Michael Albinus <michael.albinus@gmx.de>
19183
19184 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
19185 to ignored backtrace functions.
19186
0a2bb1a9
GM
191872011-06-11 Glenn Morris <rgm@gnu.org>
19188
19189 * calendar/appt.el (appt-disp-window-function): Doc fix.
19190 (appt-check): Handle overlapping appointments. (Bug#8337)
19191
6198ccd0
MR
191922011-06-11 Martin Rudalics <rudalics@gmx.at>
19193
19194 * window.el (window-tree-1, window-tree): New functions, moving
19195 the latter to window.el.
19196 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
19197 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
19198 (bw-refresh-edges): Remove.
19199 (balance-windows-1, balance-windows-2): New functions.
19200 (balance-windows): Rewrite in terms of window tree functions,
19201 balance-windows-1 and balance-windows-2.
19202 (bw-adjust-window): Remove.
19203 (balance-windows-area-adjust): New function with functionality of
19204 bw-adjust-window but using resize-window.
2b75be67
SM
19205 (set-window-text-height): Rewrite doc-string.
19206 Use normalize-live-window and resize-window.
19207 (enlarge-window-horizontally, shrink-window-horizontally):
19208 Rename argument to DELTA.
6198ccd0
MR
19209 (window-buffer-height): New function.
19210 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
19211 Rewrite using new window resize routines.
2b75be67
SM
19212 (kill-buffer-and-window, mouse-autoselect-window-select):
19213 Use ignore-errors instead of condition-case.
6198ccd0
MR
19214 (quit-window): Call delete-frame instead of delete-windows-on
19215 for the only buffer on frame.
19216
9397e56f
MR
192172011-06-10 Martin Rudalics <rudalics@gmx.at>
19218
19219 * loadup.el (top-level): Load window before files for the sake
19220 of replace-buffer-in-windows.
19221
19222 * files.el (read-buffer-to-switch)
19223 (switch-to-buffer-other-window)
2b75be67
SM
19224 (switch-to-buffer-other-frame, display-buffer-other-frame):
19225 Move to window.el.
9397e56f
MR
19226
19227 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
19228 (previous-buffer): Move to window.el.
19229
19230 * bindings.el (unbury-buffer): Move to window.el.
19231
19232 * window.el (delete-other-windows-vertically): Move after
19233 definition of delete-other-windows.
19234 (other-window, delete-windows-on, replace-buffer-in-windows):
19235 Move here from window.c.
19236 (record-window-buffer, unrecord-window-buffer)
19237 (set-window-buffer-start-and-point, switch-to-prev-buffer)
19238 (switch-to-next-buffer): New functions.
19239 (get-next-valid-buffer, last-buffer, next-buffer): Move here
19240 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
19241 (previous-buffer): Move here from simple.el.
19242 Call switch-to-prev-buffer.
9397e56f
MR
19243 (bury-buffer): Move here from buffer.c. Switch to previous
19244 buffer when window cannot be deleted.
19245 (unbury-buffer): Move here from bindings.el.
19246 (ctl-x-map): Move binding for other-window from window.c to
19247 here.
19248 (read-buffer-to-switch, switch-to-buffer-other-window)
19249 (switch-to-buffer-other-frame): Move here from files.el.
19250 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
19251 (switch-to-buffer): Move here from buffer.c.
19252 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 19253
562dd5e9
MR
192542011-06-10 Martin Rudalics <rudalics@gmx.at>
19255
19256 * window.el (window-min-height, window-min-width): Move here
19257 from window.c. Add defcustoms and rewrite doc-strings.
19258 (resize-mini-window, resize-window): New functions.
19259 (adjust-window-trailing-edge, enlarge-window, shrink-window):
19260 Move here from window.c.
19261 (maximize-window, minimize-window): New functions.
19262 (delete-window, delete-other-windows, split-window): Move here
19263 from window.c.
19264 (window-split-min-size): New function.
19265 (split-window-keep-point): Mention split-window-above-each-other
19266 instead of split-window-vertically.
2b75be67 19267 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
19268 Rename split-window-vertically to split-window-above-each-other
19269 and provide defalias for old definition.
19270 (split-window-side-by-side, split-window-horizontally):
19271 Rename split-window-horizontally to split-window-side-by-side
19272 and provide defalias for the old definition.
562dd5e9
MR
19273 (ctl-x-map): Move bindings for delete-window,
19274 delete-other-windows and enlarge-window here from window.c.
19275 Replace bindings for split-window-vertically and
19276 split-window-horizontally by bindings for
19277 split-window-above-each-other and split-window-side-by-side.
19278
19279 * cus-start.el (all): Remove entries for window-min-height and
19280 window-min-width. Add entries for window-splits and
19281 window-nest.
19282
f0da764a
GM
192832011-06-09 Glenn Morris <rgm@gnu.org>
19284
80675c21
GM
19285 * calendar/appt.el (appt-mode-line): New function.
19286 (appt-check, appt-disp-window): Use it.
19287
f0da764a
GM
19288 * files.el (hack-one-local-variable-eval-safep):
19289 Allow minor-modes with explicit +/-1 arguments.
19290
59f623b7
TZ
192912011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
19292
19293 * term/xterm.el (xterm): Add defgroup.
19294 (xterm-extra-capabilities): Add defcustom to supply known xterm
19295 capabilities, skip querying them, or query them (default).
19296 (terminal-init-xterm): Use it.
19297 (terminal-init-xterm-modify-other-keys): New function to set up
19298 modifyOtherKeys support to simplify `terminal-init-xterm'.
19299
9aab8e0d
MR
193002011-06-09 Martin Rudalics <rudalics@gmx.at>
19301
19302 * window.el (resize-window-reset, resize-window-reset-1)
19303 (resize-subwindows-skip-p, resize-subwindows-normal)
19304 (resize-subwindows, resize-other-windows, resize-this-window)
19305 (resize-root-window, resize-root-window-vertically)
19306 (window-deletable-p, window-or-subwindow-p)
19307 (frame-root-window-p): New functions.
19308
e8b08aee
GM
193092011-06-09 Glenn Morris <rgm@gnu.org>
19310
19311 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
19312 (ange-ftp-get-files): Use it.
19313
254c37a5
AK
193142011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
19315
19316 * mail/sendmail.el (mail-recover-1, mail-recover):
19317 * files.el (recover-file, recover-session):
19318 Handle dired-listing-switches not being just a single short option.
19319
35d7dbd3
GM
193202011-06-09 Glenn Morris <rgm@gnu.org>
19321
19322 * calendar/appt.el (appt-display-message, appt-disp-window):
19323 Handle lists of appointments.
19324
387522b2
MR
193252011-06-08 Martin Rudalics <rudalics@gmx.at>
19326
2b75be67
SM
19327 * window.el (one-window-p): Move down in code.
19328 Rewrite doc-string.
19329 (window-current-scroll-bars): Rewrite doc-string.
19330 Normalize live window argument.
387522b2
MR
19331 (walk-windows, get-window-with-predicate, count-windows):
19332 Rewrite doc-string. Use window-list-1.
19333 (window-in-direction-2, window-in-direction, get-mru-window):
19334 New functions.
19335
d8e4b68b 193362011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
19337
19338 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
19339 Doc fix (Bug#8713).
19340
193412011-06-08 Chong Yidong <cyd@stupidchicken.com>
19342
19343 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
19344
193452011-06-08 Juanma Barranquero <lekktu@gmail.com>
19346
19347 * loadhist.el (unload-feature-special-hooks):
19348 Add `comint-output-filter-functions'.
19349
0de12c52
IK
193502011-06-08 Ivan Kanis <gnu@kanis.fr>
19351
19352 * calendar/appt.el (appt-check): Move some initializations into the let.
19353
f3d1777e
MR
193542011-06-08 Martin Rudalics <rudalics@gmx.at>
19355
19356 * window.el (window-height): Defalias to window-total-height.
19357 (window-width): Defalias to window-body-width.
19358
18af70d0
CY
193592011-06-07 Chong Yidong <cyd@stupidchicken.com>
19360
19361 * image-mode.el (image-toggle-animation): New command.
19362 (image-mode-map): Bind it to RET.
19363 (image-mode): Update message.
19364 (image-toggle-display-image): Avoid a spurious cache flush.
19365 (image-transform-rotation): Doc fix.
19366 (image-transform-properties): Return quickly in the normal case.
19367 (image-animate-loop): Rename from image-animate-max-time.
19368
2b75be67 19369 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
19370 (create-animated-image): Remove unnecessary function.
19371 (image-animate): Rename from image-animate-start. New arg.
2b75be67 19372 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
19373 (image-animate-timer): Use car-safe.
19374 (image-animate-timeout): Rename argument.
19375
190b47e6
MR
193762011-06-07 Martin Rudalics <rudalics@gmx.at>
19377
19378 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
19379 window.c. Rename first argument to ALL-FRAMES.
19380 Rephrase doc-strings.
19381 (get-buffer-window-list): Rewrite using window-list-1.
19382 Rephrase doc-string.
a1511caf
MR
19383 (window-safe-min-height, window-safe-min-width): New constants.
19384 (window-size-ignore, window-min-size, window-min-size-1)
19385 (window-sizable, window-sizable-p, window-size-fixed-1)
19386 (window-size-fixed-p, window-min-delta-1, window-min-delta)
19387 (window-max-delta-1, window-max-delta, window-resizable)
19388 (window-resizable-p, window-total-height, window-total-width)
19389 (window-body-width): New functions.
19390 (window-full-height-p, window-full-width-p): Rewrite using
19391 window-total-size.
19392 (window-body-height): Rewrite using window-body-size.
190b47e6 19393
85cc1f11
MR
193942011-06-06 Martin Rudalics <rudalics@gmx.at>
19395
19396 * window.el (window-right, window-left, window-child)
19397 (window-child-count, window-last-child, window-any-p)
19398 (normalize-live-buffer, normalize-live-frame)
19399 (normalize-any-window, normalize-live-window)
19400 (window-iso-combination-p, window-iso-combined-p)
19401 (window-iso-combinations)
19402 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
19403 (windows-with-parameter, window-with-parameter)
19404 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
19405 (window-atom-check, window-side-check, window-check):
19406 New functions.
85cc1f11
MR
19407 (ignore-window-parameters, window-sides, window-sides-vertical)
19408 (window-sides-slots): New variables.
19409 (window-size-fixed): Move down in code. Minor doc-string fix.
19410
e7156492
AS
194112011-06-05 Andreas Schwab <schwab@linux-m68k.org>
19412
19413 * comint.el (comint-dynamic-complete-as-filename)
19414 (comint-dynamic-complete-filename): Correctly call
19415 completion-in-region.
19416
7e821d0d
DD
194172011-06-05 Deniz Dogan <deniz@dogan.se>
19418
19419 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
19420 in last change.
19421
ac09b8a1
DD
194222011-06-05 Deniz Dogan <deniz@dogan.se>
19423
19424 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
19425 (rcirc): Use it to prompt for encryption.
19426
34699b85
RW
194272011-06-05 Roland Winkler <winkler@gnu.org>
19428
19429 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
19430 (bibtex-search-entries): New command bound to C-c C-a.
19431 (bibtex-display-entries): New function.
19432
004dedd3
RW
194332011-06-05 Roland Winkler <winkler@gnu.org>
19434
19435 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
19436 (bibtex-insert-kill): After yanking insert newline if necessary.
19437 (bibtex-initialize): Call bibtex-string-files-init only once.
19438 (bibtex-mode): Do not call easy-menu-add.
19439 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
19440 (bibtex-yank): Set arg properly if nil.
19441
022fe7ce
RW
194422011-06-05 Roland Winkler <winkler@gnu.org>
19443
2b75be67
SM
19444 * textmodes/bibtex.el (bibtex-search-entry-globally):
19445 New variable.
022fe7ce
RW
19446 (bibtex-search-entry): Use it.
19447
b7c3692a
RW
194482011-06-05 Roland Winkler <winkler@gnu.org>
19449
19450 * textmodes/bibtex.el (bibtex-entry-format): New option
19451 sort-fields.
19452 (bibtex-format-entry, bibtex-reformat): Honor this option.
19453 (bibtex-parse-entry): Return fields in proper order.
19454
8eda563d
JB
194552011-06-05 Juanma Barranquero <lekktu@gmail.com>
19456
19457 * doc-view.el (doc-view-remove-if): Move computation of result out
19458 of `dolist' to silence misleading lexical-binding warning.
19459
7dbe3dbc
CY
194602011-06-04 Chong Yidong <cyd@stupidchicken.com>
19461
19462 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
19463 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
19464
0c33dd17
MA
194652011-06-04 Michael Albinus <michael.albinus@gmx.de>
19466
19467 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
19468 "SunOS 5.10".
19469
f8f91c2b
MA
194702011-06-04 Michael Albinus <michael.albinus@gmx.de>
19471
19472 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
19473 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
19474 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
19475 (tramp-parse-putty):
19476 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
19477 (tramp-completion-function-alist-ssh)
19478 (tramp-completion-function-alist-telnet)
19479 (tramp-completion-function-alist-su)
19480 (tramp-completion-function-alist-putty): Set `tramp-autoload'
19481 cookie.
19482
19483 * net/tramp-ftp.el:
19484 * net/tramp-sh.el:
19485 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
19486 load "tramp.el" `tramp-set-completion-function'.
19487
e17d9003
SM
194882011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
19489
19490 * shell.el: Require and use pcomplete.
19491 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
19492 (shell-completion-vars): Set pcomplete-default-completion-function.
19493
6c4cab03
DD
194942011-06-04 Deniz Dogan <deniz@dogan.se>
19495
19496 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
19497 `memq' (Bug#8799).
19498
ea9fafe0
SM
194992011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
19500
19501 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
19502
b3e945d3
JB
195032011-06-02 Juanma Barranquero <lekktu@gmail.com>
19504
19505 * bs.el (bs--mark-unmark, bs--nth-wrapper):
19506 * mpc.el (mpc-select-extend, mpc-songpointer-context):
19507 * vc/log-view.el (log-view-beginning-of-defun):
19508 * vc/smerge-mode.el (smerge-apply-resolution-patch)
19509 (smerge-refine-forward, smerge-refine-chopup-region):
19510 Silence warning for unused `dotimes' counter variables.
19511
7d520089
SM
195122011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
19513
19514 * net/tramp.el (tramp-with-progress-reporter): Rename from
19515 with-progress-reporter. Use `declare'.
19516 * net/tramp-smb.el:
19517 * net/tramp-sh.el:
19518 * net/tramp-gvfs.el: Update all uses.
19519
a1c2400f
JB
195202011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
19521
19522 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
19523 buffer isn't killed before making it current.
19524
2403c841
SM
195252011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
19526
19527 Silence various byte-compiler warnings.
19528 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
19529 `access-type' and new obsolescence format.
19530 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
19531 new format.
19532 (byte-compile-check-variable): New `access-type' argument.
19533 Only warn if the access-type is obsolete.
19534 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
19535 (byte-compile-variable-set): Adjust callers.
19536 * help-fns.el (describe-variable): Adjust to new obsolescence format.
19537 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
19538 setting it as obsolete.
19539 * simple.el (minibuffer-completing-symbol):
19540 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
19541 access as obsolete.
19542 * minibuffer.el (minibuffer-completing-file-name): Don't make it
19543 obsolete yet.
19544 * international/quail.el (quail-mouse-choose-completion): Remove unused
19545 code referring to obsolete var.
19546 (quail-choose-completion-string): Remove.
19547 * server.el (server-clients-with, server-kill-buffer-query-function)
19548 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
19549 * proced.el (proced-send-signal):
19550 * emacs-lisp/lisp.el (lisp-complete-symbol):
19551 Replace completion-annotate-function with completion-extra-properties.
19552
2462470b
SM
195532011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
19554
fb5b2591
SM
19555 * simple.el (goto-line): Use read-number.
19556 (overriding-map-is-bound): Remove.
19557 (saved-overriding-map): Change default.
19558 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
19559 Take the map as argument.
19560 (universal-argument, negative-argument, digit-argument): Use it.
19561 (restore-overriding-map): Adjust.
19562 (do-auto-fill): Use fill-forward-paragraph.
19563 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
19564
fd6fa53f
SM
19565 * minibuffer.el (minibuffer-inactive-mode-map): New var.
19566 (minibuffer-inactive-mode): New major mode.
19567 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
19568 the *Messages* buffer" hack.
19569 (mouse-popup-menubar): Don't burp if the event is a normal key.
19570
2462470b
SM
19571 Miscellaneous tweaks.
19572 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
19573 lexical scoping as in subr.el's dolist and dotimes.
19574 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
19575 Silence compiler warning.
19576 * thingatpt.el (forward-whitespace): Trivial coding style fix.
19577 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
19578 * international/ccl.el (ccl-compile): Trivial simplification.
19579 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
19580 * emacs-lisp/testcover.el (testcover-end): Remove spurious
19581 `printflag' argument.
19582 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
19583 Purecopy the whole obsolescence data.
19584
108bf785
LL
195852011-06-01 Leo Liu <sdl.web@gmail.com>
19586
19587 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
19588 improve doc-string as suggested by Marco Pessotto
19589 <melmothx@gmail.com>.
19590 (rcirc-print): Fix last change.
19591
30a23501
SM
195922011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
19593
19594 * minibuffer.el (complete-with-action): Return nil for the metadata and
19595 boundaries of non-functional tables.
19596 (completion-table-dynamic): Return nil for the metadata.
19597 (completion-table-with-terminator): Add default case, using
19598 complete-with-action.
19599 (completion--metadata): New function.
19600 (completion-all-sorted-completions, minibuffer-completion-help): Use it
19601 to try and avoid pathological performance problems.
19602 (completion--embedded-envvar-table): Return `category' metadata.
19603
bcd54f83
LMI
196042011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
19605
19606 * subr.el (process-alive-p): New tiny convenience function.
19607
e227544d
SM
196082011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
19609
19610 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
19611 content but also its previous major mode.
19612
e8296fdc
HE
196132011-05-31 Helmut Eller <eller.helmut@gmail.com>
19614
4d61f28d 19615 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
19616 *Backtrace* buffer when we exit with C-M-c.
19617
620c53a6
SM
196182011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
19619
19620 * minibuffer.el: Add metadata method to completion tables.
19621 (completion-category-overrides): New defcustom.
19622 (completion-metadata, completion--field-metadata)
19623 (completion-metadata-get, completion--styles)
19624 (completion--cycle-threshold): New functions.
19625 (completion-try-completion, completion-all-completions):
19626 Add `metadata' argument to choose completion-styles.
19627 (completion--do-completion): Use metadata to choose cycling.
19628 (completion-all-sorted-completions): Use metadata for sorting.
19629 Remove :completion-cycle-penalty which is not needed any more.
19630 (completion--try-word-completion): Add `metadata' argument.
19631 (minibuffer-completion-help): Check metadata for annotation function
19632 and sorting.
19633 (completion-file-name-table): Return `category' metadata.
19634 (minibuffer-completing-file-name): Make obsolete.
19635 * simple.el (minibuffer-completing-symbol): Make obsolete.
19636 * icomplete.el (icomplete-completions): Pass new `metadata' param to
19637 completion-try-completion.
19638
1257e755
SM
196392011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
19640
19641 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
19642
3767e706
LL
196432011-05-30 Leo Liu <sdl.web@gmail.com>
19644
19645 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
19646 (rcirc-print): Decode all incoming messages (bug#8744).
19647 (rcirc-decode-coding-system): Allow value nil for automatic coding
19648 system detection.
3767e706 19649
d1a5d56a
GM
196502011-06-01 Glenn Morris <rgm@gnu.org>
19651
19652 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
19653
e8cbec34
CY
196542011-05-29 Chong Yidong <cyd@stupidchicken.com>
19655
19656 * image.el (image-animate-max-time): Allow nil and t values.
19657 Default to nil.
19658 (create-animated-image): Doc fix.
19659 (image-animate-start): Remove second arg; just use
19660 image-animate-max-time.
19661 (image-animate-timeout): Doc fix. Args changed.
19662
19663 * image-mode.el (image-toggle-display-image): Ensure that the
19664 image spec passed to the animate timer is the same object as in
58179cce 19665 the buffer's display property (Bug#6981).
e8cbec34
CY
19666 (image-transform-properties): Doc fix.
19667
19668 * image.el (image-animate-max-time): Default to nil.
19669
159daf87
MR
196702011-05-29 Martin Rudalics <rudalics@gmx.at>
19671
19672 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
19673 entire buffer list (Bug#8184).
19674
d66c4c7c
CY
196752011-05-29 Chong Yidong <cyd@stupidchicken.com>
19676
19677 * image.el (imagemagick-types-inhibit)
19678 (imagemagick-register-types): Doc fix.
19679
80aec780
DD
196802011-05-29 Deniz Dogan <deniz@dogan.se>
19681
19682 * net/rcirc.el (rcirc): Use the user's stored encryption method by
19683 default.
19684
1dd3c2d9
CY
196852011-05-29 Chong Yidong <cyd@stupidchicken.com>
19686
19687 * select.el: Don't perform clipboard-manager saving in hooks;
19688 leave the hooks empty.
19689
60e56523
LL
196902011-05-28 Leo Liu <sdl.web@gmail.com>
19691
19692 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
19693 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
19694 (occur-edit-mode): New major mode (Bug#8463).
19695 (occur-after-change-function): New function.
19696 (occur-engine): Give Occur tags a read-only property.
19697
2b1e1a22
KR
196982011-05-28 Kevin Ryde <user42@zip.com.au>
19699
19700 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
19701
5d344e88
CY
197022011-05-28 Chong Yidong <cyd@stupidchicken.com>
19703
8e6ca83d
CY
19704 * bindings.el (help-echo): Make the initial non-indicator dash
19705 empty on graphical terminals (Bug#7295).
19706
5d344e88
CY
19707 * files.el (auto-mode-alist): Move config rule after the
19708 in-stripping one (Bug#8547).
19709
bfbbace7
CY
19710 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
19711
fbeba6e2
CY
19712 * startup.el (normal-splash-screen): Remove gratuitous mode-line
19713 setting (Bug#8740).
19714
60ed8c72
AA
197152011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
19716
4ac619f0
AA
19717 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
19718 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
19719 (Bug#8539).
60ed8c72 19720
23db196e
CY
197212011-05-28 Chong Yidong <cyd@stupidchicken.com>
19722
19723 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
19724
5012f24c
DK
197252011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
19726
19727 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
19728 (hs-hide-block-at-point, hs-find-block-beginning)
19729 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
19730 (Bug#8279).
19731
6a639b16
GM
197322011-05-28 Glenn Morris <rgm@gnu.org>
19733
19734 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
19735
d43eaf2c
CY
197362011-05-28 Chong Yidong <cyd@stupidchicken.com>
19737
5199bde1
CY
19738 * help-fns.el (describe-function-1): If the function is a derived
19739 major mode, print the parent mode.
19740
d43eaf2c
CY
19741 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
19742 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
19743
423428a8
SM
197442011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
19745
0ff8e1ba 19746 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 19747 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
19748 * progmodes/etags.el (tags-completion-at-point-function):
19749 * info-look.el (info-lookup-completions-at-point): Mark as
19750 non-exclusive.
19751 (info-complete): Adjust accordingly.
19752
423428a8
SM
19753 * info-look.el: Convert to lexical-binding and completion-at-point.
19754 (info-lookup-completions-at-point): New function.
19755 (info-complete): Use it and completion-in-region.
19756
b74aa22b
DA
197572011-05-28 Drew Adams <drew.adams@oracle.com>
19758
19759 * isearch.el: Let M-e start with point at the first mismatched char.
19760 (isearch-fail-pos): New function.
19761 (isearch-edit-string): Use it.
19762
66e2e71d
DK
197632011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
19764
19765 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
19766
b1890b0f 197672011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
19768
19769 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
19770 traversal functions for avl-trees.
19771 (avl-tree--stack): New struct.
19772 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
19773 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
19774 (avl-tree--do-enter): Add optional `updatefun' arg.
19775 Change return value.
eb95d01d 19776 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
19777 (avl-tree--do-delete): Add `test' and `nilflag' args.
19778 Change return value.
eb95d01d
TC
19779 (avl-tree-member): Add optional `nilflag'
19780 (avl-tree-member-p): New function.
19781 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
19782 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
19783 (avl-tree-stack-empty-p): New functions.
19784
3769ddcf
TC
19785 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
19786 avl-tree--del-balance1 and make it work both ways.
19787 (avl-tree--del-balance2): Remove.
19788 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
19789 make it work both ways.
19790 (avl-tree--enter-balance2): Remove.
19791 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
19792 New macros.
19793 (avl-tree--mapc, avl-tree-map): Add direction argument.
19794
eb95d01d 197952011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
19796
19797 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
19798
a9f737ee
CY
197992011-05-27 Chong Yidong <cyd@stupidchicken.com>
19800
19801 * select.el: Support clipboard managers with built-in function
19802 x-clipboard-manager-save, via delete-frame-functions and
19803 kill-emacs-hook.
19804 (xselect-convert-to-targets): Add MULTIPLE target to list.
19805 (xselect-convert-to-save-targets): New function.
19806
c92a1e54
KH
198072011-05-27 Kenichi Handa <handa@m17n.org>
19808
19809 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
19810 let-binding rfc2047-encode-encoded-words to nil.
19811
e145f188
GM
198122011-05-27 Glenn Morris <rgm@gnu.org>
19813
5ec8a862
GM
19814 * mail/emacsbug.el: Don't require url-util.
19815
4b29d9fb
GM
19816 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
19817
e145f188
GM
19818 * files.el (set-auto-mode):
19819 Also respect mode: entries at the end of the file. (Bug#8586)
19820
7d15102b
GM
198212011-05-26 Glenn Morris <rgm@gnu.org>
19822
98f593b8
GM
19823 * files.el (hack-local-variables-prop-line, hack-local-variables):
19824 Downcase mode names, as seems to be traditional.
27b48e63 19825 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 19826
7d15102b
GM
19827 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
19828 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
19829
51d5b4ec
JD
198302011-05-25 Julien Danjou <julien@danjou.info>
19831
19832 * textmodes/rst.el (rst-define-level-faces): Do not define face
19833 symbol if it is already defined.
19834
91513f63
VB
198352011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
19836
19837 * play/5x5.el (5x5-new-game, 5x5-randomize):
19838 Reset 5x5-solver-output to nil when a new grid is cast.
19839 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
19840 these debugging traces, as defmacro breaks the compiled code.
19841
4d90d6d0
DK
198422011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
19843
19844 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
19845
e1b90ef6
LL
198462011-05-24 Leo Liu <sdl.web@gmail.com>
19847
19848 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
19849 (vc-bzr-sha1): Adapt.
19850
d8e4b68b 19851 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
19852
19853 * bindings.el: Provide sha1 feature.
19854
db0406bb 198552011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
19856
19857 * mail/sendmail.el: Require `rfc2047'.
19858 (mail-insert-from-field): Do not perform RFC2047 encoding.
19859 (mail-encode-header): New function.
19860 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
19861 buffer to the return value of select-message-coding-system.
19862 Call mail-encode-header.
b8d747b9
KH
19863
19864 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
19865
db0406bb 198662011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 19867
4d90d6d0
DK
19868 * mail/supercite.el (sc-default-cite-frame):
19869 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 19870
eb8a5e9b
GM
198712011-05-24 Glenn Morris <rgm@gnu.org>
19872
f8630703
GM
19873 * progmodes/python.el (brm-menu): Declare.
19874
8831bbed
GM
19875 * emulation/viper.el (viper-set-hooks): Declare.
19876
eb8a5e9b
GM
19877 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
19878 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
19879 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
19880 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
19881 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
19882 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
19883
a2a25d24
SM
198842011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
19885
19886 Add an :exit-function for completion-at-point.
19887
19888 * minibuffer.el (completion--done): New fun.
19889 (completion--do-completion): Use it. New arg `expect-exact'.
19890 (minibuffer-complete, minibuffer-complete-word): Don't output message,
19891 since completion--do-completion does it for us now.
19892 (minibuffer-force-complete): Use completion--done and
19893 completion--replace. Handle sole-completion case with more care.
19894 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
19895 (completion-extra-properties): New var.
19896 (completion-annotate-function): Make obsolete.
19897 (minibuffer-completion-help): Adjust accordingly.
19898 Use completion-list-insert-choice-function.
19899 (completion-at-point, completion-help-at-point):
19900 Bind completion-extra-properties.
19901 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
19902 * simple.el (completion-list-insert-choice-function): New var.
19903 (completion-setup-function): Preserve it.
19904 (choose-completion): Pay attention to it, shuffle the code a bit.
19905 (choose-completion-string): New arg `insert-function'.
19906
19907 * textmodes/bibtex.el: Convert to lexical binding.
19908 (bibtex-mode-map): Use completion-at-point.
19909 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
19910 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
19911 (bibtex-complete): Define as obsolete alias.
19912 (bibtex-complete-internal): Remove.
19913 (bibtex-format-entry): Remove unused sub-group in regexp.
19914 * shell.el (shell--command-completion-data)
19915 (shell-environment-variable-completion):
19916 * pcomplete.el (pcomplete-completions-at-point):
19917 * comint.el (comint--complete-file-name-data): Use :exit-function
19918 instead of completion-table-with-terminator so it also works for
19919 choose-completion.
19920
e44e373d
SM
199212011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
19922
4f91a816
SM
19923 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
19924
782fc819
SM
19925 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
19926 (bug#8710).
19927
e44e373d
SM
19928 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
19929
381987c3
KM
199302011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
19931
19932 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
19933 customization variable and implement: If non-nil, auto-fill will
19934 be inhibited while on topic's header line.
19935
b776bc70
VB
199362011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
19937
19938 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 19939 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
19940 always have a solution in grid size = 5 cases.
19941 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
19942 (5x5-solver-output, 5x5-log-buffer): New vars.
19943 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
19944 Make these variables buffer local to achieve 5x5 multi-session-ness.
19945 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
19946 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
19947 (5x5-solve-suggest): New funs.
19948 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
19949 randomize a grid so that we ensure that there is always a solution.
19950 (5x5-make-random-grid): Allow other movement than flipping.
19951
7de88b6e
KR
199522011-05-23 Kevin Ryde <user42@zip.com.au>
19953
19954 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 19955 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
19956 advice and passes PREDICATE.
19957
b1ef1257
SM
199582011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
19959
bbca48fe
SM
19960 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
19961 byte-compile-lambda if it's actually a lambda.
19962
b1ef1257
SM
19963 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
19964 Fix function quoting. Use backquote better.
19965
92a9cc65
YS
199662011-05-22 Yuanle Song <sylecn@gmail.com>
19967
19968 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
19969 matching (Bug#8516).
19970
f0fb8059
JA
199712011-01-22 Jari Aalto <jari.aalto@cante.net>
19972
19973 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
19974 different face (Bug#8178).
19975
d5b44c93
CY
199762011-05-22 Chong Yidong <cyd@stupidchicken.com>
19977
19978 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
19979 defface (Bug#8144).
19980
79106a44
SM
199812011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
19982
9c848d8a
SM
19983 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
19984 funcall as well (bug#8712). Warn when performing those conversions.
19985 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
19986
79106a44
SM
19987 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
19988
88dfa756
GM
199892011-05-22 Glenn Morris <rgm@gnu.org>
19990
19991 * files.el (hack-local-variables-prop-line): Small simplifications.
19992 (hack-local-variables, hack-local-variables-prop-line):
19993 If MODE-ONLY, return the mode, rather than just `t'.
19994
b7cf2c79
SM
199952011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
19996
19997 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
19998
3f1a8558
GM
199992011-05-21 Glenn Morris <rgm@gnu.org>
20000
7e4ccca3
GM
20001 * files.el (hack-local-variables-prop-line, hack-local-variables):
20002 If only interested in the mode, don't bother doing the other stuff.
20003
637d46ca
GM
20004 * image-mode.el (image-after-revert-hook):
20005 Redraw all frames on which the image is visible. (Bug#8567)
20006
973d955b
GM
20007 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
20008
3f1a8558
GM
20009 * wid-edit.el (widget-checklist-match-inline):
20010 Fix 2011-04-19 change. (Bug#8649)
20011
96479927
SM
200122011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
20013
1dcf791f
SM
20014 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
20015 Also allow singlespace after single-letter capitals followed by a dot.
20016
96479927
SM
20017 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
20018 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
20019
35fd0881
N
200202011-05-20 Nix <nix@esperi.org.uk>
20021
20022 * files.el (basic-save-buffer-2):
20023 Fix handling of break-hardlink-on-save with non-existent files.
20024
82745640
DD
200252011-05-19 Deniz Dogan <deniz@dogan.se>
20026
20027 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 20028 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 20029
4a720484
GM
200302011-05-19 Glenn Morris <rgm@gnu.org>
20031
d1f21341
GM
20032 * progmodes/f90.el (f90-type-def-re):
20033 Handle "type, bind(c)". (Bug#8691)
20034
4a720484
GM
20035 * emacs-lisp/autoload.el (batch-update-autoloads):
20036 Set autoload-excludes by parsing loadup.el rather than Makefiles.
20037
2fb0a219
MA
200382011-05-18 Michael Albinus <michael.albinus@gmx.de>
20039
20040 * net/tramp.el (tramp-process-actions): Set "first-password-request"
20041 property for the correct connection in case of multihops.
20042
e565dd37
GM
200432011-05-18 Glenn Morris <rgm@gnu.org>
20044
c2571358 20045 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
20046 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
20047
e565dd37
GM
20048 Rationalize calendar handling of day and month abbrev-arrays.
20049 * calendar/calendar.el (calendar-customized-p): New function.
20050 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
20051 (calendar-day-name-array, calendar-month-name-array): Doc fix.
20052 Add :set function.
20053 (calendar-abbrev-length, calendar-day-abbrev-array)
20054 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
20055 (calendar-day-abbrev-array, calendar-month-abbrev-array):
20056 Elements may no longer be nil.
20057 (calendar-day-name, calendar-month-name):
20058 Update for changed nature of abbrev arrays.
20059 * calendar/diary-lib.el (diary-name-pattern):
20060 Update for changed nature of abbrev arrays.
20061 (diary-mark-entries-1): Update calendar-make-alist calls.
20062 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
20063 * calendar/cal-html.el (cal-html-day-abbrev-array):
20064 Simply inherit from calendar-day-abbrev-array.
20065
1d99a745
SM
200662011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
20067
20068 * progmodes/grep.el (grep-mode): Disable default
20069 compilation-directory-matcher setting (bug#8684).
20070
7c1d9aa0
MA
200712011-05-17 Michael Albinus <michael.albinus@gmx.de>
20072
20073 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
20074 instead of "head" and "tail". There were problems with SunOS 5.9,
20075 and it performs better.
20076
3952e9d8
GM
200772011-05-17 Glenn Morris <rgm@gnu.org>
20078
2dd12e7f
GM
20079 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
20080
e4157b9c
GM
20081 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
20082 Replace obsolete function.
20083
8e249bbd
GM
20084 * shell.el (pcomplete-parse-arguments-function): Declare.
20085
3952e9d8
GM
20086 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
20087 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
20088 (appt-check): Doc fixes.
20089 (appt-disp-window-function, appt-delete-window-function):
20090 Remove needless special case in custom :type.
20091 (appt-display-count): Default to 0, not nil.
20092 (appt-check): Reset appt-display-count to 0, not nil.
20093
c71a0d48 200942011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 20095
c71a0d48
GM
20096 * progmodes/python.el (python-font-lock-keywords):
20097 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 20098
31d55be9
SM
200992011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
20100
20101 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
20102
3bfacb2f
KR
201032011-05-16 Kevin Ryde <user42@zip.com.au>
20104
20105 * info-look.el (makefile-automake-mode): New setups, looking in
20106 automake manual, then makefile-mode.
20107 (makefile-mode): Remove automake manual, have it just in
20108 makefile-automake-mode since there's various things different or
20109 not relevant to plain make.
20110 (makefile-mode): Remove "other-modes" non-existent automake-mode,
20111 believe a hypothetical automake-mode would go to makefile-mode,
20112 not the other way around.
20113
c8e83751
CY
201142011-05-15 Chong Yidong <cyd@stupidchicken.com>
20115
5e9e35cd
CY
20116 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
20117 hunk-end tags (Bug#8672).
20118
c8e83751
CY
20119 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
20120 vc-annotate-show-diff-revision-at-line (Bug#8671).
20121
50b23e5a
GM
201222011-05-14 Glenn Morris <rgm@gnu.org>
20123
7210a739
GM
20124 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
20125 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
20126 (change-log-font-lock-keywords): Also handle multiple author lines
20127 with leading tabs. (Bug#8644)
7210a739 20128
4691905a
GM
20129 * calendar/appt.el (appt-check): Rename some local variables.
20130 Some simplification/reordering.
20131
50b23e5a
GM
20132 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
20133 (feedmail-sendmail-f-doesnt-sell-me-out)
20134 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
20135 (feedmail-debug-sit-for, feedmail-queue-express-hook)
20136 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
20137 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
20138 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
20139 (feedmail-binmail-gnulinuxish-template):
20140 Rename from feedmail-binmail-linuxish-template.
20141 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
20142 Use insert-buffer-substring.
20143
215cda7c
BC
201442011-05-14 Bill Carpenter <bill@carpenter.org>
20145
20146 * mail/feedmail.el (feedmail-patch-level): Increase.
20147 (feedmail-debug): New custom group.
20148 (feedmail-confirm-outgoing-timeout)
20149 (feedmail-sendmail-f-doesnt-sell-me-out)
20150 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
20151 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
20152 (feedmail-sender-line, feedmail-from-line)
20153 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 20154 (feedmail-spray-this-address)
215cda7c
BC
20155 (feedmail-spray-address-fiddle-plex-list)
20156 (feedmail-queue-use-send-time-for-date)
20157 (feedmail-queue-use-send-time-for-message-id)
20158 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
20159 (feedmail-buffer-eating-function):
20160 Doc fixes.
20161 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
20162 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
20163 (feedmail-message-action-scroll-down): New functions.
20164 (feedmail-queue-directory, feedmail-queue-draft-directory):
20165 Use expand-file-name.
20166 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
20167 Remove C-v help entry.
20168 (feedmail-queue-buffer-file-name): New variable.
20169 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
20170 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
20171 (feedmail-message-action-send-strong, feedmail-message-action-edit)
20172 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
20173 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
20174 (feedmail-message-action-toggle-spray)
20175 (feedmail-run-the-queue-no-prompts)
20176 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
20177 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
20178 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
20179 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
20180 (feedmail-envelope-deducer, feedmail-fiddle-from)
20181 (feedmail-fiddle-sender, feedmail-default-date-generator)
20182 (feedmail-fiddle-date, feedmail-fiddle-message-id)
20183 (feedmail-fiddle-spray-address)
20184 (feedmail-fiddle-list-of-spray-fiddle-plexes)
20185 (feedmail-fiddle-list-of-fiddle-plexes)
20186 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
20187 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
20188 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
20189 Change default. Doc fix.
20190 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
20191 (feedmail-binmail-linuxish-template): New constant.
20192 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
20193 Respect feedmail-sendmail-f-doesnt-sell-me-out.
20194 (feedmail-send-it): Add debug call.
20195 Use feedmail-queue-buffer-file-name, and
20196 feedmail-send-it-immediately-wrapper.
20197 (feedmail-message-action-send): Add debug call.
20198 Use feedmail-send-it-immediately-wrapper.
20199 (feedmail-queue-express-to-queue): Add debug call.
20200 Run feedmail-queue-express-hook.
20201 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
20202 (feedmail-message-action-help-blat):
20203 Rename from feedmail-queue-send-edit-prompt-help-first.
20204 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
20205 Check line-endings. Handle errors better.
20206 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
20207 Doc fix. Add debug call.
20208 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
20209 Use feedmail-queue-send-edit-prompt-inner.
20210 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
20211 (feedmail-queue-send-edit-prompt-inner): New function, extracted
20212 from feedmail-queue-send-edit-prompt.
20213 (feedmail-queue-send-edit-prompt-help)
20214 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
20215 (feedmail-tidy-up-slug): Add debug call.
20216 Respect feedmail-queue-slug-suspect-regexp.
20217 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
20218 (feedmail-dump-message-to-queue): Add debug call.
20219 Expand queue-directory.
20220 (feedmail-dump-message-to-queue): Change message slightly.
20221 Use feedmail-say-chatter.
20222 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
20223 (feedmail-send-it-immediately-wrapper): New function.
20224 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
20225 Insert empty string rather than newline. Handle full-frame case.
20226 Use catch/throw. Use feedmail-say-chatter.
20227 (feedmail-fiddle-from): Try mail-host-address.
20228 (feedmail-default-message-id-generator): Doc fix.
20229 Bind system-time-locale. Handle missing end.
20230 (feedmail-fiddle-x-mailer): Add debug call.
20231 Handle feedmail-x-mailer-line being nil.
20232 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
20233 Add debug call. Use buffer-substring-no-properties.
20234 (feedmail-say-debug, feedmail-say-chatter): New functions.
20235 (feedmail-find-eoh): Give an explicit error.
20236
42c7e61e
UJ
202372011-05-13 Ulf Jasper <ulf.jasper@web.de>
20238
c2571358 20239 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 20240 family from helvetica to sans.
c2571358 20241 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
20242 etc/images/newsticker.
20243
c2571358 20244 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
20245 family from helvetica to sans.
20246
20247 * net/newst-plainview.el (newsticker-new-item-face)
20248 (newsticker-old-item-face, newsticker-immortal-item-face)
20249 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 20250 (newsticker-statistics-face): Change default family from
42c7e61e 20251 helvetica to sans.
c2571358 20252 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
20253 etc/images/newsticker.
20254
5d3385a0
JB
20255 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
20256 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
20257 auto-marking.
20258
8497a297
DV
202592011-05-13 Didier Verna <didier@xemacs.org>
20260
20261 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
20262 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
20263 TODO entries.
8497a297
DV
20264 (lisp-lambda-list-keyword-parameter-indentation)
20265 (lisp-lambda-list-keyword-parameter-alignment)
20266 (lisp-lambda-list-keyword-alignment): New customizable user options.
20267 (lisp-indent-defun-method): Improve docstring.
20268 (extended-loop-p): Fix comment.
20269 (lisp-indent-lambda-list-keywords-regexp): New variable.
20270 (lisp-indent-lambda-list): New function.
20271 (lisp-indent-259): Use it.
20272 (lisp-indent-defmethod): Support for more than one
20273 method qualifier and properly indent methods lambda-lists.
20274 (defgeneric): Provide a missing common-lisp-indent-function property.
20275
f278f87f
SM
202762011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
20277
20278 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
20279 bounds for the empty string (bug#8667).
20280
5233edd7
GM
202812011-05-13 Glenn Morris <rgm@gnu.org>
20282
5237a44f
GM
20283 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
20284
8340026c 20285 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 20286 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 20287
5233edd7 20288 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 20289 (appt-time-msg-list): Doc fix.
a5464014 20290 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 20291
92d10796
AS
202922011-05-12 Andreas Schwab <schwab@linux-m68k.org>
20293
20294 * progmodes/ld-script.el (ld-script-keywords)
20295 (ld-script-builtins): Update keywords list.
20296
914a0ae1
SM
202972011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
20298
c89be45f
SM
20299 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
20300
914a0ae1
SM
20301 * shell.el (shell-completion-vars): New function.
20302 (shell-mode):
20303 * simple.el (read-shell-command): Use it.
20304 (blink-matching-open): No need for " [...]" in minibuffer-message.
20305
98dc3df3
GM
203062011-05-12 Glenn Morris <rgm@gnu.org>
20307
20308 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
20309 (appt-check): Simplify.
20310
d2fc7e3d 203112011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 20312
4d61f28d 20313 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
20314 literal "/dev/null".
20315
d2fc7e3d 203162011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
20317
20318 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
20319 Fix typo.
20320
d2fc7e3d 203212011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 20322
3f254caa
SM
20323 * progmodes/which-func.el (which-function):
20324 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
20325 which might not be defined (Bug#8260).
20326
d45885f7
GM
203272011-05-12 Glenn Morris <rgm@gnu.org>
20328
20329 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
20330 Let byte-compile-initial-macro-environment always take precedence.
20331
488086f4
SM
203322011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
20333
20334 * net/rcirc.el: Add support for SSL/TLS connections.
20335 (rcirc-server-alist): New field `encryption'.
20336 (rcirc): Check `encryption' settings.
20337 (rcirc-connect): New arg `encryption'. Use open-network-stream.
20338 Merge make-local-variable into `set'.
20339 (rcirc--connection-open-p): New function.
20340 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
20341 the process is not a network process (e.g. running gnutls-cli).
20342 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
20343 Make rcirc-(en|de)code-coding-system local here.
20344 (rcirc-mode): Merge make-local-variable into `set'.
20345 (rcirc-parent-buffer): Make permanent buffer-local.
20346 (rcirc-multiline-minor-mode): Don't do it here.
20347 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
20348 there's no server buffer.
20349
7d3b9d44
GM
203502011-05-11 Glenn Morris <rgm@gnu.org>
20351
f64049c6
GM
20352 * newcomment.el (comment-kill): Prefix "unused" local.
20353
93c9df73
GM
20354 * term/w32console.el (get-screen-color): Declare.
20355
7d3b9d44
GM
20356 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
20357 Handle symbol elements of byte-compile-initial-macro-environment.
20358
9e2dd53f
LL
203592011-05-10 Leo Liu <sdl.web@gmail.com>
20360
488086f4
SM
20361 * bookmark.el (bookmark-bmenu-mode-map):
20362 Bind bookmark-bmenu-search to `/'.
8b340240 20363
9e2dd53f 20364 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
20365 (footnote-unicode-string, footnote-unicode-regexp): New variable.
20366 (Footnote-unicode): New function.
20367 (footnote-style-alist): Add unicode style to the list.
20368 (footnote-style): Doc fix.
9e2dd53f 20369
79b70037
GM
203702011-05-10 Jim Meyering <meyering@redhat.com>
20371
20372 Fix doubled-word typos.
20373 * international/quail.el (quail-insert-kbd-layout): and and -> and
20374 * kermit.el: and and -> and
20375 * net/ldap.el (ldap-search-internal): to to -> to
20376 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
20377 * progmodes/js.el (js-mode): and and -> and
20378 * textmodes/artist.el (artist-move-to-xy): at at -> at
20379 (artist-draw-region-trim-line-endings): if if -> if
20380 And Safetyc -> Safety.
20381 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
20382
b8f82dc1 203832011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 20384 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
20385
20386 * files.el (hack-one-local-variable-eval-safep):
20387 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
20388
4f99f44b
GM
203892011-05-10 Glenn Morris <rgm@gnu.org>
20390
20391 * calendar/diary-lib.el (diary-list-entries-hook)
20392 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
20393 (diary-nongregorian-marking-hook, diary-list-entries)
20394 (diary-include-other-diary-files, diary-mark-entries)
20395 (diary-mark-included-diary-files): Doc fixes.
20396
84f29e6b
JB
203972011-05-09 Juanma Barranquero <lekktu@gmail.com>
20398
20399 * misc.el: Require tabulated-list.el during compilation.
20400
9bedd73a
CY
204012011-05-09 Chong Yidong <cyd@stupidchicken.com>
20402
488086f4
SM
20403 * progmodes/compile.el (compilation-start):
20404 Run compilation-filter-hook for the async case too.
9bedd73a
CY
20405 (compilation-filter-hook): Doc fix.
20406
797c735c
DD
204072011-05-09 Deniz Dogan <deniz@dogan.se>
20408
20409 * wdired.el: Remove outdated installation comment. Fix usage
20410 comment.
20411
5f4b1dfe
JB
204122011-05-09 Juanma Barranquero <lekktu@gmail.com>
20413
20414 * misc.el: Implement new command `list-dynamic-libraries'.
20415 (list-dynamic-libraries--loaded-only-p): New variable.
20416 (list-dynamic-libraries--refresh): New function.
20417 (list-dynamic-libraries): New command.
20418
4c44026c
CY
204192011-05-09 Chong Yidong <cyd@stupidchicken.com>
20420
488086f4
SM
20421 * progmodes/compile.el (compilation-error-regexp-alist-alist):
20422 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
20423 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
20424 higher priority to avoid clobbering by gnu.
20425
027f966d
CY
204262011-05-08 Chong Yidong <cyd@stupidchicken.com>
20427
20428 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
20429 if the face has existing theme settings (Bug#8454).
20430
085f5d7d
CY
204312011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
20432
488086f4
SM
20433 * progmodes/perl-mode.el (perl-imenu-generic-expression):
20434 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 20435
2a86a00c
RS
20436 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
20437 special file names `.' and `..' (Bug#8259).
20438
d9c54a06
CY
204392011-05-08 Chong Yidong <cyd@stupidchicken.com>
20440
488086f4
SM
20441 * progmodes/grep.el (grep-mode-font-lock-keywords):
20442 Remove buffer-changing entries.
d9c54a06
CY
20443 (grep-filter): New function.
20444 (grep-mode): Add it to compilation-filter-hook.
20445
20446 * progmodes/compile.el (compilation-filter-hook)
20447 (compilation-filter-start): New defvars.
20448 (compilation-filter): Call compilation-filter-hook prior to
20449 updating the process mark.
20450
c4662635
SM
204512011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
20452
20453 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
20454
b0512a1d
EZ
204552011-05-07 Eli Zaretskii <eliz@gnu.org>
20456
605c9376
EZ
20457 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
20458 mailclient-send-it even if window-system is nil. (Bug#8595)
20459
c4662635
SM
20460 * term/w32console.el (terminal-init-w32console):
20461 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
20462 background-mode. (Bug#8597)
20463
d1dc2cc2
SM
204642011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
20465
20466 Make bytecomp.el understand that defmethod defines funs (bug#8631).
20467 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
20468 New functions.
20469 (defgeneric, eieio--defmethod): Use them.
20470 (eieio-defgeneric): Remove.
20471 (defmethod): Call defgeneric in a way visible to the byte-compiler.
20472
915d1300
GM
204732011-05-07 Glenn Morris <rgm@gnu.org>
20474
a3961c3e
GM
20475 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
20476 Use let rather than let*.
20477 (timeclock-find-discrep): Remove unused local.
20478
314347b9
GM
20479 * calendar/diary-lib.el (diary-comment-start): Doc fix.
20480
915d1300
GM
20481 * calendar/appt.el (appt-time-msg-list): Doc fix.
20482
275b59b0
NF
204832011-05-06 Noah Friedman <friedman@splode.com>
20484
20485 * apropos.el (apropos-print-doc): Only use
20486 emacs-lisp-docstring-fill-column when it is bound to an integer,
20487 per that variable's documentation.
20488
6c19f744
SM
204892011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
20490
20491 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 20492 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 20493
60f884b2
GM
204942011-05-06 Glenn Morris <rgm@gnu.org>
20495
5006e634
GM
20496 * calendar/appt.el (appt-message-warning-time): Doc fix.
20497 (appt-warning-time-regexp): New option.
20498 (appt-make-list): Respect appt-message-warning-time.
20499
548d0a63
GM
20500 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
20501 New options.
20502 (diary-add-to-list): Strip comments from the displayed string.
20503 (diary-mode): Set comment-start and comment-end.
20504
60f884b2
GM
20505 * vc/diff-mode.el (smerge-refine-subst): Declare.
20506 (diff-refine-hunk): Don't require smerge-mode when compiling.
20507
989681bb
JB
205082011-05-06 Juanma Barranquero <lekktu@gmail.com>
20509
20510 * simple.el (list-processes): Return nil as the docstring says.
20511
a6bc05e1
MA
205122011-05-05 Michael Albinus <michael.albinus@gmx.de>
20513
20514 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
20515 to "".
20516 (ange-ftp-write-region, ange-ftp-insert-file-contents)
20517 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
20518 determining of binary transfer. (Bug#7383)
20519
23c22e9a
MA
205202011-05-05 Michael Albinus <michael.albinus@gmx.de>
20521
c4662635
SM
20522 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
20523 Fix port computation bug. (Bug#8618)
23c22e9a 20524
0bff894f
GM
205252011-05-05 Glenn Morris <rgm@gnu.org>
20526
b8296902
GM
20527 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
20528
1f522ce8
GM
20529 * simple.el (shell-dynamic-complete-functions)
20530 (comint-dynamic-complete-functions): Declare.
20531
cf5bee67
GM
20532 * net/network-stream.el (gnutls-negotiate):
20533 * simple.el (tabulated-list-print): Fix declarations.
20534
20535 * progmodes/gud.el (syntax-symbol, syntax-point):
20536 Remove unnecessary and incorrect declarations.
20537
0bff894f 20538 * emacs-lisp/check-declare.el (check-declare-scan):
1f9f395d 20539 Handle byte-compile-initial-macro-environment in bytecomp.el.
0bff894f 20540
9869b3ae
SM
205412011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
20542
20543 Fix earlier half-done eieio-defmethod change (bug#8338).
20544 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
20545 Streamline and change calling convention.
20546 (defmethod): Adjust accordingly and simplify.
20547 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
20548 new eieio--defmethod.
20549 (slot-boundp): Minor CSE simplification.
20550
9c1d5ac5
MZ
205512011-05-05 Milan Zamazal <pdm@zamazal.org>
20552
20553 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
20554 (glasses-make-readable): Use glasses-separate-capital-groups.
20555
455c834e
JB
205562011-05-05 Juanma Barranquero <lekktu@gmail.com>
20557
20558 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
20559 (warning-series): Doc fix.
20560 (display-warning): Don't try to create the buffer if we just found it.
20561
9ed7c8cb
CY
205622011-05-04 Chong Yidong <cyd@stupidchicken.com>
20563
20564 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
20565 (autoload-find-generated-file): New function.
20566 (generate-file-autoloads): Bind generated-autoload-file to
20567 buffer-file-name.
9869b3ae
SM
20568 (update-file-autoloads, update-directory-autoloads):
20569 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
20570 output file (Bug#7989).
20571 (batch-update-autoloads): Doc fix.
20572
0898ca10
JB
205732011-05-04 Juanma Barranquero <lekktu@gmail.com>
20574
20575 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
20576
31dfb76c
GM
205772011-05-04 Glenn Morris <rgm@gnu.org>
20578
f330b642
GM
20579 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
20580 function, so it follows changes in calendar-date-style.
20581 (diary-fancy-date-matcher): New function.
20582 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
20583 (diary-fancy-font-lock-fontify-region-function):
20584 Use diary-fancy-date-pattern as a function.
20585
31dfb76c
GM
20586 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
20587 non-numbers for `year' etc pseudo-variables. (Bug#8583)
20588
48e79d6a
TZ
205892011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
20590
20591 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
20592 instead of positional arguments. Allow :keylist and :crlfiles
20593 arguments.
20594 (open-gnutls-stream): Call it.
20595
20596 * net/network-stream.el (network-stream-open-starttls): Adjust to
20597 call `gnutls-negotiate' with :process and :hostname arguments.
20598
dd5a5ee0
SM
205992011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
20600
ef80fc09
SM
20601 * minibuffer.el (completion--message): New function.
20602 (completion--do-completion, minibuffer-complete)
20603 (minibuffer-force-complete, minibuffer-complete-word): Use it.
20604 (completion--do-completion): Don't ignore completion-auto-help when in
20605 icomplete-mode.
20606
dd5a5ee0
SM
20607 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
20608 internal encoding (e.g. tibetan zero is not whitespace).
20609 (global-whitespace-mode): Prefer save-current-buffer.
20610 (whitespace-trailing-regexp): Remove useless save-match-data.
20611 (whitespace-empty-at-bob-regexp): Minor simplification.
20612
b7d22a83
CY
206132011-05-03 Chong Yidong <cyd@stupidchicken.com>
20614
20615 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
20616
5192af46
AM
206172011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
20618
20619 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 20620 Use `concat' to create string for insertion.
5192af46 20621
5767d190
SM
206222011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
20623
20624 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
20625 Avoid open-line which runs post-self-insert-hook.
20626 (bibtex-fill-entry): Remove unused `end' var.
20627
bf242939
AM
206282011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
20629
5767d190
SM
20630 * textmodes/ispell.el (ispell-add-per-file-word-list):
20631 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 20632
25666126
LL
206332011-05-03 Leo Liu <sdl.web@gmail.com>
20634
20635 * isearch.el (isearch-yank-pop): New command.
5767d190 20636 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
20637 (isearch-forward): Mention it.
20638
52d3c2d0
SM
206392011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
20640
1bcace58
SM
20641 * simple.el (minibuffer-complete-shell-command): Remove.
20642 (minibuffer-local-shell-command-map): Use completion-at-point.
20643 (read-shell-command): Setup completion vars here instead.
20644 (read-expression-map): Bind TAB to symbol completion.
20645
52d3c2d0
SM
20646 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
20647 error directly rather via storing it into `results'.
20648
35813471
LL
206492011-05-02 Leo Liu <sdl.web@gmail.com>
20650
20651 * vc/diff.el: Fix description.
20652
e793a940
LMI
206532011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
20654
20655 * server.el (server-eval-at): New function.
20656
8de66e05
LMI
206572011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
20658
20659 * net/network-stream.el (open-network-stream): Take a :nowait
20660 parameter and pass it on to `make-network-process'.
20661 (network-stream-open-plain): Ditto.
20662
dcb79f20
AS
206632011-04-30 Andreas Schwab <schwab@linux-m68k.org>
20664
20665 * faces.el (face-spec-set-match-display): Don't match toolkit
20666 options on terminal frames.
20667
14a7fbd8
SM
206682011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
20669
7eabc1be
SM
20670 * progmodes/pascal.el: Use lexical binding.
20671 (pascal-mode-map): Remove author preferences.
20672
14a7fbd8
SM
20673 * pcomplete.el (pcomplete-std-complete): Don't abuse
20674 completion-at-point.
20675
50f84510
JB
206762011-04-28 Juanma Barranquero <lekktu@gmail.com>
20677
6e087a44
JB
20678 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
20679 removing code that has been dead since 1991 or so.
20680
50f84510
JB
20681 * startup.el (command-line): When warning about "_emacs", use a
20682 delayed warning to allow the user to filter it out.
20683
0ba690bd
DD
206842011-04-28 Deniz Dogan <deniz@dogan.se>
20685
20686 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
20687 user has not joined.
20688
08abfaad
SM
206892011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
20690
20691 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
20692 aren't any completions at point.
20693
638f053a
JB
206942011-04-28 Juanma Barranquero <lekktu@gmail.com>
20695
20696 * subr.el (display-delayed-warnings): New function.
20697 (delayed-warnings-hook): New variable.
20698
8fff8daa
SM
206992011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
20700
08abfaad
SM
20701 * minibuffer.el (completion-at-point, completion-help-at-point):
20702 Don't presume that a given completion-at-point-function will always
20703 use the same calling convention.
20704
8fff8daa
SM
20705 * pcomplete.el (pcomplete-completions-at-point):
20706 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
20707 pcomplete-seen is non-nil.
20708 (pcomplete-comint-setup): Also recognize the new comint/shell
20709 completion functions.
20710 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
20711 pcomplete-seen is non-nil.
20712
841a1577 207132011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 20714
841a1577 20715 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 20716 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 20717 the first character in the entry. This allows for code to add its
211ec907
UJ
20718 own uid to the entry.
20719 (icalendar--convert-float-to-ical): Add export of
20720 `diary-float'-entries save for those with the optional DAY
20721 argument.
20722
2a782793
DC
207232011-04-27 Daniel Colascione <dan.colascione@gmail.com>
20724
20725 * subr.el (shell-quote-argument): Use alternate escaping strategy
20726 when we spot a variable reference in a string.
20727
0438ce91
DC
207282011-04-26 Daniel Colascione <dan.colascione@gmail.com>
20729
20730 * cus-start.el (all): Define customization for debug-on-event.
20731
841a1577 207322011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
20733
20734 * subr.el (shell-quote-argument): Escape correctly under Windows.
20735
d090ed6c
SM
207362011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
20737
20738 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
20739
bfd31217
MA
207402011-04-25 Michael Albinus <michael.albinus@gmx.de>
20741
d090ed6c
SM
20742 * net/tramp.el (tramp-process-actions): Add POS argument.
20743 Delete region between POS and (pos).
bfd31217 20744
d090ed6c
SM
20745 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
20746 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
20747 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
20748
20749 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
20750 position in `tramp-process-actions' call.
20751
20752 * net/trampver.el: Update release number.
20753
e92f3bd3
SM
207542011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
20755
850256b5
SM
20756 * custom.el (defcustom): Obey lexical-binding.
20757
e92f3bd3
SM
20758 Fix octave-inf completion problems reported by Alexander Klimov.
20759 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
20760 Inherit from octave-mode-syntax-table.
20761 (inferior-octave-mode): Set info-lookup-mode.
20762 (inferior-octave-completion-at-point): New function.
20763 (inferior-octave-complete): Use it and completion-in-region.
20764 (inferior-octave-dynamic-complete-functions): Use it as well, and use
20765 comint-filename-completion.
20766 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
20767 symbol elements which shouldn't be word elements.
20768 (octave-font-lock-keywords, octave-beginning-of-defun)
20769 (octave-function-header-regexp): Adjust regexps accordingly.
20770 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
20771
cd22b309
JB
207722011-04-25 Juanma Barranquero <lekktu@gmail.com>
20773
20774 * net/gnutls.el (gnutls-errorp): Declare before first use.
20775
8b492194
TZ
207762011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
20777
20778 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
20779 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 20780 default trustfile exists before going to use it. Add missing
5a5fa834 20781 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
20782 Reported by Claudio Bley <claudio.bley@gmail.com>.
20783 (open-gnutls-stream): Add usage example.
20784
20785 * net/network-stream.el (network-stream-open-starttls): Give host
20786 parameter to `gnutls-negotiate'.
20787 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 20788 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 20789
841a1577 207902011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 20791
cd22b309
JB
20792 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
20793 Use correct match group (bug#8438).
05842630 20794
3ba7869c
CY
207952011-04-24 Chong Yidong <cyd@stupidchicken.com>
20796
512e3ae1
CY
20797 * emacs-lisp/package.el (package-built-in-p): Fix typo.
20798 (package-menu--generate): New arg specifying packages to show.
20799 (package-menu-refresh, package-menu-execute, list-packages):
20800 Callers changed.
20801 (package-show-package-list): New function, replacing deleted
20802 package--list-packages (renamed because it is non-internal).
20803
20804 * finder.el (finder-list-matches): Use package-show-package-list
20805 instead of deleted package--list-packages.
20806
e92f3bd3
SM
20807 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
20808 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
20809 (vc-annotate-mode-map): Bind it to RET.
20810
7031be6d
UR
208112011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
20812
20813 * progmodes/etags.el (next-file): Don't use set-buffer to change
20814 buffers (Bug#8478).
20815
4ef177aa
CY
208162011-04-24 Chong Yidong <cyd@stupidchicken.com>
20817
c8d173eb
CY
20818 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
20819
4ef177aa
CY
20820 * apropos.el (apropos-label-face): Avoid variable-pitch face.
20821 (apropos-accumulator): Doc fix.
20822 (apropos-function, apropos-macro, apropos-command)
20823 (apropos-variable, apropos-face, apropos-group, apropos-widget)
20824 (apropos-plist): Add face property.
20825 (apropos-symbols-internal): Fix indentation.
20826 (apropos-print): Simplify help, and recognize apropos-multi-type.
20827 (apropos-print-doc): Use button-type-get to extract the button's
20828 face property. Fill docstring (Bug#8352).
20829
4ffd0d6b 208302011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
20831
20832 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
20833
c6c32125 20834 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 20835 (mpuz-mode-map): Use mapc.
c6c32125
JB
20836 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
20837 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
20838 Fix typos in docstrings.
20839
58d468b4
JB
20840 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
20841 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
20842
6470c3c6
JB
20843 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
20844
4ffd0d6b 208452011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
20846
20847 * minibuffer.el (completion--do-completion): Avoid the "Next char
20848 not unique" prompt if icomplete-mode is enabled (Bug#5849).
20849
3ad8bad0
CY
20850 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
20851 mouse-2 into unread-command-events, it is interpreted correctly.
20852
71d73c9c 20853 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 20854 (image-toggle-display): Doc fix.
71d73c9c 20855
841a1577 208562011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 20857
4ffd0d6b
GM
20858 * textmodes/page.el (what-page): Use line-number-at-pos to
20859 calculate line number (Bug#6825).
6e1dbaa9 20860
c2fb1b60
JB
208612011-04-22 Juanma Barranquero <lekktu@gmail.com>
20862
20863 * eshell/esh-mode.el (find-tag-interactive): Declare function.
20864 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
20865 Pass argument NO-DEFAULT to `find-tag-interactive'.
20866
e02f48d7
JB
208672011-04-22 Juanma Barranquero <lekktu@gmail.com>
20868
20869 Lexical-binding cleanup.
20870
20871 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
20872 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
20873 * progmodes/ada-prj.el (ada-prj-initialize-values)
20874 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
20875 (ada-prj-show-value):
20876 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
20877 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
20878 (antlr-invalidate-context-cache, antlr-options-menu-filter)
20879 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
20880 * progmodes/bug-reference.el (bug-reference-push-button):
20881 * progmodes/fortran.el (fortran-line-length):
20882 * progmodes/glasses.el (glasses-change):
20883 * progmodes/octave-mod.el (octave-fill-paragraph):
20884 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
20885 (python-pdbtrack-grub-for-buffer, python-sentinel):
20886 * progmodes/sql.el (sql-save-connection):
20887 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
20888 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
20889 Mark unused parameters.
20890
20891 * progmodes/compile.el (compilation--flush-directory-cache)
20892 (compilation--flush-parse, compile-internal): Mark unused parameters.
20893 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
20894 (compilation-next-error-function): Remove unused variable `timestamp'.
20895
20896 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
20897 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
20898
20899 * progmodes/dcl-mode.el (dcl-end-of-command):
20900 Remove unused variable `start'.
20901 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
20902 (dcl-option-value-basic, dcl-option-value-offset)
20903 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
20904 Mark unused parameters.
20905 (dcl-save-local-variable): Remove unused variable `val'.
20906 (mode): Declare.
20907
20908 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
20909 Mark unused parameters.
20910 (delphi-ignore-changes): Move before first use.
20911 (delphi-charset-token-at): Remove unused variable `start'.
20912 (delphi-else-start): Remove unused variable `if-count'.
20913 (delphi-comment-block-start, delphi-comment-block-end):
20914 Remove unused variable `kind'.
20915 (delphi-indent-line): Remove unused variable `new-point'.
20916
20917 * progmodes/ebrowse.el (ebrowse-files-list)
20918 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
20919 Mark unused parameters. Don't quote `lambda'.
20920 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
20921 Don't quote `lambda'.
20922 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
20923 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
20924 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
20925 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
20926 Use `ignore-errors'.
20927 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
20928 (ebrowse-view/find-file-and-search-pattern)
20929 (ebrowse-view/find-member-declaration/definition):
20930 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
20931 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
20932 Rename parameter PREFIX-ARG to PREFIX.
20933 (ebrowse-tags-read-name): Remove unused variables `start' and
20934 `member-info'.
20935 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
20936 to `tags-file'.
20937
20938 * progmodes/etags.el (local-find-tag-hook): Declare.
20939 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
20940 Mark unused parameters.
20941
20942 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
20943 (executable-interpret): Mark unused parameter.
20944
20945 * progmodes/flymake.el (flymake-process-sentinel)
20946 (flymake-after-change-function)
20947 (flymake-create-temp-with-folder-structure)
20948 (flymake-get-include-dirs-dot): Mark unused parameters.
20949 (flymake-safe-delete-directory): Remove unused variable `err'.
20950
20951 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
20952 (speedbar-timer-fn, speedbar-line-text)
20953 (speedbar-change-expand-button-char, speedbar-delete-subblock)
20954 (speedbar-center-buffer-smartly): Declare functions.
20955 (gdb-find-watch-expression): Remove unused variable `array'.
20956 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
20957 (gdb-starting): Mark unused parameters.
20958 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
20959 (gdb-table-string): Remove unused variable `res'.
20960 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
20961 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
20962 (gdb-display-buffer): Remove unused variable `cur-size'.
20963
20964 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
20965 allow lexical-binding compilation.
20966 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
20967 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
20968 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
20969 Mark unused parameters.
20970 (gud-gdb-marker-filter): Remove unused variable `match'.
20971 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
20972 lambda expressions and funcall them, instead of using `fset'.
20973
20974 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
20975 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
20976
20977 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
20978 variable `header-beg'; use `let'.
20979
20980 * progmodes/icon.el (indent-icon-exp): Remove unused variables
20981 `restart', `last-sexp' and `at-do'.
20982
20983 * progmodes/js.el (js--debug): Mark unused parameter.
20984 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
20985 (js--splice-into-items): Remove unused variable `item'.
20986 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
20987
20988 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
20989 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
20990 (makefile-complete): Remove unused variable `try'.
20991 (makefile-fill-paragraph, makefile-match-function-end):
20992 Mark unused parameters.
20993
20994 * progmodes/octave-inf.el (inferior-octave-complete):
20995 Remove unused variable `proc'.
20996 (inferior-octave-output-digest): Mark unused parameter.
20997
20998 * progmodes/perl-mode.el (perl-calculate-indent):
20999 Remove unused variable `err'.
21000
21001 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
21002 (prolog-indent-line): Mark unused parameters.
21003 (prolog-indent-line): Remove unused variable `beg'.
21004
21005 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
21006 (reporter-dont-compact-list): Declare.
21007
21008 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
21009 Remove unused variable `char'.
21010 (sh-debug): Mark unused parameter.
21011 (sh-get-indent-info): Remove unused variable `start'.
21012 (sh-calculate-indent): Remove unused variable `var'.
21013
21014 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
21015 (simula-electric-keyword): Remove unused variable `null'.
21016 (simula-search-backward, simula-search-forward): Remove unused
21017 variables `begin' and `end'.
21018
21019 * progmodes/vera-mode.el (vera-guess-basic-syntax):
21020 Remove unused variable `pos'.
21021 (vera-electric-tab, vera-comment-uncomment-region):
21022 Mark unused parameters.
21023 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
21024
7ede3b65
CY
210252011-04-22 Chong Yidong <cyd@stupidchicken.com>
21026
21027 * emacs-lisp/package.el (package--builtins, package-alist)
21028 (package-load-descriptor, package-built-in-p, package-activate)
21029 (define-package, package-installed-p)
21030 (package-compute-transaction, package-buffer-info)
21031 (package--push): Doc fix. Distinguish more clearly between
21032 version strings and version lists.
21033
121656e9
JB
210342011-04-21 Juanma Barranquero <lekktu@gmail.com>
21035
21036 Lexical-binding cleanup.
21037
21038 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
21039 (5x5-make-mutate-best):
21040 * play/fortune.el (fortune-in-buffer):
21041 * play/gomoku.el (gomoku-init-display):
21042 * play/solitaire.el (solitaire, solitaire-do-check):
21043 * play/tetris.el (tetris-default-update-speed-function):
21044 Mark unused parameters.
21045
21046 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
21047 (bubbles--shift): Remove unused variable `char-org'.
21048 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
21049 (bubbles--show-images): Remove unused variable `char'.
21050
21051 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
21052 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
21053 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
21054 (decipher-analyze-buffer): Use ?\s.
21055 (decipher-make-checkpoint): Remove unused variable `mapping'.
21056
21057 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
21058
21059 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
21060 Remove unused variable `result'; use `let'.
21061
21062 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
21063 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
21064 (gametree-children-shown-p, gametree-compute-reduced-score):
21065 Use `ignore-errors'.
21066
21067 * play/handwrite.el (ps-lpr-switches): Declare.
21068 (handwrite): Remove unused variables `pmin' and `lastp'.
21069
21070 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
21071
21072 * play/landmark.el (landmark-init-display)
21073 (landmark-update-naught-weights): Mark unused parameters.
21074 (landmark-y): Remove unused variable `noise'. Simplify.
21075 (landmark-human-plays): Remove unused variable `score'.
21076
21077 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
21078 (mpuz-try-proposal): Remove unused variable `game'.
21079
21080 * play/zone.el (life-patterns): Declare.
21081
80f499c7
JB
210822011-04-20 Juanma Barranquero <lekktu@gmail.com>
21083
21084 * vc/vc.el (ediff-vc-internal): Declare function.
21085
024ff170
SM
210862011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
21087
c0a193ea
SM
21088 * shell.el: Use lexical-binding and std completion UI.
21089 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
21090 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
21091 comint-preoutput-filter-functions rather than on
21092 comint-output-filter-functions.
21093 (shell-command-completion, shell--command-completion-data)
21094 (shell-filename-completion, shell-environment-variable-completion)
21095 (shell-c-a-p-replace-by-expanded-directory): New functions.
21096 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
21097 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
21098 (shell-dynamic-complete-environment-variable): Use them.
21099 (shell-dynamic-complete-as-environment-variable)
21100 (shell-dynamic-complete-as-command): Remove.
21101 (shell-match-partial-variable): Match past point.
21102 * comint.el: Clean up use of completion-at-point-functions.
21103 (comint-completion-at-point): New function.
21104 (comint-mode): Use it completion-at-point-functions.
21105 (comint-dynamic-complete): Make it obsolete.
21106 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
21107 (comint-c-a-p-replace-by-expanded-history): New function.
21108 (comint-dynamic-complete-functions)
21109 (comint-replace-by-expanded-history): Use it.
21110 * minibuffer.el (completion-table-with-terminator): Allow dynamic
21111 termination strings. Try harder to avoid second try-completion.
21112 (completion-in-region-mode-map): Disable bindings that don't work yet.
21113
2dbaa080
SM
21114 * comint.el: Use lexical-binding. Require CL.
21115 (comint-dynamic-complete-functions): Use comint-filename-completion.
21116 (comint-completion-addsuffix): Tweak custom type.
21117 (comint-filename-completion, comint--common-suffix)
21118 (comint--common-quoted-suffix, comint--table-subvert)
21119 (comint--complete-file-name-data): New functions.
21120 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
21121 (comint-dynamic-list-filename-completions): Use them.
21122 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 21123
2dbaa080
SM
21124 * minibuffer.el (completion-in-region-mode):
21125 Keep completion-in-region-mode--predicate global.
21126 (completion-in-region--postch):
21127 Assume completion-in-region-mode--predicate is not null.
21128
c79a6f38
SM
21129 * progmodes/flymake.el (flymake-start-syntax-check-process):
21130 Obey `dir'. Simplify.
21131
024ff170
SM
21132 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
21133 we're in VC after all.
21134
1c6c854e
CS
211352011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
21136
21137 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 21138 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
21139 (vc-version-diff): Use vc-diff-build-argument-list-internal.
21140
bed7f140
SM
211412011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
21142
332e62ab
SM
21143 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
21144 add sanity check.
21145
bed7f140
SM
21146 * obsolete/erc-hecomplete.el: Make obsolete.
21147 * obsolete/: Standardize obsolescence info in the header.
21148
f195c582
GM
211492011-04-20 Glenn Morris <rgm@gnu.org>
21150
21151 * calendar/solar.el (solar-horizontal-coordinates):
21152 Use the longitude argument rather than `calendar-longitude'.
21153 (solar-date-next-longitude): Remove unused locals.
21154
cb79b8c0
VJL
211552011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
21156
21157 * whitespace.el: New version 13.2.1.
21158
211592011-04-20 felix <EmacsWiki> (tiny change)
21160
d8e4b68b 21161 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
21162 switching between major modes on a file.
21163
602ea69d
SM
211642011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
21165
21166 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
21167 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
21168 multi-line comments as well.
21169
06b60517
JB
211702011-04-19 Juanma Barranquero <lekktu@gmail.com>
21171
21172 Lexical-binding cleanup.
21173
21174 * arc-mode.el (archive-mode-revert):
21175 * cmuscheme.el (scheme-interactively-start-process):
21176 * custom.el (custom-initialize-delay):
21177 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
21178 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
21179 * emacs-lock.el (emacs-lock-clear-sentinel):
21180 * ezimage.el (defezimage):
21181 * follow.el (follow-avoid-tail-recenter):
21182 * fringe.el (set-fringe-mode-1):
21183 * generic-x.el (bat-generic-mode-compile):
21184 * help-mode.el (help-info-variable, help-do-xref)
21185 (help-mode-revert-buffer):
21186 * help.el (view-emacs-todo):
21187 * iswitchb.el (iswitchb-completion-help):
21188 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
21189 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
21190 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
21191 * locate.el (locate-update):
21192 * longlines.el (longlines-encode-region)
21193 (longlines-after-change-function):
21194 * outline.el (outline-isearch-open-invisible):
21195 * ps-def.el (declare-function, charset-dimension, char-width)
21196 (encode-char):
21197 * ps-mule.el (ps-mule-plot-string):
21198 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
21199 (recentf-edit-list-select, recentf-edit-list-validate)
21200 (recentf-open-files-action):
21201 * rect.el (delete-whitespace-rectangle-line)
21202 (rectangle-number-line-callback):
21203 * register.el (window-configuration-to-register)
21204 (frame-configuration-to-register):
21205 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
21206 * select.el (xselect-convert-to-string, xselect-convert-to-length)
21207 (xselect-convert-to-targets, xselect-convert-to-delete)
21208 (xselect-convert-to-filename, xselect-convert-to-charpos)
21209 (xselect-convert-to-lineno, xselect-convert-to-colno)
21210 (xselect-convert-to-os, xselect-convert-to-host)
21211 (xselect-convert-to-user, xselect-convert-to-class)
21212 (xselect-convert-to-name, xselect-convert-to-integer)
21213 (xselect-convert-to-atom, xselect-convert-to-identity):
21214 * subr.el (declare, ignore, process-kill-without-query)
21215 (text-clone-maintain):
21216 * terminal.el (te-get-char, te-tic-sentinel):
21217 * tool-bar.el (tool-bar-make-keymap):
21218 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
21219 * type-break.el (type-break-mode, type-break-noninteractive-query):
21220 * view.el (View-back-to-mark):
21221 * wid-browse.el (widget-browse-action, widget-browse-widget)
21222 (widget-browse-widgets, widget-browse-sexp):
21223 * widget.el (define-widget-keywords):
21224 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
21225 Mark unused parameters.
21226
21227 * align.el (align-adjust-col-for-rule): Mark unused parameter.
21228 (align-areas): Remove unused variable `look'.
21229 (align-region): Remove unused variables `real-end' and `pos-list'.
21230
21231 * apropos.el (apropos-score-doc): Remove unused variable `i'.
21232
21233 * bindings.el (mode-line-modified, mode-line-remote):
21234 Mark unused parameters.
21235 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
21236
21237 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
21238 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
21239
21240 * comint.el (comint-history-isearch-pop-state)
21241 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
21242 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
21243 (comint-substitute-in-file-name): Doc fix.
21244
21245 * completion.el (cmpl-statistics-block): Mark unused parameter.
21246 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
21247 (save-completions-to-file, load-completions-from-file):
21248 Remove unused local variable `e'.
21249
21250 * composite.el (compose-chars): Remove unused variable `len'.
21251 (lgstring-insert-glyph): Remove unused variable `g'.
21252 (compose-glyph-string): Remove unused variables `ascent',
21253 `descent', `lbearing' and `rbearing'.
21254 (compose-glyph-string-relative): Remove unused variables
21255 `lbearing', `rbearing' and `wadjust'.
21256 (compose-gstring-for-graphic): Remove unused variables `header',
21257 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
21258 (compose-gstring-for-terminal): Remove unused variables `header'
21259 and `nchars'. Use `let', not `let*'.
21260
21261 * cus-edit.el (Custom-set, Custom-save, custom-reset)
21262 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
21263 (Custom-buffer-done, custom-buffer-create-internal)
21264 (custom-browse-visibility-action, custom-browse-group-tag-action)
21265 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
21266 (widget-magic-mouse-down-action, custom-toggle-parent)
21267 (custom-add-parent-links, custom-toggle-hide-variable)
21268 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
21269 (custom-toggle-hide-face, face, hook, custom-group-link-action)
21270 (custom-face-menu-create, custom-variable-menu-create, get)
21271 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
21272 (custom-reset-standard-save-and-update): Remove unused variable `value'.
21273 (customize-apropos): Remove unused variable `tests'.
21274 (custom-group-value-create): Remove unused variable `hidden-p'.
21275 (sort-fold-case): Declare.
21276
21277 * cus-theme.el (custom-reset-standard-faces-list)
21278 (custom-reset-standard-variables-list): Declare.
21279 (customize-create-theme, custom-theme-revert, custom-theme-write)
21280 (custom-theme-choose-mode, customize-themes, custom-theme-save):
21281 Mark unused parameters.
21282
21283 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
21284
21285 * delim-col.el (delimit-columns-max): Move defvar before first use.
21286
21287 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 21288 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
21289
21290 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
21291 (auto-insert): Declare.
21292 (desktop-restore-file-buffer): Rename desktop-* parameters;
21293 mark unused ones.
21294 (desktop-create-buffer): Rename desktop-* parameters and bind them.
21295 (desktop-buffer): Rename desktop-* parameters.
21296
21297 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
21298 (dframe-reposition-frame-xemacs, dframe-help-echo)
21299 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
21300 Mark unused parameters.
21301
21302 * dired-aux.el (backup-extract-version-start, overwrite-query)
21303 (overwrite-backup-query, rename-regexp-query)
21304 (rename-non-directory-query): Declare.
21305 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
21306 (dired-add-entry): Remove unused variable `orig-file-name'.
21307 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
21308 Use parameter PRESERVE-TIME instead of accessing dynamic variable
21309 `dired-copy-preserve-time' directly.
21310 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
21311 (dired-insert-subdir-newpos): Rename unused variable `pos'.
21312
21313 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
21314 (dired-virtual-revert, dired-make-relative-symlink):
21315 Mark unused parameters.
21316 (manual-program): Declare.
21317 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
21318 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
21319 wrapped in `with-no-warnings' to avoid replacing one warning by another.
21320
21321 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
21322
21323 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
21324
21325 * echistory.el (electric-history-in-progress, Helper-return-blurb):
21326 Declare.
21327
21328 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
21329
21330 * electric.el (Electric-command-loop): Rename parameter
21331 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
21332
21333 * expand.el (expand-in-literal): Remove unused variable `here'.
21334
21335 * facemenu.el (facemenu-add-new-color):
21336 Remove unused variable `docstring'.
21337
21338 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
21339 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
21340 (face-attr-construct): Mark unused parameter. Doc fix.
21341 (read-color): Remove unused variable `hex-string'.
21342
21343 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
21344 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
21345 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
21346 (display-buffer-other-frame): Remove unused variable `old-window'.
21347 (kill-buffer-hook): Declare.
21348 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
21349 Mark unused parameters.
21350 (after-find-file): Pass 1 to `auto-save-mode', not t.
21351
21352 * files-x.el (auto-insert): Declare.
21353 (modify-file-local-variable-prop-line): Remove unused variable `val'.
21354
21355 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 21356 variable `buf'. Mark unused parameter.
06b60517
JB
21357 (find-lisp-insert-directory): Mark unused parameter.
21358
21359 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
21360 (format-encode-region): Remove unused variables `cur-buf' and `result'.
21361 (format-common-tail): Remove, unused.
21362 (format-deannotate-region): Remove unused variable `loc'.
21363 (format-annotate-region): Remove unused variable `p'.
21364 (format-annotate-single-property-change): Remove unused variables
21365 `default' and `tail'.
21366
21367 * forms.el (read-file-filter): Declare.
21368 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
21369
21370 * frame.el (frame-creation-function-alist): Mark unused parameter.
21371 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
21372
21373 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
21374 Remove unused parameters.
21375 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
21376 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
21377
21378 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
21379 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
21380 (hfy-prepare-tag-map): Mark unused parameters.
21381 (htmlfontify-buffer): Use `called-interactively-p'.
21382
21383 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
21384 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
21385 (ibuffer-do-occur): Mark unused parameters.
21386 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
21387 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
21388
21389 * ibuffer.el: Don't quote `lambda'.
21390 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
21391 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
21392 Mark unused parameters.
21393
21394 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
21395 (ido-completing-read): Mark unused parameters.
21396 (ido-copy-current-word): Mark unused parameters;
21397 remove unused variable `name'.
21398 (ido-sort-merged-list): Remove unused parameter `dirs'.
21399
21400 * ielm.el (ielm-input-sender): Mark unused parameter.
21401 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
21402 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
21403 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
21404 `ielm-string' as a dynamic variable accessible from the IELM prompt.
21405 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
21406
21407 * image-dired.el (image-dired-display-thumbs): Remove unused
21408 variables `curr-file' and `count'.
21409 (image-dired-remove-tag): Remove unused variable `start'.
21410 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
21411 variable `curr-file'
21412 (image-dired-rotate-original): Remove unused variable `temp-file'.
21413 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
21414 Remove unused variable `file'.
21415 (image-dired-gallery-generate): Remove unused variable `curr'.
21416 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
21417
21418 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
21419
21420 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
21421
21422 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
21423
21424 * isearch.el (minibuffer-history-symbol): Declare.
21425 (isearch-edit-string): Remove unused variable `err'.
21426 (isearch-message-prefix, isearch-message-suffix):
21427 Mark unused parameters.
21428
21429 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
21430
21431 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
21432
21433 * makesum.el (double-column): Remove unused variable `cnt'.
21434
21435 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
21436 (ido-ignore-item-temp-list): Declare.
21437
21438 * mouse-drag.el (mouse-drag-throw): Remove unused variables
21439 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
21440 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
21441 (mouse-drag-drag): Remove unused variables `mouse-delta' and
21442 `mouse-col-delta'.
21443
21444 * mouse-sel.el (mouse-extend-internal):
21445 Remove unused variable `orig-window-frame'.
21446
21447 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
21448 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
21449 Move declarations before first use.
21450 (pcomplete-opt): Mark unused parameters; doc fix.
21451
21452 * proced.el (proced-revert): Mark unused parameter.
21453 (proced-send-signal): Remove unused variable `err'.
21454
21455 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
21456 Rename parameter PREFIX-ARG to ARG.
21457 (ps-basic-plot-string, ps-basic-plot-whitespace):
21458 Mark unused parameters.
21459
21460 * replace.el (replace-count): Define.
21461 (occur-revert-function): Mark unused parameters.
21462 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
21463 (isearch-case-fold-search, isearch-string): Declare.
21464 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
21465 bind `case-fold-search'. Remove unused variables `beg' and `end',
21466 and simplify.
21467 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
21468 COUNT and bind `replace-count'.
21469 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
21470 to COUNT.
21471
21472 * savehist.el (print-readably, print-string-length): Declare.
21473
21474 * shadowfile.el (shadow-expand-cluster-in-file-name):
21475 Remove unused variable `cluster'.
21476 (shadow-copy-file): Remove unused variable `i'.
21477 (shadow-noquery, shadow-clusters, shadow-site-cluster)
21478 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
21479 (shadow-define-literal-group, shadow-define-regexp-group)
21480 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
21481
21482 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
21483 (shell): Use `called-interactively-p'.
21484 (shell-directory-tracker): Remove unused variable `chdir-failure'.
21485
21486 * simple.el (compilation-context-lines, comint-file-name-quote-list)
21487 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
21488 (delete-backward-char): Remove unused variable `ocol'.
21489 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
21490 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
21491 (event-apply-hyper-modifier, event-apply-shift-modifier)
21492 (event-apply-control-modifier, event-apply-meta-modifier):
21493 Mark unused parameters.
21494 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
21495 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
21496
21497 * speedbar.el (speedbar-ignored-directory-expressions)
21498 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
21499 (speedbar-find-file, speedbar-dir-follow)
21500 (speedbar-directory-buttons-follow, speedbar-tag-find)
21501 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
21502 (speedbar-buffers-line-directory, speedbar-buffer-click):
21503 Mark unused parameters.
21504 (speedbar-tag-file): Remove unused variable `mode'.
21505 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
21506
21507 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
21508
21509 * talk.el (talk): Remove unused variable `display'.
21510
21511 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
21512 (tar-write-region-annotate): Mark unused parameter.
21513
21514 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
21515 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
21516 Declare them, wrapped in `with-no-warnings' to avoid replacing one
21517 warning by another.
21518
21519 * time-stamp.el (time-stamp-string-preprocess):
21520 Remove unused variable `require-padding'.
21521
21522 * tree-widget.el (widget-glyph-enable): Declare.
21523 (tree-widget-action): Mark unused parameter.
21524
21525 * w32-fns.el (x-get-selection): Mark unused parameter.
21526 (autoload-make-program, generated-autoload-file): Declare.
21527
21528 * wdired.el (wdired-revert): Mark unused parameters.
21529 (wdired-xcase-word): Remove unused variable `err'.
21530
21531 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
21532 (whitespace-help-scroll): Remove unused variable `data-help'.
21533
21534 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
21535 (widget-image-insert, widget-after-change, default)
21536 (widget-default-format-handler, widget-default-notify)
21537 (widget-default-prompt-value, widget-info-link-action)
21538 (widget-url-link-action, widget-function-link-action)
21539 (widget-variable-link-action, widget-file-link-action)
21540 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
21541 (widget-field-prompt-internal, widget-field-action, widget-field-match)
21542 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
21543 (widget-insert-button-action, widget-delete-button-action, visibility)
21544 (widget-documentation-link-action, widget-documentation-string-action)
21545 (widget-const-prompt-value, widget-regexp-match, symbol)
21546 (widget-coding-system-prompt-value)
21547 (widget-key-sequence-value-to-external, sexp)
21548 (widget-sexp-value-to-internal, character, vector, cons)
21549 (widget-choice-prompt-value, widget-boolean-prompt-value)
21550 (widget-color--choose-action): Mark unused parameters.
21551 (widget-item-match-inline, widget-choice-match-inline)
21552 (widget-checklist-match, widget-checklist-match-inline)
21553 (widget-group-match): Rename parameter VALUES to VALS.
21554 (widget-field-value-set): Remove unused variable `size'.
21555 (widget-color-action): Remove unused variables `value' and `start'.
21556
21557 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 21558 variable `dir'. Doc fix.
06b60517
JB
21559 (windmove-find-other-window): Don't pass it.
21560
21561 * window.el (count-windows): Mark unused parameter.
21562 (bw-adjust-window): Remove unused variable `err'.
21563
21564 * woman.el (woman-file-name): Remove unused variable `default'.
21565 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
21566 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
21567 (global-font-lock-mode): Declare.
21568 (woman-decode-region): Mark unused parameter.
21569 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
21570
21571 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
21572 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
21573 (x-dnd-handle-moz-url): Remove unused variable `title'.
21574 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
21575
21576 * xml.el (xml-parse-tag, xml-parse-attlist):
21577 Remove unused variable `pos'.
21578
bc4f7f3d
GM
215792011-04-19 Glenn Morris <rgm@gnu.org>
21580
21581 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
21582 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
21583 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
21584 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
21585 * calendar/cal-html.el (cal-html-insert-minical):
21586 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
21587 (calendar-mark-date-pattern):
21588 Prefix "unused" locals.
21589
21590 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
21591 optional argument `style'.
21592
21593 * calendar/appt.el (appt-make-list):
21594 * calendar/cal-china.el (calendar-chinese-date-string):
21595 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
21596 (diary-hebrew-yahrzeit):
21597 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
21598 * calendar/calendar.el (calendar-generate-window):
21599 * calendar/time-date.el (time-to-days):
21600 Remove unused local variables.
21601
16a43933
CY
216022011-04-18 Chong Yidong <cyd@stupidchicken.com>
21603
21604 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
21605 glyphless-char-display table.
21606 (tabulated-list-glyphless-char-display): New var.
21607
7eed1860
SS
216082011-04-18 Sam Steingold <sds@gnu.org>
21609
21610 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
21611 to acknowledgments.
21612
4d2d1ccd
GM
216132011-04-17 Glenn Morris <rgm@gnu.org>
21614
21615 * calendar/diary-lib.el (diary-sexp-entry):
21616 * calendar/holidays.el (holiday-sexp):
21617 Set debug-on-error rather than the removed stack-trace-on-error.
21618
239da61d
GM
216192011-04-16 Glenn Morris <rgm@gnu.org>
21620
21621 * progmodes/f90.el: Use lexical-binding.
21622 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
21623
8b05752a
SM
216242011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
21625
daca8ba5
SM
21626 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
21627 (mail-mode): Setup mailalias completion here instead.
21628 * mail/mailalias.el: Use lexical-binding.
21629 (pattern, mailalias-done): Declare dynamic.
21630 (mail-completion-at-point-function): New function, from mail-complete.
21631 (mail-complete): Use it.
21632 (mail-completion-expand): New function.
21633 (mail-get-names): Use it.
21634 (mail-directory, mail-directory-process, mail-directory-stream):
21635 Don't use `pattern' for lexically bound arg.
21636
6f542485
SM
21637 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
21638
037e7c3f
SM
21639 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
21640 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
21641 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
21642
8b05752a
SM
21643 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
21644 (byte-save-window-excursion, byte-temp-output-buffer-setup)
21645 (byte-interactive-p): Define them again, for use when inlining
21646 old code.
21647
49093f60
JB
216482011-04-15 Juanma Barranquero <lekktu@gmail.com>
21649
21650 * loadup.el: Use `string-to-number', not `string-to-int'.
21651
b5b8e7de
SM
216522011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
21653
21654 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
21655 gud-gdb-complete-command.
21656 (gud-gdb-completions): New function, from gud-gdb-complete-command.
21657 (gud-gdb-completion-at-point): New function.
21658 (gud-gdb-completions): Remove.
21659
f42efeb5
MA
216602011-04-14 Michael Albinus <michael.albinus@gmx.de>
21661
49093f60
JB
21662 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
21663 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
21664 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
21665 whether `executable-find' is bound.
f42efeb5
MA
21666
21667 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
21668
e240cc21
SM
216692011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
21670
21671 * minibuffer.el (completion-in-region-mode-predicate)
21672 (completion-in-region-mode--predicate): New vars.
21673 (completion-in-region, completion-in-region--postch)
21674 (completion-in-region-mode): Use them.
21675 (completion--capf-wrapper): Also return the hook function.
21676 (completion-at-point, completion-help-at-point):
21677 Adjust and provide a predicate.
c2bd2ab0
SM
21678
21679 Preserve arg names for advice of subr and lexical functions (bug#8457).
21680 * help-fns.el (help-function-arglist): Consolidate the subr and
21681 new-byte-code cases. Add argument `preserve-names' to extract names
21682 from the docstring when needed.
21683 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
21684 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
21685 (ad-arglist): Use help-function-arglist's new arg.
21686 (ad-definition-type): Use cond.
21687
c183f693
JB
216882011-04-13 Juanma Barranquero <lekktu@gmail.com>
21689
06641a47
JB
21690 * autorevert.el (auto-revert-handler):
21691 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
21692 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
21693 Don't quote lambda.
21694
c183f693
JB
21695 * image-mode.el (image-transform-set-scale):
21696 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
21697
1e3b6001
G
216982011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
21699
21700 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 21701 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
21702 Upgrades via gnutls-cli are too slow to be done opportunistically.
21703
2d6af8dd
JB
217042011-04-12 Juanma Barranquero <lekktu@gmail.com>
21705
21706 * dframe.el (dframe-current-frame): Remove spurious quote.
21707
c0749a51
GM
217082011-04-12 Glenn Morris <rgm@gnu.org>
21709
088d0d61
GM
21710 * calendar/cal-tex.el (cal-tex-end-document):
21711 Try to automatically use latin1 input if needed.
21712
c0749a51
GM
21713 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
21714 Don't try to cons a mark onto an empty element.
21715
5c90fde0
LL
217162011-04-11 Leo Liu <sdl.web@gmail.com>
21717
21718 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
21719 buffers.
21720 (ido-kill-buffer-at-head): Support killing virtual buffers.
21721
369e974d
CY
217222011-04-10 Chong Yidong <cyd@stupidchicken.com>
21723
21724 * minibuffer.el (completion-show-inline-help): New var.
21725 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
21726 (minibuffer-force-complete, minibuffer-complete-word):
21727 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
21728
21729 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
21730 to avoid interference from inline help (Bug#5849).
21731
37f1c930
LL
217322011-04-10 Leo Liu <sdl.web@gmail.com>
21733
099c39a4
JB
21734 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
21735 Fix typo.
37f1c930 21736
a32d4040
CY
217372011-04-09 Chong Yidong <cyd@stupidchicken.com>
21738
21739 * image-mode.el (image-toggle-display-image): Signal an error if
21740 not in Image mode.
21741 (image-transform-mode, image-transform-resize)
21742 (image-transform-set-rotation): Doc fix.
daca8ba5 21743 (image-transform-set-resize): Delete.
a32d4040
CY
21744 (image-transform-set-scale, image-transform-fit-to-height)
21745 (image-transform-fit-to-width): Handle image-toggle-display-image
21746 and image-transform-resize directly.
21747
099c39a4 217482011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
21749
21750 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
21751 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
21752 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
21753 (doc-view-mode-map): Add bindings for the new functions.
21754
099c39a4 217552011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 21756
4d61f28d 21757 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
21758 Fix typo in docstring.
21759
3726838a
EZ
217602011-04-08 Eli Zaretskii <eliz@gnu.org>
21761
04f33f1e
EZ
21762 * files.el (file-size-human-readable): Produce one digit after
21763 decimal, like "ls -lh" does.
21764
21765 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
21766 the file size representation.
21767
3726838a
EZ
21768 * simple.el (list-processes): If async subprocesses are not
21769 available, error out with a clear error message.
21770
cbb59342
CY
217712011-04-08 Chong Yidong <cyd@stupidchicken.com>
21772
21773 * help.el (help-form-show): New function, to be called from C.
21774 Put help-form output in a buffer named differently than *Help*.
21775
e3971c44
EZ
217762011-04-08 Eli Zaretskii <eliz@gnu.org>
21777
21778 * files.el (file-size-human-readable): New function.
21779
21780 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
21781 computing the representation inline. Don't require `cl'.
21782
12544bbe
GM
217832011-04-08 Glenn Morris <rgm@gnu.org>
21784
a1de6c6a
GM
21785 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
21786
3c4671f4
GM
21787 * net/browse-url.el (browse-url-firefox):
21788 Test system-type, not system-configuration.
21789
b605679c
GM
21790 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
21791 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
21792 Use log-edit-empty-buffer-p. (Bug#7598)
21793
56442f0c
GM
21794 * net/rlogin.el (rlogin-process-connection-type): Simplify.
21795 (rlogin-mode-map): Initialize in the defvar.
21796 (rlogin): Use ignore-errors.
21797
12544bbe
GM
21798 * replace.el (occur-mode-map): Some fixes for menu items.
21799
eb237b0f
AH
218002011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
21801
21802 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
21803
7d668f2c
CY
218042011-04-06 Chong Yidong <cyd@stupidchicken.com>
21805
e67a13ab
CY
21806 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
21807 issuing unused warnings.
21808
21809 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
21810 macro directly.
21811
7d668f2c
CY
21812 * simple.el: Lisp reimplement of list-processes. Based on an
21813 earlier reimplementation by Leo Liu, but using tabulated-list.el.
21814 (process-menu-mode): New major mode.
21815 (list-processes--refresh, list-processes):
21816 (process-menu-visit-buffer): New functions.
21817
21818 * files.el (save-buffers-kill-emacs): Don't assume any return
21819 value of list-processes, which is undocumented anyway.
21820
a83ec3c9
CY
218212011-04-06 Chong Yidong <cyd@stupidchicken.com>
21822
21823 * emacs-lisp/tabulated-list.el: New file.
21824
e91a96fe
CY
21825 * emacs-lisp/package.el: Use Tabulated List mode.
21826 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
21827 (package-menu-mode): Derive from tabulated-list-mode. Set up the
21828 table format using Tabulated List mode variables.
21829 (package--push): New macro, replacing package-list-maybe-add.
21830 (package-menu--generate): Use package--push. Renamed from
21831 package--generate-package-list.
21832 (package-menu-refresh, list-packages): Use it.
daca8ba5 21833 (package-menu--print-info): Rename from package-print-package.
e91a96fe 21834 Return insertion data instead of inserting it directly.
099c39a4
JB
21835 (package-menu-describe-package, package-menu-execute):
21836 Use tabulated-list-get-id.
e91a96fe
CY
21837 (package-menu-mark-delete, package-menu-mark-install)
21838 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
21839 (package-menu-mark-obsolete-for-deletion):
21840 Use tabulated-list-put-tag.
e91a96fe
CY
21841 (package--list-packages, package-menu-revert)
21842 (package-menu-get-package, package-menu-get-version)
21843 (package-menu-sort-by-column): Functions deleted.
21844 (package-menu-package-list, package-menu-sort-key): Vars deleted.
21845 (package-menu--status-predicate, package-menu--version-predicate)
21846 (package-menu--name-predicate)
21847 (package-menu--description-predicate): Handle arguments in the
21848 Tabulated List format.
21849 (package-list-packages-no-fetch): Call list-packages.
21850
3e214b50
JB
218512011-04-06 Juanma Barranquero <lekktu@gmail.com>
21852
21853 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 21854 (after-find-file): Don't bind it.
3e214b50
JB
21855 (revert-buffer-in-progress-p): New variable.
21856 (revert-buffer): Bind it.
21857 Pass nil for `after-find-file-from-revert-buffer'.
21858
21859 * saveplace.el (save-place-find-file-hook): Use new variable
21860 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
21861
3f0f1700
GM
218622011-04-06 Glenn Morris <rgm@gnu.org>
21863
c0274801
GM
21864 * Makefile.in (AUTOGEN_VCS): New variable.
21865 (autoloads): Use $AUTOGEN_VCS.
21866
3f0f1700
GM
21867 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
21868 * calendar/calendar.el (calendar-mode-map):
21869 Check for toolkit scroll bars. (Bug#8305)
21870
41ea9e48
CY
218712011-04-05 Chong Yidong <cyd@stupidchicken.com>
21872
21873 * minibuffer.el (completion-in-region--postch)
21874 (completion-in-region-mode): Remove unnecessary messages.
21875
6194c800
JB
218762011-04-05 Juanma Barranquero <lekktu@gmail.com>
21877
33256f14
JB
21878 * font-lock.el (font-lock-refresh-defaults):
21879 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
21880 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
21881
6194c800
JB
21882 * info.el (Info-directory-list, Info-read-node-name-2)
21883 (Info-split-parameter-string): Doc fixes.
21884 (Info-virtual-nodes): Reflow docstring.
21885 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
21886 (Info-apropos-toc-nodes, info-finder, Info-get-token)
21887 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
21888 Fix typos in docstrings.
21889 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
21890 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
21891 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
21892 (Info-restore-desktop-buffer): Mark unused parameters.
21893 (Info-directory-find-file, Info-directory-find-node)
21894 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
21895 (Info-virtual-index-find-node, Info-apropos-find-file)
21896 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 21897 Mark unused parameters; fix typos in docstrings.
6194c800
JB
21898 (Info-virtual-index): Remove unused local variable `nodename'.
21899
b87a8200 219002011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 21901
b87a8200
DD
21902 * net/rcirc.el: Update my e-mail address.
21903 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 21904
3b2ff876
CY
219052011-04-05 Chong Yidong <cyd@stupidchicken.com>
21906
21907 * startup.el (command-line): Save the cursor's theme-face
21908 directly, instead of using face-override-spec.
21909
21910 * custom.el (load-theme): Minor optimization in assigning faces.
21911
8d17e7ca
JB
219122011-04-04 Juanma Barranquero <lekktu@gmail.com>
21913
21914 * help-fns.el (describe-variable): Complete all variables having
21915 documentation, including keywords.
21916 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
21917
2fbc1934
JB
219182011-04-04 Juanma Barranquero <lekktu@gmail.com>
21919
21920 Convert to lexical-binding.
21921
21922 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
21923 (bs--get-marked-string, bs--get-modified-string)
21924 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
21925 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
21926 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
21927
21928 * ehelp.el (electric-help-execute-extended)
21929 (electric-help-ctrl-x-prefix):
21930 * hexl.el (hexl-revert-buffer-function):
21931 * linum.el (linum-after-change, linum-after-scroll):
21932 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
21933
21934 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
21935
74f50695
DU
219362011-04-04 Daiki Ueno <ueno@unixuser.org>
21937
21938 * epa-dired.el:
21939 * epa-mail.el:
21940 * epa-hook.el:
21941 * epa-file.el:
21942 * epa.el:
21943 * epg.el: Use lexical binding.
21944
c11325f7
CY
219452011-04-03 Chong Yidong <cyd@stupidchicken.com>
21946
0d9e9a12
CY
21947 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
21948
c11325f7 21949 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
21950 dictionary case for flyspell-mark-duplications-exceptions.
21951 Use regexp matching for languages.
c11325f7
CY
21952 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
21953 default dictionary (Bug#7926).
21954
da91b5f2
CY
219552011-04-02 Chong Yidong <cyd@stupidchicken.com>
21956
099c39a4
JB
21957 * emacs-lisp/package.el (package--with-work-buffer):
21958 Recognize https URLs.
da91b5f2 21959
099c39a4
JB
21960 * net/network-stream.el: Move from gnus/proto-stream.el.
21961 Change prefix to network-stream throughout.
da91b5f2
CY
21962 (open-protocol-stream): Merge into open-network-stream, leaving
21963 open-protocol-stream as an alias. Handle nil BUFFER args.
21964
21965 * subr.el (open-network-stream): Move to net/network-stream.el.
21966
afa8e9f6
GM
219672011-04-02 Glenn Morris <rgm@gnu.org>
21968
1d2e369d
GM
21969 * find-dired.el (find-exec-terminator): New option.
21970 (find-ls-option): Test for -ls support.
21971 (find-ls-subdir-switches): Test for -b in find-ls-option.
21972 (find-dired, find-grep-dired): Doc fixes.
21973 (find-dired): Use find-exec-terminator.
21974
8abb7da8 21975 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
21976 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
21977 (find-name-arg): Remove purecopy.
8abb7da8 21978
f3ca7378
GM
21979 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
21980 (grep-compute-defaults): Check for `-exec COMMAND +' support.
21981 Set grep-find-use-xargs, grep-find-command, and grep-find-template
21982 accordingly. Don't add the null-device if not needed.
21983
afa8e9f6
GM
21984 * files.el (save-some-buffers): Doc fix.
21985
35eae264
EZ
219862011-04-02 Eli Zaretskii <eliz@gnu.org>
21987
21988 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
21989
26b51db5
JB
219902011-04-01 Juanma Barranquero <lekktu@gmail.com>
21991
21992 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
21993 Use `dolist' rather than `mapcar'.
21994
7200d79c
SM
219952011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
21996
03408648 21997 Add lexical binding.
7200d79c 21998
03408648
SM
21999 * subr.el (apply-partially): Use new closures rather than CL.
22000 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
22001 (dolist, dotimes): Use slightly different expansion for lexical code.
22002 (functionp): Move to C.
22003 (letrec): New macro.
22004 (with-wrapper-hook): Use it and apply-partially instead of CL.
22005 (eval-after-load): Preserve lexical-binding.
22006 (save-window-excursion, with-output-to-temp-buffer): Turn them
22007 into macros.
7200d79c 22008
03408648
SM
22009 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
22010
22011 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
22012 than the arglist.
22013 (help-add-fundoc-usage): Don't add `Not documented'.
22014 (help-function-arglist): Handle closures, subroutines, and new
22015 byte-code-functions.
22016 (help-make-usage): Remove leading underscores.
22017 (describe-function-1): Handle closures.
22018 (describe-variable): Use special-variable-p for completion.
22019
22020 * files.el (lexical-binding): Declare safe.
f488fb65 22021
03408648
SM
22022 * emacs-lisp/pcase.el: Don't use destructuring-bind.
22023 (pcase--memoize): Rename from pcase-memoize. Change weakness.
22024 (pcase): Add `let' pattern.
22025 Change memoization so it actually works.
22026 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
22027 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
22028 <let>: New case.
f488fb65 22029
03408648
SM
22030 * emacs-lisp/macroexp.el: Use lexical binding.
22031 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
22032 Don't convert ' to #' without checking that it's indeed quoting
22033 a lambda.
22034
22035 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 22036 Use eval-sexp-add-defvars.
03408648
SM
22037 (eval-sexp-add-defvars): New fun.
22038
22039 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
22040
22041 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
22042 Don't autoload.
22043 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
22044 than the internal `byte-compile-lambda'.
22045 (defmethod): Don't hide code under quotes.
22046 (eieio-defmethod): New `code' argument.
22047
22048 * emacs-lisp/eieio-comp.el: Remove.
22049
22050 * emacs-lisp/edebug.el (edebug-eval-defun)
22051 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
22052 (edebug-toggle): Avoid `eval'.
22053
22054 * emacs-lisp/disass.el (disassemble-internal): Handle new
22055 `closure' objects.
22056 (disassemble-1): Handle new byte codes.
22057
22058 * emacs-lisp/cl.el (pushnew): Silence warning.
22059
22060 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
22061 (cl-byte-compile-throw): Remove.
22062 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
22063
22064 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
22065 closures.
22066
22067 * emacs-lisp/cconv.el: New file.
22068
22069 * emacs-lisp/bytecomp.el: Use lexical binding instead of
22070 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
22071 (byte-compile-initial-macro-environment):
22072 Handle declare-function here.
22073 (byte-compile--lexical-environment): New var.
22074 (byte-stack-ref, byte-stack-set, byte-discardN)
22075 (byte-discardN-preserve-tos): New lap codes.
22076 (byte-interactive-p): Don't use any more.
22077 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
22078 New macros.
22079 (byte-compile-lapcode): Use them and handle new lap codes.
22080 (byte-compile-obsolete): Remove.
22081 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
22082 (byte-compile-arglist-warn): Check late def of inlinable funs.
22083 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
22084 since they should have been expanded by now.
22085 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
22086 (byte-compile-from-buffer): Remove unused second arg.
22087 (byte-compile-preprocess): New function.
22088 (byte-compile-toplevel-file-form): New function to distinguish
22089 file-form calls from outside from file-form calls from hunk-handlers.
22090 (byte-compile-file-form): Simplify.
22091 (byte-compile-file-form-defsubst): Remove.
22092 (byte-compile-file-form-defmumble): Simplify now that
22093 byte-compile-lambda always returns a byte-code-function.
22094 (byte-compile): Preprocess.
22095 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
22096 Remove, not used any more.
22097 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
22098 (byte-compile-make-args-desc): New funs.
22099 (byte-compile-lambda): Handle lexical functions. Always return
22100 a byte-code-function.
22101 (byte-compile-reserved-constants): New var, to make up room for
22102 closed-over variables.
22103 (byte-compile-constants-vector): Obey it.
22104 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
22105 (byte-compile-macroexpand-declare-function): New function.
22106 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
22107 byte-code-functions.
22108 (byte-compile-form): Check obsolescence here.
22109 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
22110 (byte-compile-variable-ref): Remove.
22111 (byte-compile-dynamic-variable-op): New fun.
22112 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
22113 (byte-compile-variable-set): New funs.
22114 (byte-compile-discard): Add 2 args.
22115 (byte-compile-stack-ref, byte-compile-stack-set)
22116 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
22117 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
22118 macroexpand-all instead.
22119 (byte-compile-quote-form): Remove.
22120 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
22121 (byte-compile-bind, byte-compile-unbind): New funs.
22122 (byte-compile-let): Handle let* and lexical binding.
22123 (byte-compile-let*): Remove.
22124 (byte-compile-catch, byte-compile-unwind-protect)
22125 (byte-compile-track-mouse, byte-compile-condition-case):
22126 Handle a new :fun-body form, used for lexical scoping.
22127 (byte-compile-save-window-excursion)
22128 (byte-compile-with-output-to-temp-buffer): Remove.
22129 (byte-compile-defun): Simplify.
22130 (byte-compile-stack-adjustment): New fun.
22131 (byte-compile-out): Use it.
22132 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
22133
22134 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
22135 handler any more.
22136
22137 * emacs-lisp/byte-opt.el: Use lexical binding.
22138 (byte-inline-lapcode): Remove (to bytecomp).
22139 (byte-compile-inline-expand): Pay attention to inlining to/from
22140 lexically bound code.
22141 (byte-compile-unfold-lambda): Don't handle byte-code-functions
22142 any more.
22143 (byte-optimize-form-code-walker): Don't handle save-window-excursion
22144 any more and don't call compiler-macros.
22145 (byte-compile-splice-in-already-compiled-code): Remove.
22146 (byte-code): Don't inline any more.
22147 (disassemble-offset): Receive `bytes' as argument rather than via
22148 dynamic scoping.
22149 (byte-compile-tag-number): Declare before first use.
22150 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
22151 `return' even if make-spliceable.
22152 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
22153 obsolete interactive-p.
22154 (byte-optimize-lapcode): Optimize new lap-codes.
22155 Don't trip up on new form of `byte-constant' lap code.
22156
22157 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
22158
22159 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
22160
22161 * custom.el (custom-initialize-default, custom-declare-variable):
22162 Use `defvar'.
22163
22164 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
22165 New variables.
22166 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
22167 (COMPILE_FIRST): Add macroexp and cconv.
22168 * makefile.w32-in: Mirror changes in Makefile.in.
22169
22170 * vc/cvs-status.el:
22171 * vc/diff-mode.el:
22172 * vc/log-edit.el:
22173 * vc/log-view.el:
22174 * vc/smerge-mode.el:
22175 * textmodes/bibtex-style.el:
090bd7cb 22176 * textmodes/css-mode.el:
03408648
SM
22177 * startup.el:
22178 * uniquify.el:
da91b5f2
CY
22179 * minibuffer.el:
22180 * newcomment.el:
22181 * reveal.el:
22182 * server.el:
22183 * mpc.el:
22184 * emacs-lisp/smie.el:
22185 * doc-view.el:
22186 * dired.el:
03408648
SM
22187 * abbrev.el: Use lexical binding.
22188
0f0c1f27
EZ
221892011-04-01 Eli Zaretskii <eliz@gnu.org>
22190
22191 * info.el (info-display-manual): New function.
22192
c82b2579
SM
221932011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
22194
22195 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
22196
221ddf68
TH
221972011-03-31 Tassilo Horn <tassilo@member.fsf.org>
22198
22199 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 22200 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 22201
cba6e77e
GM
222022011-03-31 Glenn Morris <rgm@gnu.org>
22203
e040639f
GM
22204 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
22205
cba6e77e
GM
22206 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
22207
6d0f1c9e
CS
222082011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
22209
22210 * progmodes/python.el (python-default-interpreter)
22211 (python-python-command-args, python-jython-command-args)
22212 (python-which-shell, python-which-args, python-which-bufname)
22213 (python-file-queue, python-comint-output-filter-function)
22214 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
22215 variables and functions.
22216
3e2d70fd
SM
222172011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
22218
22219 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
22220 (completion-in-region-mode): New minor mode.
22221 (completion-in-region): Use it.
22222 (completion-in-region--data, completion-in-region-mode-map): New vars.
22223 (completion-in-region--postch): New function.
22224 (completion--capf-misbehave-funs, completion--capf-safe-funs):
22225 New vars.
22226 (completion--capf-wrapper): New function.
22227 (completion-at-point): Use it to track well-behavedness of
22228 hook functions.
22229 (completion-help-at-point): New command.
22230
f3e4086c
JM
222312011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
22232
22233 * vc/add-log.el (add-change-log-entry): Don't use whitespace
22234 syntax class to search for whitespace on a single line
22235 (Message-ID: <4D938140.4030905@redhat.com>).
22236
eb7ffc14
LL
222372011-03-30 Leo Liu <sdl.web@gmail.com>
22238
22239 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
22240 New commands.
22241 (edit-abbrevs-map): Bind them here.
22242 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
22243
d806ab68
KM
222442011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
22245
22246 * allout.el (allout-hide-by-annotation, allout-flag-region):
22247 Reduce possibility of overlay leakage by making them volatile.
22248
22249 * allout-widgets.el (allout-widgets-tally): Define as nil so the
22250 hash is not shared between buffers. Mode initialization is
22251 responsible for giving it a useful starting value.
22252 (allout-item-span): Reduce possibility of overlay leakage by
22253 making them volatile.
22254 (allout-widgets-count-buttons-in-region): Add diagnostic function
22255 for tracking down button overlay leaks.
22256
ea622834
LL
222572011-03-29 Leo Liu <sdl.web@gmail.com>
22258
22259 * ido.el (ido-read-internal): Use the default history var
22260 minibuffer-history if no HISTORY is specified.
22261
b62f8267
G
222622011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
22263
03408648
SM
22264 * net/imap.el (imap-shell-open, imap-process-connection-type):
22265 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
22266 Kerberos, SSL, other subprocesses.
22267
947b6566
LL
222682011-03-28 Leo Liu <sdl.web@gmail.com>
22269
22270 * abbrev.el (abbrev-table-empty-p): New function.
22271 (prepare-abbrev-list-buffer): Place empty abbrev tables after
22272 nonempty ones. (Bug#5937)
22273
5ffb62aa
JD
222742011-03-27 Jan Djärv <jan.h.d@swipnet.se>
22275
22276 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
22277
7a097943
LL
222782011-03-27 Leo Liu <sdl.web@gmail.com>
22279
22280 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
22281 for foreground and background colors.
22282 (ansi-color-make-color-map): Adapt.
22283
c5b40130
LL
222842011-03-25 Leo Liu <sdl.web@gmail.com>
22285
1f48f7d2
LL
22286 * midnight.el (midnight-time-float): Remove. Note it calculates
22287 the microsecond component incorrectly and seconds-to-time does the
22288 same job.
625897ec 22289 Remove redundant (require 'timer).
1f48f7d2 22290
c5b40130
LL
22291 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
22292 (ido-completions): Remove unused arguments. (Bug#8329)
22293
d86d2721
SM
222942011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
22295
22296 * minibuffer.el (completion--flush-all-sorted-completions):
22297 Remove itself from hook.
22298 (completion-at-point): Let the functions perform the completion
22299 immediately and return nil or t.
22300 * comint.el (comint-dynamic-complete-functions): Now identical to
22301 completion-at-point-functions.
22302 (comint-dynamic-list-input-ring): Remove unused var `index'.
22303 (comint--match-partial-filename, comint--unquote&expand-filename):
22304 New funs, split from comint-match-partial-filename.
22305 (comint-dynamic-complete): Use completion-at-point.
22306 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
22307
e8974c48
DA
223082011-03-24 Drew Adams <drew.adams@oracle.com>
22309
22310 * thingatpt.el: Support `defun'.
22311
def71b5e
LL
223122011-03-23 Leo Liu <sdl.web@gmail.com>
22313
cb5af48e
LL
22314 * abbrevlist.el: Move to obsolete/abbrevlist.el.
22315
def71b5e
LL
22316 * help-mode.el (help-mode-finish): Tweak regexp.
22317
927c53e7
GM
223182011-03-23 Glenn Morris <rgm@gnu.org>
22319
18d05bed
GM
22320 * eshell/esh-opt.el (eshell-eval-using-options):
22321 Do not bind unused local variable `eshell-option-stub'.
22322
927c53e7
GM
22323 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
22324
9d0da923
JB
223252011-03-22 Juanma Barranquero <lekktu@gmail.com>
22326
22327 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
22328 keymap variable in `with-no-warnings' to avoid a warning when the
22329 keymap has been already `defconst'ed.
22330
4b978a67
LL
223312011-03-22 Leo Liu <sdl.web@gmail.com>
22332
22333 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
22334 encode all chars in abbrevs; otherwise use emacs-mule or
22335 utf-8-emacs. (Bug#8308)
22336
5fd62452
JB
223372011-03-22 Juanma Barranquero <lekktu@gmail.com>
22338
0b1596c6
JB
22339 * simple.el (backward-delete-char-untabify):
22340 Avoid warning about using `delete-backward-char'.
22341
5fd62452
JB
22342 * image.el (image-type-file-name-regexps): Make it variable.
22343 `imagemagick-register-types' modifies it, and the user may want
22344 to add new extensions for known image types.
22345 (imagemagick-register-types): Throw error if not using ImageMagick.
22346
0b4e93f1
LL
223472011-03-22 Leo Liu <sdl.web@gmail.com>
22348
22349 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
22350 located before rcirc-prompt-end-marker.
22351 (rcirc-complete): Error if point is not after rcirc prompt.
22352 Handle the case when table is nil.
9882e214 22353 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 22354
fccee4ab
CY
223552011-03-22 Chong Yidong <cyd@stupidchicken.com>
22356
22357 * custom.el (custom--inhibit-theme-enable): Make it affect only
22358 custom-theme-set-variables and custom-theme-set-faces.
22359 (provide-theme): Ignore custom--inhibit-theme-enable.
22360 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
22361 (custom-enabling-themes): Delete variable.
d86d2721
SM
22362 (enable-theme): Accept only loaded themes as arguments.
22363 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
22364 (custom-enabled-themes): Forbid themes from setting this.
22365 Eliminate use of custom-enabling-themes.
22366 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 22367
af896da6
LL
223682011-03-21 Leo Liu <sdl.web@gmail.com>
22369
22370 * ido.el (ido-read-internal): Add ido-selected to history instead
22371 of user input.
22372
78f64af0
SM
223732011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
22374
22375 * subr.el (deferred-action-list, deferred-action-function):
22376 Mark obsolete.
22377
b16ac1ec
LL
223782011-03-21 Leo Liu <sdl.web@gmail.com>
22379
810f7698
LL
22380 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
22381 change on 2011-02-13 (bug#8309).
22382
b16ac1ec
LL
22383 * minibuffer.el (read-file-name-function): Change default value.
22384 (read-file-name--defaults): Rename from read-file-name-defaults.
22385 (read-file-name-default): Rename from read-file-name.
22386 (read-file-name): Call read-file-name-function.
22387
4e05e67e
GM
223882011-03-21 Glenn Morris <rgm@gnu.org>
22389
22390 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
22391 Doc fixes.
22392
4359915b
CY
223932011-03-21 Chong Yidong <cyd@stupidchicken.com>
22394
22395 * cus-theme.el: Add missing provide statement.
22396 (customize-create-theme): Extract theme value correctly.
22397 (custom-theme-visit-theme): Autoload.
22398 (customize-create-theme): Prompt before inserting default faces.
22399
1fe275ee
JB
224002011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
22401
22402 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
22403 units and musical notes.
22404
cd394be1 224052011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
22406
22407 * ido.el (ido-read-internal): Use completing-read-default.
22408 (ido-completing-read): Fix compatibility with completing-read.
22409
7d476bde
CO
224102011-03-20 Christian Ohler <ohler@gnu.org>
22411
22412 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
22413 (ert-delete-all-tests): Use `called-interactively-p' rather than
22414 `interactive-p'.
22415 (ert--make-xrefs-region): Respect END.
22416
fe0fb33e
CY
224172011-03-19 Chong Yidong <cyd@stupidchicken.com>
22418
ff854b0b
CY
22419 * dired-aux.el (dired-create-directory): Signal an error if the
22420 directory already exists (Bug#8246).
22421
fe0fb33e
CY
22422 * facemenu.el (list-colors-display): Call list-faces-display
22423 inside with-help-window.
22424 (list-colors-print): Use display property to align the final
22425 column, instead of checking window-width.
22426
576bce32
EZ
224272011-03-19 Eli Zaretskii <eliz@gnu.org>
22428
4d61f28d 22429 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
22430 windows-nt systems.
22431 (emerge-protect-metachars): Quote correctly for ms-dos and
22432 windows-nt systems.
22433
89c41d68 224342011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
22435
22436 * info.el (info-initialize): Replace all uses of `:' with
22437 path-separator for compatibility with non-Unix systems.
22438 Cache quoting of path-separator. (Bug#8258)
22439
b14e3e21 224402011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
22441
22442 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
22443 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
22444 (mouse-avoidance-mode): Fix typos in docstrings.
22445
4525ce3e
CY
224462011-03-19 Chong Yidong <cyd@stupidchicken.com>
22447
22448 * startup.el (package-subdirectory-regexp): Move from package.el.
22449 Omit \\` and \\', and let callers add them.
22450
22451 * emacs-lisp/package.el (package-strip-version)
22452 (package-load-all-descriptors): Add \\` and \\' to
22453 package-subdirectory-regexp before using it.
22454 (package-untar-buffer): New arg DIR; ensure that file untars only
22455 into this expected directory. Remove superfluous delete-region.
22456 (package-unpack): Caller changed.
22457 (package-tar-file-info): Use package-subdirectory-regexp.
22458
a904a09a 224592011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 22460
a904a09a
SM
22461 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
22462 diff-mode-shared-map (bug#8284).
22463 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
22464
224652011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
22466
22467 * calendar/time-date.el (format-seconds): Use assoc instead of
22468 assoc-string, since assoc-string doesn't exist in XEmacs.
22469
171fc304
JB
224702011-03-17 Juanma Barranquero <lekktu@gmail.com>
22471
22472 * custom.el (custom-known-themes): Reflow docstring.
22473 (custom-theme-load-path): Fix typo in docstring.
22474 (load-theme): Fix typo in error message.
22475 (custom-available-themes, custom-variable-theme-value):
22476 Use `let', not `let*'.
22477
d71990a1
JB
224782011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
22479
22480 * calc/README: Mention inclusion of musical notes.
22481
22482 * calc/calc-units.el (calc-lu-quant): Rename from
22483 `calc-logunits-quantity'.
22484 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
22485 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
22486 (calc-db): Rename from `calc-dblevel'.
22487 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
22488 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
22489 (calc-np): Rename from `calc-nplevel'.
22490 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
22491 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
22492 (calc-lu-plus): Rename from `calc-logunits-add'.
22493 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
22494 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
22495 (calc-lu-minus): Rename from `calc-logunits-sub'.
22496 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
22497 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
22498 (calc-lu-times): Rename from `calc-logunits-mul'.
22499 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
22500 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
22501 (calc-lu-divide): Rename from `calc-logunits-div'.
22502 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
22503 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
22504
22505 * calc/calc-ext.el (calc-init-extensions): Update the names of the
22506 functions being autoloaded.
22507
22508 * calc/calc.el (calc-lu-power-reference): Rename from
22509 `calc-logunits-power-reference'.
22510 (calc-lu-field-reference): Rename from
22511 `calc-logunits-field-reference'.
22512
7a71b18d
GM
22513 * calc/calc-help.el (calc-l-prefix-help):
22514 Mention musical note functions.
d71990a1 22515
40c2934b
SM
225162011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
22517
22518 * minibuffer.el (completion-all-sorted-completions):
22519 Use :completion-cycle-penalty text property if present.
22520
b0911414
KM
225212011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
22522
22523 * allout.el (allout-yank-processing): Adjust for new rebulleting
22524 regime so bullet being yanked is used without prompting the user
22525 for a choice.
22526
8a05b668
JB
225272011-03-16 Juanma Barranquero <lekktu@gmail.com>
22528
22529 * startup.el (command-line): Warn the user that _emacs is deprecated.
22530
5ba5fb81
JB
225312011-03-16 Juanma Barranquero <lekktu@gmail.com>
22532
22533 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
22534 (delphi-verbose, delphi-comment-face, delphi-string-face)
22535 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
22536 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
22537 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
22538 (delphi-new-comment-line, delphi-font-lock-defaults)
22539 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
22540 Fix typos in docstrings.
22541
2dab465b
KM
225422011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
22543
5ba5fb81 22544 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
22545 Invert the roles of character and string values for INSTEAD, so a
22546 string is used for the more common case of a defaulting prompt.
22547
0adf5618
SM
225482011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
22549
22550 * progmodes/ruby-mode.el (ruby-backward-sexp):
22551 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
22552 * play/gamegrid.el (gamegrid-make-face):
22553 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
22554 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
22555 * notifications.el (notifications-notify):
22556 * net/xesam.el (xesam-search-engines):
22557 * net/quickurl.el (quickurl-list-insert):
22558 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
22559
d72700e5
CY
225602011-03-15 Chong Yidong <cyd@stupidchicken.com>
22561
22562 * startup.el (command-line): Update package subdirectory regexp.
22563
49c5410a
SM
225642011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
22565
c6eee9aa
SM
22566 * allout.el (allout-abbreviate-flattened-numbering)
22567 (allout-mode-deactivate-hook): Fix up obsolescence "date".
22568
49c5410a
SM
22569 * subr.el (read-char-choice): Only show the cursor after the prompt,
22570 not after the answer.
22571
047b2bb9
KR
225722011-03-15 Kevin Ryde <user42@zip.com.au>
22573
22574 * help-fns.el (variable-at-point): Skip leading quotes, if any
22575 (bug#8253).
22576
0a57d256
SM
225772011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
22578
22579 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
22580 warning message.
22581
77c992bc
MA
225822011-03-14 Michael Albinus <michael.albinus@gmx.de>
22583
22584 * shell.el (shell): When called interactively, offer to change the
22585 shell file name on remote hosts.
22586
eebc475d
TZ
225872011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
22588
22589 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
22590 integration for LDAP parameters. The host, base, user or binddn,
22591 and secret tokens can be specified in a netrc file, for instance.
22592 This is optional because an `auth-source' parameter must be
22593 specified in the search attributes.
22594
9d05d1ba
JB
225952011-03-13 Juanma Barranquero <lekktu@gmail.com>
22596
22597 * help.el (describe-mode): Link to the mode's definition (bug#8185).
22598
09d9db2c
GM
225992011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
22600
22601 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
22602 into declaration. Remove redundant and harmful binding.
22603
226042011-03-12 Eli Zaretskii <eliz@gnu.org>
22605
22606 * files.el (file-ownership-preserved-p): Pass `integer' as an
22607 explicit 2nd argument to `file-attributes'. If the file's owner
22608 is the Administrators group on Windows, and the current user is
22609 Administrator, consider that a match.
22610
22611 * server.el (server-ensure-safe-dir): Consider server directory
22612 safe on MS-Windows if its owner is the Administrators group while
22613 the current Emacs user is Administrator. Use `=' to compare
22614 numerical UIDs, since they could be integers or floats.
22615
219bd536
JB
226162011-03-12 Juanma Barranquero <lekktu@gmail.com>
22617
22618 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
22619
f3afd36b
MA
226202011-03-12 Michael Albinus <michael.albinus@gmx.de>
22621
22622 Sync with Tramp 2.2.1.
22623
22624 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
22625
22626 * net/trampver.el: Update release number.
22627
3aaaa6f1
SM
226282011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
22629
94642599
SM
22630 * progmodes/compile.el (compilation--previous-directory): Fix up
22631 various nil/dead-marker mismatches (bug#8014).
22632 (compilation-directory-properties, compilation-error-properties):
22633 Don't call it at a position past the one we're about to change.
22634
3aaaa6f1
SM
22635 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
22636 Disable obsolescence warnings in the file that declares it.
22637
14239447
KM
226382011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
22639
099c39a4
JB
22640 * allout-widgets.el (allout-widgets-tally):
22641 Initialize allout-widgets-tally as a hash table rather than nil to
22642 prevent mode-line redisplay warnings. Also, clarify the module
22643 description and fix a comment typo.
14239447 22644
135e287c
JB
226452011-03-11 Juanma Barranquero <lekktu@gmail.com>
22646
22647 * help-fns.el (describe-variable): Don't complete keywords.
22648 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
22649
ffbf300e
CY
226502011-03-10 Chong Yidong <cyd@stupidchicken.com>
22651
ba08b241
CY
22652 * emacs-lisp/package.el (package-version-join): Impose a standard
22653 string representation for pre/alpha/beta version lists.
22654 (package-unpack-single): Standardize the directory name by passing
22655 it through package-version-join.
22656 (package-strip-rcs-id): Accept any version string that does not
22657 signal an error in version-to-list.
ffbf300e 22658
f346fd6b
MA
226592011-03-10 Michael Albinus <michael.albinus@gmx.de>
22660
22661 * simple.el (delete-trailing-whitespace): Return nil for the
22662 benefit of `write-file-functions'.
22663
ccb55d27
GM
226642011-03-10 Glenn Morris <rgm@gnu.org>
22665
5ceaac0c
GM
22666 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
22667
02da65ff
GM
22668 * vc/vc-git.el (vc-git-program): New option.
22669 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
22670 (vc-git--call): Use it.
22671
b2f603cc
GM
22672 * eshell/esh-util.el (eshell-condition-case): Doc fix.
22673
5772caab
GM
22674 * cus-edit.el (Custom-newline): If no button at point, look
22675 for a subgroup button at start-of-line. (Bug#2298)
22676
ccb55d27
GM
22677 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
22678
ec6ecaed
JD
226792011-03-10 Julien Danjou <julien@danjou.info>
22680
22681 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
22682 `cursor-type' is nil.
22683
9d5aa01d
JB
226842011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
22685
22686 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
22687
b6a5875b
KM
226882011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
22689
7a71b18d 22690 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
22691 preserves the existing header prefix, rebulleting it if necessary,
22692 rather than replacing it. This is necessary for proper operation
22693 of cooperative addons like allout-widgets.
1154d12e
JB
22694 (allout-make-topic-prefix, allout-rebullet-heading):
22695 Change SOLICIT arg to INSTEAD, and interpret additionally a string
22696 value as alternate bullet to be used, instead of prompting the user
22697 for a bullet character.
b6a5875b 22698
ee545c35
MA
226992011-03-09 Michael Albinus <michael.albinus@gmx.de>
22700
d86d2721
SM
22701 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
22702 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
22703 `tramp-default-port'.
22704
c47971d7
DD
227052011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
22706
22707 * net/rcirc.el (rcirc-handler-001): Remove useless
22708 with-rcirc-process-buffer.
22709 (rcirc-check-auth-status): Swap arguments to string-match.
22710
13522cb4
GM
227112011-03-09 Glenn Morris <rgm@gnu.org>
22712
0be6f4f1
GM
22713 * shell.el (shell-mode):
22714 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
22715
13522cb4
GM
22716 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
22717 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
22718
515de2e3
CY
227192011-03-08 Chong Yidong <cyd@stupidchicken.com>
22720
22721 * emacs-lisp/package.el (package-refresh-contents)
22722 (package-menu-execute): Use condition-case-no-debug.
22723
b511b994
MA
227242011-03-08 Michael Albinus <michael.albinus@gmx.de>
22725
22726 * simple.el (shell-command-to-string): Use `process-file'.
22727
22728 * emacs-lisp/package.el (package-tar-file-info): Handle also
22729 remote files.
22730
d86d2721
SM
22731 * emacs-lisp/package-x.el (package-upload-buffer-internal):
22732 Use `equal' for upload base check.
b511b994 22733
25bbfb31
AM
227342011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
22735
22736 * textmodes/texinfo.el (texinfo-environments):
22737 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
22738
be996521
GM
227392011-03-08 Glenn Morris <rgm@gnu.org>
22740
e9c8529f
GM
22741 * cus-start.el (cursor-in-non-selected-windows):
22742 Fix :set quoting oddness. (Bug#8192)
22743
be996521
GM
22744 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
22745 in some setf expressions. (Bug#2159)
22746
2bb5649e
CY
227472011-03-08 Chong Yidong <cyd@stupidchicken.com>
22748
22749 * custom.el (custom-available-themes): Return themes in
22750 alphabetical order.
22751
33383987 22752See ChangeLog.15 for earlier changes.
e3d51b27
MR
22753
22754;; Local Variables:
22755;; coding: utf-8
e3d51b27
MR
22756;; End:
22757
acaf905b 22758 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
22759
22760 This file is part of GNU Emacs.
22761
22762 GNU Emacs is free software: you can redistribute it and/or modify
22763 it under the terms of the GNU General Public License as published by
22764 the Free Software Foundation, either version 3 of the License, or
22765 (at your option) any later version.
22766
22767 GNU Emacs is distributed in the hope that it will be useful,
22768 but WITHOUT ANY WARRANTY; without even the implied warranty of
22769 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22770 GNU General Public License for more details.
22771
22772 You should have received a copy of the GNU General Public License
22773 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.