ChangeLog 696 KB
Newer Older
1 2 3 4 5
2009-02-18  Martin Rudalics  <rudalics@gmx.at>

	* cus-edit.el (custom-group-value-create): Insert some
	informatory text in the WIDGET-misses-doc-string case.

6 7 8 9 10
2009-02-18  Sam Steingold  <sds@gnu.org>

	* progmodes/compile.el: Require comint at top level to fix the
	last patch.

11 12 13 14 15
2009-02-18  Martin Rudalics  <rudalics@gmx.at>

	* cus-edit.el (custom-group-value-create): Don't throw an error
	when WIDGET has no doc-string.  (Bug#2356)

16 17 18 19 20 21 22
2009-02-18  Juanma Barranquero  <lekktu@gmail.com>

	* progmodes/cc-menus.el (imenu-progress-message):
	Remove bogus cc-bytecomp-defun.
	(cc-imenu-objc-function): Don't call `imenu-progress-message'.
	Don't let-bind variable `stupid'.  (Bug#1638)

23 24 25 26 27 28
2009-02-18  Glenn Morris  <rgm@gnu.org>

	* mail/rmail.el (rmail-get-new-mail-filter-spam):
	* mail/rmail-spam-filter.el (rmail-spam-filter):
	Show a message rather than the raw mbox while prompting.

29 30 31 32
2009-02-18  Martin Rudalics  <rudalics@gmx.at>

	* progmodes/flymake.el (flymake): Add defgroup.  (Bug#2356)

33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70
2009-02-18  Glenn Morris  <rgm@gnu.org>

	* mail/rmail-spam-filter.el (rmail-summary-mode-map): Remove unneeded
	declaration.
	(top-level): No need for cl now.
	(rmail-spam-filter, rmail-use-spam-filter, rsf-file, rsf-no-blind-cc)
	(rsf-beep, rsf-sleep-after-message, rsf-min-region-to-spam-list)
	(rsf-autosave-newly-added-definitions, rsf-white-list)
	(rsf-definitions-alist, rsf-check-field, rsf-add-subject-to-spam-list)
	(rsf-add-sender-to-spam-list, rsf-add-region-to-spam-list)
	(rsf-customize-spam-definitions, rsf-customize-group)
	(rsf-custom-save-all, rsf-add-content-type-field): Doc fixes.
	(rsf-check-field): Use setcar and setcdr rather than setf.
	(rmail-spam-filter): Simplify.
	(rsf-add-subject-to-spam-list, rsf-add-sender-to-spam-list)
	(rsf-add-region-to-spam-list): Use rmail-get-header or
	buffer-substring-no-properties.  Regexp-quote the extracted data.
	Make the messages less verbose.
	(rmail-summary-mode-map, rmail-mode-map): Use easy-menu and dolist to
	simplify things.
	(rsf-add-content-type-field): Make the message less verbose.

	* mail/rmail.el (rmail-get-new-mail-1): Fix the spam beep test.
	(rmail-get-new-mail-filter-spam): Simplify.  Don't mess with
	rmail-deleted-vector.
	(rmail-insert-inbox-text, rmail-collect-deleted)
	(rmail-set-message-deleted-p, rmail-only-expunge)
	(rmail-make-in-reply-to-field): Replace ?\  with ?\s.
	(rmail-get-labels): Remove unused local `blurb'.
	(rmail-message-attr-p, rmail-message-unseen-p, rmail-message-labels-p)
	(rmail-msgend, rmail-msgbeg, rmail-message-deleted-p)
	(rmail-set-message-deleted-p): Doc fixes.

	* mail/rmailout.el (rmail-mbox-from): Move to mail-utils.
	Update callers for associated name change.
	* mail/mail-utils.el (mail-mbox-from): Move here from rmailout.el.
	* mail/unrmail.el (unrmail): Use mail-mbox-from.

71 72 73 74 75 76 77
2009-02-17  Richard M Stallman  <rms@gnu.org>

	* mail/rmailmsc.el (set-rmail-inbox-list): Doc fix.

	* mail/rmail.el (rmail-copy-headers): When copying full headers,
	correctly put point at the end.

78 79 80 81 82
2009-02-17  Sam Steingold  <sds@gnu.org>

	* progmodes/compile.el (compilation-filter): Call
	`comint-carriage-motion', just like `comint-output-filter'.

Jason Rumney's avatar
Jason Rumney committed
83 84 85 86 87
2009-02-17  Jason Rumney  <jasonr@gnu.org>

	* files.el (make-directory): Stop recursing if parent is
	self. (Bug#2309)

88 89
2009-02-17  Juanma Barranquero  <lekktu@gmail.com>

90 91
	* net/newst-treeview.el (newsticker--treeview-load): Remove bogus `if'.

92 93
	* progmodes/cc-menus.el (cc-imenu-objc-function): Doc fix.

Miles Bader's avatar
Miles Bader committed
94 95 96 97 98
2009-02-17  Miles Bader  <miles@gnu.org>

	* emacs-lisp/copyright.el (copyright-regexp): Tweaked to match
	copyright statements where the years follow the name.

99 100
2009-02-17  Glenn Morris  <rgm@gnu.org>

101 102 103
	* emacs-lisp/copyright.el (copyright-update-year): Don't let y-or-n-p
	move point.  (Bug#2209)

104 105 106 107
	* mail/rmailout.el (rmail-fields-not-to-output): Doc fix.
	(rmail-delete-unwanted-fields): Ignore case.  Use line-beg-pos.
	(rmail-output, rmail-output-as-seen): Change the "from-gnus" argument to
	"not-rmail", and make it work.  Simplify.
108 109 110
	(rmail-mbox-from): New function.
	(rmail-output-as-mbox): Use rmail-mbox-from.
	(rmail-output): Ensure a From line in the not-rmail Babyl case.
111 112 113 114

	* mail/rmail.el (rmail-get-attr-names): Give a warning rather than an
	error if the header is corrupt.

115 116 117 118 119
2009-02-16  Ulf Jasper  <ulf.jasper@web.de>

	* net/newst-treeview.el (newsticker--treeview-load): Offer
	deletion of old groups file.

Glenn Morris's avatar
Glenn Morris committed
120 121 122 123 124 125 126 127
2009-02-16  Glenn Morris  <rgm@gnu.org>

	* mail/rmailout.el (rmail-delete-unwanted-fields)
	(rmail-output-as-babyl, rmail-output-to-babyl-buffer)
	(rmail-convert-to-babyl-format, rmail-nuke-pinhead-header)
	(rmail-output-as-mbox, rmail-output-to-rmail-buffer, rmail-output)
	(rmail-output-as-seen, rmail-output-body-to-file): Doc fixes.

128 129 130 131 132 133 134 135
2009-02-15  Glenn Morris  <rgm@gnu.org>

	* mail/rmailsum.el (rmail-summary-output-as-seen): Doc fix.

	* mail/rmailout.el (rmail-output-decode-coding): Fix custom type, group.
	(rmail-output-as-babyl, rmail-output-to-babyl-buffer): Remove
	unnecessary use of with-no-warnings.
	(rmail-output-as-mbox, rmail-output-as-seen): Doc fix.
136 137
	(rmail-output-as-mbox): Start search from point-min.  If constructing a
	"From " line, prefer the date header over the current time.
138
	(rmail-update-summary): Move declaration earlier in file.
139

140 141 142 143 144
2009-02-15  Richard M Stallman  <rms@gnu.org>

	* mail/rmailedit.el (rmail-edit-diff-headers):
	Delete spurious reference to OLD.

145 146 147 148 149
2009-02-14  Stefan Monnier  <monnier@iro.umontreal.ca>

	* jit-lock.el (with-buffer-prepared-for-jit-lock): Swap the `let' and
	the `with-buffer-unmodified' to avoid useless `readlink' calls.

150 151 152 153 154 155 156 157 158 159 160
2009-02-14  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>

	* textmodes/bibtex.el (bibtex-global-key-alist)
	(bibtex-initialize): Exclude current buffer if it does not use
	bibtex-mode.
	(bibtex-parse-strings, bibtex-strings, bibtex-initialize)
	(bibtex-sort-buffer, bibtex-search-entry)
	(bibtex-prepare-new-entry, bibtex-clean-entry): Use functionp to
	test whether bibtex-strings and bibtex-reference-keys have their
	initial values.

161 162 163 164 165 166 167 168 169
2009-02-14  Eli Zaretskii  <eliz@gnu.org>

	* textmodes/ispell.el (ispell-insert-word): Use `with-no-warnings'
	around forms that refer to translation-table-for-input.

	* isearch.el (isearch-search-string): Use `with-no-warnings'
	around forms that refer to translation-table-for-input.

	* international/quail.el (quail-input-string-to-events)
170 171
	(quail-store-decode-map-key, quail-char-equal-p):
	Use `with-no-warnings' around forms that refer to
172 173 174 175 176 177 178
	translation-table-for-input.

	* simple.el (quoted-insert, zap-to-char): Use `with-no-warnings'
	around forms that refer to translation-table-for-input.

	* subr.el (translation-table-for-input): Declare obsolete again.

179 180 181 182 183 184 185 186 187 188 189
2009-02-14  Glenn Morris  <rgm@gnu.org>

	* mail/rmail.el (rmail): When reverting, swap buffers before setting
	counters.  (Bug#2229)
	(rmail-revert): Swap buffers before replacing contents.

2009-02-14  Ian Eure  <ian@digg.com>  (tiny change)

	* progmodes/sql.el (sql-product-alist, sql-connect-sqlite):
	Remove host, user, password options not applicable to SQlite. (Bug#1904)

190 191
2009-02-14  Richard M Stallman  <rms@gnu.org>

192 193 194 195 196 197 198 199
	* mail/rmailedit.el: Handle editing of header fields.
	(rmail-old-headers): New variable.
	(rmail-edit-current-message): Set it, recording current headers.
	(rmail-cease-edit): Compute new headers and diff against old ones.
	Update the mbox buffer with the changes that were made.
	(rmail-edit-headers-alist): New function.
	(rmail-edit-diff-headers, rmail-edit-update-headers): New functions.

200 201 202
	* mail/rmailout.el (rmail-output-body-to-file): Avoid space and colon
	in default file name.

203 204 205
	* mail/rmail.el (rmail-convert-file-maybe): Turn off case-fold-search.
	(rmail-add-mbox-headers): Likewise.

206 207 208 209 210 211
2009-02-13  Eli Zaretskii  <eliz@gnu.org>

	* files.el (load-library): Doc fix.

	* subr.el (locate-library): Doc fix.  (Bug#2291)

Alan Mackenzie's avatar
Alan Mackenzie committed
212 213 214 215 216
2009-02-13  Alan Mackenzie  <acm@muc.de>

	* progmodes/cc-cmds.el (c-defun-name): Widen, to allow it to work
	in narrowed buffers.

Kenichi Handa's avatar
Kenichi Handa committed
217 218 219 220 221 222 223 224 225 226
2009-02-13  Kenichi Handa  <handa@m17n.org>

	* international/titdic-cnv.el (tit-process-header): Use
	buffer-substring-no-properties instead of buffer-substring.
	(tit-process-body): Likewise.
	(tsang-quick-converter): Handle superfluous CR at eol.
	(py-converter): Use buffer-substring-no-properties instead of
	buffer-substring.  Handle superfluous CR at eol.
	(ziranma-converter): Likewise
	(ctlau-converter): Likewise.
Juanma Barranquero's avatar
Juanma Barranquero committed
227
	(miscdic-convert): Read a file without eol conversion.  (Bug#2307)
Kenichi Handa's avatar
Kenichi Handa committed
228

229 230 231 232
2009-02-13  Juanma Barranquero  <lekktu@gmail.com>

	* minibuffer.el (internal-complete-buffer-except): Doc fix.  (Bug#2315)

233 234
2009-02-13  Glenn Morris  <rgm@gnu.org>

235 236 237 238 239 240 241 242 243 244
	* mail/rmail.el (rmail-show-message-1): New name for the old
	rmail-show-message.
	* mail/rmail.el, mail/rmailkwd.el, mail/rmailmsc.el, mail/rmailout.el:
	* mail/rmailsort.el: Update for rmail-show-message name change.

	* mail/rmail.el (rmail-show-message): New name for the old
	rmail-show-message-maybe.
	* mail/rmail.el, mail/rmailsum.el: Update for rmail-show-message-maybe
	name change.

245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266
	* mail/rmailsum.el (msgnum): Remove declaration.
	(rmail-summary-redo): Add missing initialization value.
	(rmail-summary-overlay, rmail-summary-mode-map): Add doc string.
	(rmail-summary-mark-deleted, rmail-summary-deleted-p):
	Fix skip-chars-forward calls.
	(rmail-summary-mark-seen): New function.  As well as removing the '-'
	mark, update the summary-vector.  (Bug#2135)
	(rmail-summary-rmail-update, rmail-summary-goto-msg):
	Use rmail-summary-mark-seen.

	* mail/rmail.el (rmail-summary-vector, rmail-mode-map): Add doc string.

	* mail/unrmail.el (unrmail): When getting message keywords, don't
	include a leading space, but do include the space after the separating
	comma.  (Bug#2303)

	* mail/rmail.el (rmail-set-header-1): If VALUE is nil, remove the
	header altogether.
	(rmail-set-header): Doc fix.
	* mail/rmailkwd.el (rmail-set-label): Delete the keyword header if all
	labels are removed.  (Bug#2302)

267 268 269 270 271 272 273 274
2009-02-12  Juri Linkov  <juri@jurta.org>

	* image-mode.el (image-toggle-display):
	Let-bind `buffer-file-truename' to nil around the call to
	`add-text-properties' to prevent directory time modification
	by lock_file.  Replace `set-buffer-modified-p' with
	`restore-buffer-modified-p'.  (Bug#2295)

275 276
2009-02-12  Stefan Monnier  <monnier@iro.umontreal.ca>

277
	* progmodes/python.el (python-use-skeletons): Re-add.
Juanma Barranquero's avatar
Juanma Barranquero committed
278
	(def-python-skeleton): Use it.  (Bug#2238)
279

280 281 282 283
	* international/quail.el (quail-make-guidance-frame): Remove the
	`parent-id' parameter.
	(quail-show-guidance): Make the new window dedicated.

284 285 286 287 288
2009-02-12  Juanma Barranquero  <lekktu@gmail.com>

	* international/characters.el (?1, ?2, ?3, ?4, ?7, ?^):
	Fix typos in docstrings.

Alan Mackenzie's avatar
Alan Mackenzie committed
289 290 291
2009-02-12  Alan Mackenzie  <acm@muc.de>

	* progmodes/cc-defs.el (c-emacs-features): Crash-fix: change `='
Juanma Barranquero's avatar
Juanma Barranquero committed
292
	to `eq'.  (Bug#2304)
Alan Mackenzie's avatar
Alan Mackenzie committed
293

294 295 296 297 298
2009-02-12  Glenn Morris  <rgm@gnu.org>

	* mail/rmailkwd.el (rmail-set-label): Fix the test for a label being
	already present.  (Bug#2210)

299 300 301 302 303 304 305 306
2009-02-12  Kenichi Handa  <handa@m17n.org>

	* international/characters.el (?.): New character category for
	Base characters.  Set them in the standard category table.

	* composite.el: Use "\\c." instead of "[[:alpha:]]" to match with
	a base character.

307 308
2009-02-12  Stefan Monnier  <monnier@iro.umontreal.ca>

309 310 311
	* isearch.el (isearch-yank-char-in-minibuffer)
	(isearch-other-meta-char): Use with-current-buffer.

312
	* progmodes/verilog-mode.el (verilog-mode): Avoid circular use of
Juanma Barranquero's avatar
Juanma Barranquero committed
313
	syntax-ppss.  (Bug#1243)
314

315 316 317
	* emacs-lisp/lisp.el (end-of-defun): Rewrite, to use the ARG argument
	to beginning-of-defun-raw.

318 319 320
	* emacs-lisp/lisp.el (end-of-defun): Don't skip to next line after
	calling end-of-defun-function if it already moved to BOL.

321 322 323 324 325
2009-02-12  Richard M Stallman  <rms@gnu.org>

	* mail/rmail.el (rmail-show-message-verbose-min): New option.
	(rmail-show-message): Conditionally show start and finish in echo area.

326 327 328 329 330 331 332 333 334 335
2009-02-12  Glenn Morris  <rgm@gnu.org>

	* mail/rmailsum.el (rmail-get-summary-labels): Store any message labels
	for use in completion.
	* mail/rmailkwd.el (rmail-read-label): Don't scan for labels if the
	summary exists, since it's already done.

	* mail/rmail.el (rmail-unix-mail-delimiter): Doc fix.
	(rmail-enable-multibyte): Don't really define, only for compiler.

336 337 338 339 340
2009-02-12  Stefan Monnier  <monnier@iro.umontreal.ca>

	* files.el (read-buffer-to-switch):
	Add table to icomplete-with-completion-tables.

341 342 343 344 345
2009-02-11  Chong Yidong  <cyd@stupidchicken.com>

	* dired-aux.el (dired-add-entry): Avoid munging long-form Dired
	switches (Bug#2261).

346 347
2009-02-11  Juanma Barranquero  <lekktu@gmail.com>

348 349
	* server.el (server-with-environment): Don't fail for negative
	entries in ENV.
350 351

2009-02-11  Dan Nicolaescu  <dann@ics.uci.edu>
352 353 354 355 356 357 358

	* vc-dir.el (vc-dir-filename-mouse-map): Rename from vc-dir-mouse-map.
	(vc-default-dir-printer): Add a comment about updating this function.

	* vc-git.el (vc-git-dir-printer): Use vc-dir-filename-mouse-map
	for the file name.

359 360 361 362 363 364 365 366 367 368
2009-02-11  Glenn Morris  <rgm@gnu.org>

	* calendar/calendar.el (calendar-window-list): Ignore invisible windows.
	(calendar-set-mode-line): Fall back to a default width if we seem to be
	called from daemon.  (Bug#2199)

	* mail/rmailkwd.el (rmail-make-label): Doc fix.
	(rmail-read-label): Add current labels to completion list.  (Bug#2222)
	(rmail-set-label): Use `or'.

369 370
2009-02-11  Chong Yidong  <cyd@stupidchicken.com>

371 372
	* emacs-lisp/find-func.el (find-library-name, find-library):
	Doc fixes.  (Part of bug#2270)
373

Juanma Barranquero's avatar
Juanma Barranquero committed
374
2009-02-10  Eric Hanchrow  <eric.hanchrow@gmail.com>  (tiny change)
375 376 377 378

	* env.el (getenv): When FRAME is non-nil, pass the frame environment
	to `getenv-internal', not the frame.  (Bug#2259)

Kenichi Handa's avatar
Kenichi Handa committed
379 380 381 382
2009-02-10  Kenichi Handa  <handa@m17n.org>

	* descr-text.el (describe-char-display): On terminal, if terminal
	coding system is nil, assume us-ascii.
Juanma Barranquero's avatar
Juanma Barranquero committed
383
	(describe-char): Don't show the composition information if it is
Kenichi Handa's avatar
Kenichi Handa committed
384 385
	trivial.

386 387 388 389 390 391 392 393 394
2009-02-10  Nick Roberts  <nickrob@snap.net.nz>

	* vc-svn.el (vc-svn-after-dir-status): Use shy group for revision
	number as it isn't present for unregistered files.

	* vc-dir.el (vc-dir-find-file-other-window): Allow mouse events.
	(vc-dir-mouse-map): New keymap.
	(vc-default-dir-printer): Use it locally.

Glenn Morris's avatar
Glenn Morris committed
395 396
2009-02-10  Glenn Morris  <rgm@gnu.org>

397 398
	* speedbar.el: Avoid messing up font-lock-global-modes.

399 400 401
	* mail/mail-utils.el (mail-use-rfc822): Remove * from defcustom doc.
	(mail-file-babyl-p): Use with-temp-buffer.

Glenn Morris's avatar
Glenn Morris committed
402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423
	* mail/rmailsort.el: Just require rmail.

	* mail/rmailedit.el: Just require rmail.
	(rmail-old-pruned): Add doc string.
	(rmail-edit-current-message): Use rmail-msg-is-pruned.
	(rmail-cease-edit): Don't mangle the leading From line.
	Don't mark as edited if there were no changes.  (Bug#2256)
	Correctly restore header state.

	* mail/rmail.el (rmail-automatic-folder-directives): Doc fix.
	(rmail-current-message, rmail-total-messages)
	(rmail-message-vector, rmail-deleted-vector): Add doc strings.
	(rmail-duplicate-message): Doc fix.
	(rmail-get-header-1, rmail-set-header-1, rmail-set-attribute-1):
	New functions.
	(rmail-get-header, rmail-set-header, rmail-set-attribute):
	Use rmail-apply-in-message.
	(rmail-message-attr-p): Use rmail-get-header, hence no longer requires
	unswapped-ness.
	(rmail-get-attr-names): Check for missing or corrupt attribute headers.
	(rmail-auto-file): Set the filed attribute, rather than explicitly not
	doing so.  (Bug#2231)
424
	(rmail-set-attribute): Allow ATTR to be a string.
Glenn Morris's avatar
Glenn Morris committed
425

426 427 428
2009-02-09  Ulf Jasper  <ulf.jasper@web.de>

	* net/newst-treeview.el (newsticker-treeview-save)
429
	(newsticker--treeview-load): Kill groups buffer after saving/loading.
430

431 432 433 434 435 436
2009-02-09  Tassilo Horn  <tassilo@member.fsf.org>

	* doc-view.el (doc-view-scroll-up-or-next-page)
	(doc-view-scroll-down-or-previous-page, doc-view-goto-page): Reset
	the old hscroll value after switching pages.

437 438 439 440 441
2009-02-09  Glenn Morris  <rgm@gnu.org>

	* calendar/calendar.el (diary-entry-marker, calendar-today-marker)
	(calendar-holiday-marker): Drop test for color display.

442 443 444 445 446 447 448 449
2009-02-08  Glenn Morris  <rgm@gnu.org>

	* calendar/calendar.el (diary-entry-marker, calendar-today-marker)
	(calendar-holiday-marker, calendar-mark-visible-date):
	* calendar/diary-lib.el (diary-fancy-display):
	It doesn't make sense to check font-lock-mode (see comments;
	reverts 2008-04-02 change).  (Bug#2199)

Juri Linkov's avatar
Juri Linkov committed
450 451 452 453
2009-02-08  Juri Linkov  <juri@jurta.org>

	* simple.el (toggle-word-wrap): New command.

454 455
2009-02-07  Chong Yidong  <cyd@stupidchicken.com>

456 457 458
	* progmodes/ps-mode.el (ps-run-tmp-dir): Doc fix.
	(ps-run-make-tmp-filename): Use temporary-file-directory.

459 460 461
	* textmodes/artist.el (artist-system): Allow make-temp-file to use
	temporary-file-directory.

462 463 464
	* mail/rmailmm.el (rmail-mime-attachment-dirs-alist): Use
	temporary-file-directory.

465 466 467 468
2009-02-07  Glenn Morris  <rgm@gnu.org>

	* mail/unrmail.el (rmime-magic-string): Define for compiler.

469 470 471 472 473
2009-02-07  Eli Zaretskii  <eliz@gnu.org>

	* mail/rmail.el (rmail): Bind coding-system-for-read to
	no-conversion before calling find-file-noselect.  (Bug#2015)

474 475 476 477 478 479 480 481
2009-02-07  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>

	* proced.el (proced-after-send-signal-hook): Use defcustom.
	(proced-header-line): Handle header lines that are shorter than
	window-hscroll.
	(proced-send-signal): Rebind split-width-threshold analogous to
	dired-pop-to-buffer.

482 483 484 485 486 487 488 489 490 491
2009-02-07  Eli Zaretskii  <eliz@gnu.org>

	* mail/rmail.el (rmail-redecode-body): Don't encode/decode the
	message; instead, just rewrite the X-Coding-System header with the
	new encoding, and let rmail-show-message do the rest.  Remove
	unused argument RAW.  Fix doc string to be consistent with the new
	implementation.
	(rmail-show-message): Honor X-Coding-System header, if present, in
	preference to Content-Type header.

492 493 494 495
2009-02-07  Stefan Monnier  <monnier@iro.umontreal.ca>

	* server.el (server-execute): Enable quit.

496 497 498 499 500
2009-02-07  Andreas Schwab  <schwab@suse.de>

	* image-mode.el (image-mode): Always set image-type.
	(image-minor-mode): Likewise.

501 502 503 504 505 506
2009-02-07  Eli Zaretskii  <eliz@gnu.org>

	* mail/rmailedit.el (rmail-cease-edit): Look for the message's
	encoding, and its "content-transfer-encoding" and "content-type"
	headers only in the headers' portion.  (Bug#2017)

507 508 509 510 511 512
2009-02-07  Ulf Jasper  <ulf.jasper@web.de>

	* net/newst-treeview.el
	(newsticker-treeview-next-new-or-immortal-item): New arg
	DONT-WRAP-TREES to prevent infinite recursion.

513 514 515 516
2009-02-07  Stefan Monnier  <monnier@iro.umontreal.ca>

	* mail/rmailedit.el (rmail-cease-edit): narrow-to-region before
	extracting mail message headers.  Use encode-coding-region instead
517 518
	of insert-buffer-substring for re-encoding edited message.
	Add qp/b64 encoding only after text was encoded.
519

520 521
2009-02-07  Eli Zaretskii  <eliz@gnu.org>

522 523 524
	* subr.el: Don't declare `translation-table-for-input' obsolete.
	Equivalent info added to its doc string, q.v.

525 526 527
	* files.el (save-buffer): Display "Saving file FOO..." message
	regardless of buffer's size.  (Bug#2137)

528 529 530 531
2009-02-07  Chong Yidong  <cyd@stupidchicken.com>

	* simple.el (line-move-visual): Handle overflow-newline-into-fringe.

532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552
2009-02-07  Alex Schroeder  <alex@gnu.org>

	* mail/unrmail.el (unrmail): Use regexps to find message separators so
	as not to match any fake rmime.el separators.  Remove any sections added
	by rmime.el.

2009-02-07  Glenn Morris  <rgm@gnu.org>

	* mail/metamail.el (metamail-interpret-body): Remove Rmail-specific hack
	that is no longer appropriate to mbox Rmail.

	* mail/rmailsum.el (rmail-create-summary-line): Widen the view buffer
	before trying to move to the start of the message.
	(rmail-summary-undelete-many, rmail-summary-rmail-update):
	Fix rmail-set-attribute calls.

	* mail/sendmail.el (mail-bury-selects-summary, mail-yank-original):
	Doc fix.
	(rmail-output-to-rmail-buffer): Autoload it.
	(mail-do-fcc): Give it a doc string.  Update for mbox Rmail, simplify.

553 554
2009-02-06  Glenn Morris  <rgm@gnu.org>

555 556
	* mail/unrmail.el (unrmail): Use current-time-string.

557 558 559 560 561 562
	* simple.el (kill-whole-line): Provide a default argument of 1.

	* mail/undigest.el (rmail-mail-separator): Delete.
	(undigestify-rmail-message, unforward-rmail-message): Update for
	mbox Rmail.

Kenichi Handa's avatar
Kenichi Handa committed
563 564 565 566 567 568 569
2009-02-05  Kenichi Handa  <handa@m17n.org>

	* international/fontset.el (script-representative-chars): Remove
	mathematical.
	(setup-default-fontset): Add entries for each subgroup of
	mathematical script.

570 571 572 573 574 575 576
2009-02-05  Juri Linkov  <juri@jurta.org>

	* image-mode.el (image-mode): Use `image-get-display-property'
	instead of `get-text-property'.
	(image-minor-mode): Sync the logic with `image-mode' including the
	displaying an image file as the actual image by default.

Alan Mackenzie's avatar
Alan Mackenzie committed
577 578 579 580 581 582
2009-02-05  Alan Mackenzie  <acm@muc.de>

	* progmodes/cc-defs.el (c-emacs-features): Check the working of
	beginning/end-of-defun-function more rigorously before setting
	argumentative-bod-function.

583 584 585 586 587 588
2009-02-05  Dan Nicolaescu  <dann@ics.uci.edu>

	* xt-mouse.el (turn-on-xterm-mouse-tracking-on-terminal)
	(turn-off-xterm-mouse-tracking-on-terminal): Do not turn on the
	mode on the initial terminal.

589 590
2009-02-05  Glenn Morris  <rgm@gnu.org>

591 592
	* mail/rmail.el (rmail-what-message, rmail-duplicate-message):
	Make these functions work.
593 594 595 596 597

	* net/mairix.el (rmail-buffer): Remove unneeded eval-when-compile.
	(rmail-narrow-to-non-pruned-header): Remove autoload.
	(mairix-rmail-fetch-field): Handle mbox Rmail.

Miles Bader's avatar
Miles Bader committed
598 599 600 601 602 603 604 605 606 607
2009-02-04  Dave Love  <fx@gnu.org>

	* net/imap.el (imap-fetch-safe): Bind debug-on-error.
	(imap-debug): Add imap-fetch-safe.

2009-02-04  Teodor Zlatanov  <tzlatanov@jumptrading.com>

	* net/netrc.el (netrc-machine-user-or-password): Use list of
	auth-source modes.

Nick Roberts's avatar
Nick Roberts committed
608 609 610 611 612
2009-02-04  Nick Roberts  <nickrob@snap.net.nz>

	* vc-svn.el (vc-svn-diff): Revert previous change but add a test
	for newvars is nil. (C-u C-x v = with default values).

613 614 615 616 617
2009-02-04  Dan Nicolaescu  <dann@ics.uci.edu>

	* vc-bzr.el (vc-bzr-working-revision): Recognize a newer branch
	format.  Use when instead of if.

618 619 620 621 622 623
2009-02-04  Miles Bader  <miles@gnu.org>

	* emacs-lisp/lisp.el (forward-sexp, backward-sexp, forward-list)
	(backward-list, backward-up-list, beginning-of-defun)
	(beginning-of-defun-raw, end-of-defun): Add "^" to interactive spec.

624 625 626 627 628 629 630 631 632 633 634 635 636
2009-02-04  Glenn Morris  <rgm@gnu.org>

	* mail/mail-utils.el (mail-fetch-field): Previous doc fix was
	ill-advised.

	* mail/rmail.el: No need for mule-util when compiling.
	(rmail-first-message): Unbreak it.

	* mail/rmailmsc.el: Require rmail not just when compiling.
	Remove unneeded declarations.

	* term/ns-win.el (ns): Define as a custom group.

637 638
2009-02-04  Kenichi Handa  <handa@m17n.org>

639 640 641
	* international/mule-cmds.el (select-safe-coding-system): Use
	buffer-chars-modified-tick instead of buffer-modified-tick.

642 643 644 645 646 647 648
	* descr-text.el (describe-char): Check font-object by fontp.

	* composite.el (compose-gstring-for-terminal): If a character is
	not supported by the current terminal, don't make a multi-glyph
	grapheme cluster.
	(auto-compose-chars): Check font-object by fontp.

649 650
2009-02-03  Glenn Morris  <rgm@gnu.org>

651 652 653
	* mail/unrmail.el (unrmail): In the absence of Mail-from, prefer Date
	over current-time.  (Bug#2175)

654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674
	* mail/rmail.el (rmail-convert-babyl-to-mbox): Disable undo while
	inserting the converted mailbox.
	(rmail-get-new-mail): Restore the loop over inboxes when two or more
	have the same basename.  (Bug#2164)
	Set the return value according to whether any mail was found,
	not just in the last inbox.  Only show a message and run the hook after
	checking all inboxes.
	(rmail-get-new-mail-1): Move message display and running the hook to
	rmail-get-new-mail.

	* mail/rmailkwd.el (rmail-label-obarray): Initialize using
	rmail-attr-array.
	(rmail-make-label, rmail-read-label): Give it a doc string.
	(rmail-add-label, rmail-kill-label): Change argument name to match the
	doc.  Doc fix.
	(rmail-set-label): Doc fix.  Also update summary in attr case.
	Accept labels as a string or a symbol.  (Bug#2165)

	* mail/rmailsum.el (rmail-get-summary-labels): Treat empty labels as
	null.

675 676
2009-02-02  Stefan Monnier  <monnier@iro.umontreal.ca>

677 678 679
	* progmodes/vhdl-mode.el (vhdl-prepare-search-1)
	(vhdl-prepare-search-2): Properly cleanup on `quit'.

680 681 682
	* progmodes/vhdl-mode.el (vhdl-mode-abbrev-table-init):
	Mark the entries as being "system" entries rather than "user" entries.

683 684 685 686
2009-02-02  Thien-Thi Nguyen  <ttn@gnuvola.org>

	* smerge-mode.el (smerge-start-session): Add interactive spec.

687 688 689 690 691 692
2009-02-02  Glenn Morris  <rgm@gnu.org>

	* mail/rmail.el (rmail-ignored-headers, rmail-displayed-headers)
	(rmail-retry-ignored-headers, rmail-highlighted-headers):
	Restore autoloads.

693 694 695 696
2009-02-02  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Fix up EOB.

697 698 699 700 701 702
2009-02-01  Stefan Monnier  <monnier@iro.umontreal.ca>

	* cmuscheme.el (scheme-args-to-list): Remove.
	(run-scheme): Use split-string-and-unquote instead, so as to allow
	spaces in the command name and/or the arguments.

703 704 705 706
2009-02-01  Adrian Robert  <Adrian.B.Robert@gmail.com>

	* term/ns-win.el (ns-save-preferences): Save ns-confirm-quit option.

707 708 709 710 711 712 713 714 715 716 717
2009-02-01  Michael Albinus  <michael.albinus@gmx.de>

	Sync with Tramp 2.1.15.

	* net/tramp.el (tramp-read-passwd): Cached passwords shall still be
	used.

	* net/tramp-cache.el (top): Autoload `tramp-run-real-handler'.

	* net/trampver.el: Update release number.

718 719
2009-02-01  Stefan Monnier  <monnier@iro.umontreal.ca>

720 721 722 723 724 725 726 727 728 729 730
	* mail/rmail.el (rmail-view-buffer): Make buffer-local.
	(rmail-select-summary, rmail-perm-variables, rmail-redecode-body)
	(rmail-undelete-previous-message, rmail-mark-message)
	(rmail-speedbar-buttons): Use with-current-buffer.
	(rmail-mode-map): Move initialization into declaration.
	(rmail-swap-buffers, rmail-unfontify-buffer-function)
	(rmail-fontify-message): Use restore-buffer-modified-p.
	(rmail-expunge-and-save): Don't swap buffer.
	(rmail-get-header, rmail-set-header, rmail-set-attribute)
	(rmail-apply-in-message): Swap save-excursion and save-restriction.

731 732 733
	* mail/rmailsort.el (rmail-sort-messages): Use car-less-than-car
	if possible.

734 735 736
	* mail/rmailedit.el (rmail-edit-map): Move init into declaration.
	(rmail-edit-mode, rmail-cease-edit): Use with-current-buffer.

737 738
2009-01-31  Stefan Monnier  <monnier@iro.umontreal.ca>

739 740
	* mouse.el (mouse-drag-mode-line-1): Obey mouse-1-click-follows-link.

741 742 743 744 745 746 747 748 749 750 751 752 753
	* progmodes/ebrowse.el:
	* international/robin.el:
	* emulation/viper-util.el:
	* emulation/viper-mous.el:
	* emulation/viper-keym.el:
	* ediff.el:
	* ediff-wind.el:
	* ediff-vers.el:
	* ediff-ptch.el:
	* ediff-mult.el:
	* ediff-merg.el:
	* ediff-diff.el: Follow commenting conventions.

754 755 756 757 758
2009-01-31  Eli Zaretskii  <eliz@gnu.org>

	* mail/rmail.el (rmail-redecode-body): Use eight-bit instead of
	obsolete eight-bit-control and eight-bit-graphic.

759 760 761 762
2009-01-31  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/elp.el (elp-results-symname-map): Add follow-link.

763 764 765 766 767
2009-01-31  Chong Yidong  <cyd@stupidchicken.com>

	* emacs-lisp/lisp.el (end-of-defun): Protect against
	infloops (Bug#2106).

768 769
2009-01-31  Dan Nicolaescu  <dann@ics.uci.edu>

Dan Nicolaescu's avatar
Dan Nicolaescu committed
770 771 772 773
	* vc-dir.el (vc-dir-mouse-map):
	(vc-default-dir-printer):
	(vc-dir-find-file-other-window): Undo previous change, it breaks
	the behavior of mouse-2.
Dan Nicolaescu's avatar
Dan Nicolaescu committed
774
	(vc-dir-mode): Fix docstring.
Dan Nicolaescu's avatar
Dan Nicolaescu committed
775

776 777 778
	* vc-svn.el (vc-svn-dir-status): Disable the vc-stay-local-p
	logic, it makes the makes the normal case too slow.

779 780
2009-01-31  Eli Zaretskii  <eliz@gnu.org>

781 782 783 784 785
	* mail/unrmail.el (unrmail): Set coding-system of the old Rmail
	file to `raw-text-unix'.  Bind coding-system-for-write when
	writing out the converted message, and make sure it uses Unix
	EOLs.

786 787 788 789
	* mail/rmail.el (rmail-convert-babyl-to-mbox): Set Rmail's buffer
	encoding to `raw-text-unix'.
	(rmail-perm-variables): Set encoding of rmail-view-buffer to
	`undecided-unix'.
790 791
	(rmail-redecode-body): Don't change EOL conversion of the new
	encoding if the old one left it unspecified.
792 793 794 795 796 797 798 799 800 801
	(rmail-automatic-folder-directives, rmail): Doc fixes.
	(rmail-swap-buffers): New function.
	(rmail-change-major-mode-hook, rmail-swap-buffers-maybe)
	(rmail-show-message): Use rmail-swap-buffers.
	(rmail-decode-region): If DESTINATION is a buffer, set the
	encoding of that buffer, rather than the current buffer.
	(rmail-show-message): Make error message about uuencoded mail
	more explicit.
	(rmail-show-message-maybe): Simplify code.  Doc fix.
	(rmail-show-message): Doc fix.
802

803 804
2009-01-31  Glenn Morris  <rgm@gnu.org>

805 806 807
	* mail/rmailsum.el (rmail-new-summary): Don't try to summarize an empty
	folder.

808 809 810 811 812 813 814 815 816 817 818 819 820
	* mail/rmail.el (rmail-msg-is-pruned): New function.
	(rmail-toggle-header): Doc fix.  Use rmail-msg-is-pruned.
	(rmail-reply): Set up to yank from the decoded message rather than the
	raw one.  (Bug#2104).

	* mail/mail-utils.el (mail-fetch-field): Doc fix.

	* mail/uce.el (rmail-current-message): Remove unneeded declaration.
	(uce-message-text, uce-default-headers): Fix custom type.
	(rmail-buffer, rmail-msg-is-pruned): Declare.
	(uce-reply-to-uce): Add autoload cookie.  Doc fix.
	Update for mbox Rmail.

Nick Roberts's avatar
Nick Roberts committed
821 822 823 824 825 826
2009-01-31  Nick Roberts  <nickrob@snap.net.nz>

	* vc-dir.el (vc-dir-mouse-map): New keymap.
	(vc-default-dir-printer): Use it locally.
	(vc-dir-find-file-other-window): Allow mouse events.

827 828
2009-01-30  Eli Zaretskii  <eliz@gnu.org>

829 830 831
	* mail/unrmail.el (unrmail): Fix conversion of BABYL attributes
	into Rmail-mbox attributes.

832 833 834
	* mail/rmail.el (rmail-convert-babyl-to-mbox): Bind
	coding-system-for-read to `raw-text', and use insert-file-contents
	instead of insert-file-contents-literally.  Fixes bug #2019.
835
	(rmail-resent-attr-index): Fix index value.
836

Nick Roberts's avatar
Nick Roberts committed
837 838 839
2009-01-30  Nick Roberts  <nickrob@snap.net.nz>

	* vc-hooks.el (vc-stay-local-p): Let vc-BACKEND-stay-local take
Juanma Barranquero's avatar
Juanma Barranquero committed
840
	precedence even when its value is t.  (Bug#2093)
Nick Roberts's avatar
Nick Roberts committed
841

842 843
	* vc-svn.el (vc-svn-dir-status): Correct logic for remote
	connection.  (Bug#2093)
Nick Roberts's avatar
Nick Roberts committed
844
	(vc-svn-diff): Use old version number even when it is the working
Juanma Barranquero's avatar
Juanma Barranquero committed
845
	revision.  This is needed, e.g, in the vc-print-log buffer.  (Bug#2092)
Nick Roberts's avatar
Nick Roberts committed
846

847 848 849
2009-01-30  Glenn Morris  <rgm@gnu.org>

	* mail/rmail.el (rmail-reply): Handle empty folders.
850 851
	(rmail-speedbar-buttons)
	(rmail-speedbar-move-message-to-folder-on-line): Use line-end-position.
852 853 854

	* mail/rmailsum.el (rmail-summary-update-line): Replace duplicate
	line-beginning-position calls.
855
	(rmail-header-summary): Use line-end-position.
856

857 858 859
2009-01-30  Toby Speight  <streapadair@gmx.net>  (tiny change)

	* generic-x.el (hosts-generic-mode, named-database-generic-mode):
Juanma Barranquero's avatar
Juanma Barranquero committed
860
	Fix regexp quoting.  (Bug#1739)
861

862 863 864 865 866
2009-01-29  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp.el (tramp-process-actions, tramp-read-passwd): Allow
	correction of passwords.

867 868 869 870 871 872
2009-01-29  Chong Yidong  <cyd@stupidchicken.com>

	* mail/rmail.el (rmail-toggle-header): Determine current header
	style using the buffer-local value of rmail-header-style in the
	view buffer.
	(rmail-show-message): Set a buffer-local value of
Juanma Barranquero's avatar
Juanma Barranquero committed
873
	rmail-header-style in the view buffer.  (Bug#2016)
874

875 876 877 878 879
2009-01-29  Juanma Barranquero  <lekktu@gmail.com>

	* vc-dir.el (vc-dir-menu-map, vc-dir-at-event, vc-dir-resynch-file):
	Fix typos in docstrings.

880 881 882 883 884 885 886 887 888
2009-01-29  Juanma Barranquero  <lekktu@gmail.com>

	* bindings.el (completion-ignored-extensions):
	Add entries for VCS metadata directories (CVS/, .svn, etc).

	* pcvs.el (completion-ignored-extensions):
	* vc-svn.el (completion-ignored-extensions): Don't add VCS-specific
	directory, now done in bindings.el.

889 890
2009-01-29  Klaus Straubinger  <KSNetz@UseNet.ArcorNews.DE>  (tiny change)

891
	* pcmpl-rpm.el (pcmpl-rpm): Doc fix.  (Bug#2094)
892

893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908
2009-01-29  Glenn Morris  <rgm@gnu.org>

	* mail/rmail.el (rmail-file-name): Remove duplicate definition.
	(rmail-set-header): Ensure header changes get saved.

	* mail/rmailedit.el (rmail-summary-disable): Fix declaration.

	* mail/rmailkwd.el (rmail-set-label): Update the summary, if there is
	one, after a label is added.

	* mail/rmailsum.el (rmail-summary-update-line): New function.
	(rmail-summary-goto-msg): Return a value according to whether message
	was found.
	(rmail-summary-update-highlight): Give the overlay an 'rmail-summary
	property.  Use line-end-position.

909 910
2009-01-29  Chong Yidong  <cyd@stupidchicken.com>

911 912 913
	* mail/rmailedit.el (rmail-cease-edit): Add additional quotes to
	quoted From lines.

914 915
	* mail/rmail.el (rmail-redecode-body): New function, based on old
	version removed in 2009-01-22 change.
916
	(rmail-show-message): Unquote From lines.
917

918 919 920 921 922 923
2009-01-28  Tassilo Horn  <tassilo@member.fsf.org>

	* doc-view.el (doc-view-mode): Don't use string-match and file
	extension to choose fallback mode on empty/non-existing files but
	let-bind auto-mode-alist and call normal-mode.

924 925 926 927 928 929 930
2009-01-28  Eli Zaretskii  <eliz@gnu.org>

	* ls-lisp.el (ls-lisp-classify): Propertize file name before
	concatenating the type indicating character.
	(ls-lisp-format): Don't propertize file-name only if
	ls-lisp-classify already did.

931 932
2009-01-28  Michael Albinus  <michael.albinus@gmx.de>

933 934
	* net/dbus.el (dbus-event-error-hooks): Fix docstring.
	Describe second parameter of hook functions.
935 936
	(dbus-handle-event): Apply it.

937 938 939 940 941
2009-01-28  Chong Yidong  <cyd@stupidchicken.com>

	* mail/rmail.el (rmail-toggle-header): Don't reset
	rmail-header-style permanently (bug#2016).

942 943 944 945 946
2009-01-28  Denis Howe  <denis.howe@gmail.com>

	* complete.el (PC-do-completion): Correct case when completion is
	unambiguous.

947 948
2009-01-28  Stephen Berman  <stephen.berman@gmx.net>

949 950 951
	* calendar/todo-mode.el (todo-insert-item-here):
	Prevent insertion of a new entry inside of an existing entry.
	Minor code cleanup.  (Bug#2084)
952 953 954 955 956 957 958
	(todo-add-category): Change the interactive spec.  Signal an error
	if the Todo file is non-empty but contains no category.  Reject
	category names that could induce bugs and confusion.  Call
	todo-mode if the Todo file is new and unsaved.  Simplify handling
	of local variables cookie.  Properly display the newly added
	category in Todo mode.
	(todo-show): Call todo-initial-setup only if there is neither a
Juanma Barranquero's avatar
Juanma Barranquero committed
959
	Todo file nor a corresponding unsaved buffer.  (Bug#2085)
960 961 962 963
	(todo-category-alist): Delete function.
	(todo-completing-read): New function.
	(todo-insert-item, todo-jump-to-category): Use it.
	(todo-insert-item): Make the use of the prefix argument conform to
Juanma Barranquero's avatar
Juanma Barranquero committed
964
	the doc string.  (Bug#2086)
965

966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985
2009-01-28  Glenn Morris  <rgm@gnu.org>

	* mail/rmail.el (rmail-expunge-and-save): Always show a message,
	even when called from the summary.  (Bug#2075)
	(rmail-no-mail-p): New func, extracted from rmail-show-message-maybe.
	(rmail-show-message-maybe): Use rmail-no-mail-p.
	(rmail-show-message): If empty folder, do nothing.  (Bug#2076)
	(rmail-get-labels): Separate status and label fields with a semicolon,
	rather than a comma, for consistency with old Rmail.

	* mail/rmailsum.el (rmail-message-recipients-p-1): Don't bother
	starting from the beginning, since mail-fetch-field does not care.
	(rmail-create-summary-line): Fix unseen handling.  (Bug#2089)
	(rmail-get-summary-status): New name for old rmail-get-summary-labels.
	(rmail-get-summary-labels): New function.  Returns labels rather than
	status (edited, etc).
	(rmail-create-summary): Insert an extra space after the status
	flags, for consistency with old rmail, and with current
	rmail-summary-font-lock-keywords.

986 987
2009-01-28  Chong Yidong  <cyd@stupidchicken.com>

Juanma Barranquero's avatar
Juanma Barranquero committed
988 989
	* progmodes/perl-mode.el (perl-indent-line-command): Call indent-region
	if region is active.  Use cond instead of nested ifs.  (Bug#2053)
990

991 992
2009-01-27  Chong Yidong  <cyd@stupidchicken.com>

993 994 995
	* mail/rmail.el (rmail-convert-babyl-to-mbox): Prompt user before
	converting.

996 997 998
	* mail/unrmail.el (unrmail): Record labels in X-RMAIL-* fields,
	which are recognized by the new Rmail, instead of X-BABYL-V6-*.

999 1000 1001 1002
2009-01-27  Christopher Oliver  <coliver@message.nmc.edu>

	* mouse.el (mouse-select-font): Return a string instead of a list.

1003 1004
2009-01-27  Chong Yidong  <cyd@stupidchicken.com>

Chong Yidong's avatar
Chong Yidong committed
1005 1006
	* bindings.el: Swap C-delete and C-backspace bindings here, so we
	don't have to do it in normal-erase-is-backspace-mode.
1007 1008 1009 1010

	* simple.el (normal-erase-is-backspace-mode): Don't swap C-delete
	and C-backspace; the latter is not available on ttys anyway.

1011 1012 1013 1014
2009-01-27  Tassilo Horn  <tassilo@member.fsf.org>

	(doc-view-mode): Fix broken call to string-match.

1015 1016 1017 1018 1019 1020 1021
2009-01-27  Tassilo Horn  <tassilo@member.fsf.org>

	* doc-view.el (doc-view-mode): Enhance docstring and fallback to
	fundamental-mode or ps-mode if the file is empty or doesn't exist
	at all.
	(doc-view-initiate-display): Better info message if doc-view-mode
	cannot be used.  (Missing utility or no png support/no X frame.)
Juanma Barranquero's avatar
Juanma Barranquero committed
1022
	(Bug#2058)
1023

1024 1025 1026 1027 1028
2009-01-27  Glenn Morris  <rgm@gnu.org>

	* mail/rmail.el (rmail-copy-headers): Doc fix.  Leave point at the end
	of the headers in the full header case.  (Bug#2073)

1029 1030 1031 1032 1033 1034 1035 1036 1037
2009-01-27  Kenichi Handa  <handa@m17n.org>

	* mail/rmail.el (rmail-get-coding-system): Re-search
	rmail-mime-charset-pattern directly instead of using
	mail-fetch-field.  Use coding-system-from-name.

	* international/mule-cmds.el (canonicalize-coding-system-name)
	(coding-system-from-name): New functions.

Glenn Morris's avatar
Glenn Morris committed
1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069
2009-01-27  Glenn Morris  <rgm@gnu.org>

	* dired-x.el (dired-bind-vm): Doc fix.

	* mail/rmail-spam-filter.el: Remove leading `*' from defcustom docs.
	Replace `first' and `rest' with `car' and `cdr' throughout.
	(rsf-auto-delete-spam-bbdb-entries): Remove unused variable.
	(rsf-scanning-messages-now): Doc fix.
	(rsf-check-field): Rename from `check-field' and update callers.
	(rmail-spam-filter): Fix bbdb/mail_auto_create_p oddness.
	Use rmail-output rather than deleted rmail-output-to-rmail-file.

	* mail/rmail.el: Remove leading `*' from defcustom docs.
	Remove needless autoloads of many defcustoms and hooks.
	(rmail-enable-mime, rmail-insert-mime-resent-message-function)
	(rmail-search-mime-message-function, rmail-search-mime-header-function)
	(rmail-decode-mime-charset): Doc fix.
	(rmail-search-message, rmail-resend): Check functions set before use.

	* mail/rmailout.el: Remove leading `*' from defcustom docs.
	Remove needless autoloads of many defcustoms.
	(rmail-output-to-babyl-buffer): Rename from
	rmail-output-to-r-mail-buffer and update caller.
	(rmail-output): Doc fix.

	* mail/rmailsum.el: Remove leading `*' from defcustom docs.
	Remove needless autoloads of many defcustoms.
	(rmail-message-regexp-p-1): Check rmail-search-mime-header-function
	is set.

	* mail/unrmail.el (command-line-args-left): Remove unneeded declaration.
	(batch-unrmail, unrmail): Doc fix.
1070 1071

	* mail/rmailsum.el (rmail-message-recipients-p-1)
1072 1073
	(rmail-message-regexp-p-1): Ensure searches start from the
	beginning of the header.
1074

1075 1076 1077 1078
2009-01-27  Chong Yidong  <cyd@stupidchicken.com>

	* mail/rmailsum.el (rmail-summary-mark-deleted): Recache summary.

1079 1080 1081 1082 1083
2009-01-27  Jay Belanger  <jay.p.belanger@gmail.com>

	* calc/calc-sel.el (cal-sel-mult-both-sides): Add an option to
	expand the denominator.

1084 1085 1086 1087 1088
2009-01-26  Michael Albinus  <michael.albinus@gmx.de>

	* net/dbus.el (dbus-event-error-hooks): New variable.
	(dbus-handle-event): Use it.

1089 1090
2009-01-26  Glenn Morris  <rgm@gnu.org>

Glenn Morris's avatar
Glenn Morris committed
1091 1092
	* Makefile.in (ELCFILES): Update.

1093 1094 1095
	* mail/rmail.el (rmail-reply): Don't include Resent-To and Resent-Cc in
	replies.  (Bug#512)

Ulf Jasper's avatar
Ulf Jasper committed
1096 1097
2009-01-25  Ulf Jasper  <ulf.jasper@web.de>

1098
	* calendar/icalendar.el (icalendar-uid-format): Fix doc string.
Ulf Jasper's avatar
Ulf Jasper committed
1099

1100 1101 1102 1103 1104 1105 1106 1107 1108
2009-01-25  Adrian Robert  <Adrian.B.Robert@gmail.com>

	* term/ns-win.el (ns-insert-working-text, ns-delete-working-text):
	Remove from global map and key definitions.
	(ns-toggle-toolbar, ns-info-prefs): Add to global map and key
	definitions.
	(ns-show-preferences-help, ns-unput-working-text): New functions.
	(ns-unecho-working-text): Update message.

Juanma Barranquero's avatar
Juanma Barranquero committed
1109
2009-01-25  Craig Markwardt  <cbmarkwardt@gmail.com>
Ulf Jasper's avatar
Ulf Jasper committed
1110 1111 1112 1113

	* calendar/icalendar.el (icalendar-uid-format): New defcustom
	variable to allow the user to choose icalendar UID format.
	(icalendar--diarytime-to-isotime): Bug fix, now times in the range
1114
	12:00am-12:59am are correctly converted to 0000-0059, instead of 12pm.
Ulf Jasper's avatar
Ulf Jasper committed
1115 1116 1117 1118 1119 1120 1121
	(icalendar-export-region,icalendar--create-uid): Use custom
	function to compute icalendar UID for each entry.
	(icalendar--parse-summary-and-rest): Bug fix for parsing of lines
	with description, location, etc. fields (need to keep active count
	of fields encountered).  Another bug fix to the regex that matches
	multiple lines (need \' regex instead of $ to match end-of-entry).

1122 1123 1124 1125 1126 1127
2009-01-25  Juri Linkov  <juri@jurta.org>

	* progmodes/grep.el (grep-mode-map): Put grep-find before grep and
	change its title from "Recursive grep..." to "Grep via Find...".
	Add menu items for lgrep and rgrep.

1128 1129 1130 1131 1132 1133 1134 1135 1136 1137
2009-01-24  Vinicius Jose Latorre  <viniciusjl@ig.com.br>

	* ps-print.el (ps-print-version): New version 7.3.4.

2009-01-24  Eduard Wiebe  <usenet@pusto.de>  (tiny change)

	* ps-print.el: Fix face background/foreground extraction.
	(ps-face-extract-color): New fun.
	(ps-face-attributes, ps-face-attribute-list): Code fix.

1138 1139 1140 1141
2009-01-24  Geoff Gole  <geoffgole@gmail.com>  (tiny change)

	* align.el (align-region): Avoid infloop.

1142 1143
2009-01-24  Eli Zaretskii  <eliz@gnu.org>

1144 1145
	* env.el (environment): Function removed.

Juanma Barranquero's avatar
Juanma Barranquero committed
1146 1147 1148
	* international/mule-cmds.el (set-language-environment-coding-systems):
	If default-buffer-file-coding-system is nil, set up to have EOLs that
	are native for the underlying system-type.  (Bug#1853)
1149
	(prefer-coding-system, set-default-coding-systems): Doc fix.
1150

1151 1152 1153 1154 1155 1156 1157
2009-01-24  Juanma Barranquero  <lekktu@gmail.com>

	* emacs-lisp/eldoc.el (eldoc-function-argstring-format):
	Revert 2007-09-26 change; use `string-match-p' to check for &keywords.
	(eldoc-get-fnsym-args-string, eldoc-highlight-function-argument):
	Use `string-match-p'.

1158 1159 1160 1161 1162
2009-01-24  Ulf Jasper  <ulf.jasper@web.de>

	* net/newst-treeview.el (newsticker--treeview-first-feed): New.
	(newsticker-treeview-next-new-or-immortal-item): Try first-feed if
	next-feed does not succeed.  Fixes bug#1710 even more.
1163
	(newsticker-treeview-next-feed): Simplify.
1164 1165
	(newsticker--group-get-feeds): Suppress group names in result.

1166 1167 1168 1169 1170
2009-01-24  Adrian Robert  <Adrian.B.Robert@gmail.com>

	* term/ns-win.el (menu-bar-select-frame): Drop this override.
	(menu-bar-update-frames): Update call to menu-bar-select-frame.

1171 1172 1173 1174 1175 1176 1177 1178
2009-01-24  Glenn Morris  <rgm@gnu.org>

	* mail/rmail.el (rmail-insert-inbox-text): Revert replacement of
	"popmail" by "pormail".

	* language/ethio-util.el (rmail-current-message, rmail-message-vector):
	Remove unneeded declarations.

1179 1180 1181 1182 1183
2009-01-24  Jay Belanger  <jay.p.belanger@gmail.com>

	* calc/calc-poly.el (calcFunc-apart): Improve test for
	rational functions.

1184 1185
2009-01-23  Chong Yidong  <cyd@stupidchicken.com>

1186 1187 1188
	* mail/rmailsum.el (rmail-summary-by-labels): Correctly handle
	return value of rmail-get-labels.

1189 1190 1191 1192
	* mail/rmailkwd.el (rmail-next-labeled-message): Correctly handle
	return value of rmail-get-labels.

	* mail/rmail.el (rmail-get-labels): Obey the MSG argument.
Juanma Barranquero's avatar
Juanma Barranquero committed
1193
	(rmail-buffer-swapped): Fix last change.  (Bug#1997)
1194

Ulf Jasper's avatar
Ulf Jasper committed
1195 1196 1197 1198 1199
2009-01-23  Ulf Jasper  <ulf.jasper@web.de>

	* net/newst-backend.el (newsticker--cache-read): Offer deletion of
	old cache file.  Fixes bug#1710.

1200 1201 1202 1203
2009-01-23  Chong Yidong  <cyd@stupidchicken.com>

	* mail/rmail.el (rmail-generate-viewer-buffer): Fix typo.

1204 1205
2009-01-23  Adrian Robert  <Adrian.B.Robert@gmail.com>

1206 1207
	* term/ns-win.el (ns-insert-working-text, ns-put-working-text):
	Switch names and update comments for clarity.
1208

1209 1210 1211 1212 1213
2009-01-23  Stefan Monnier  <monnier@iro.umontreal.ca>

	* mail/rmail.el (rmail-write-region-annotate): Only switch buffer if
	start is nil, as was done in tar-mode.el.

1214 1215 1216 1217 1218 1219 1220
2009-01-23  Glenn Morris  <rgm@gnu.org>

	* mail/sendmail.el (mail-bury): Revert previous change now pmail is no
	more.

	* mail/uce.el (rmail-msg-is-pruned): Remove declaration of deleted func.

1221 1222
2009-01-23  Chong Yidong  <cyd@stupidchicken.com>

Juanma Barranquero's avatar
Juanma Barranquero committed
1223
	* server.el (server-name): Make it a defcustom.  (Bug#1995)
1224

1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242
	* mail/rmail.el (rmail-buffer-swapped): Mark as permanent local.

2009-01-23  Glenn Morris  <rgm@gnu.org>

	* Makefile.in (ELCFILES): Update.

2009-01-22  Ulf Jasper  <ulf.jasper@web.de>

	* net/newst-treeview.el
	(newsticker-treeview-next-new-or-immortal-item): New optional arg
	current-item-counts.  Move to next feed if necessary.  (Bug#1569)
	(newsticker-treeview-prev-new-or-immortal-item): Move to previous
	feed if necessary.  (Bug#1569)
	(newsticker-treeview-next-feed)
	(newsticker-treeview-prev-feed): New optional arg stay-in-tree.
	Don't activate node nil.  (Bug#1569)

2009-01-22  Paul Reilly  <pmr@pajato.com>
1243 1244 1245 1246 1247 1248 1249
	    Henrik Enberg  <enberg@printf.se>
	    Alex Schroeder  <alex@gnu.org>
	    Chong Yidong  <cyd@stupidchicken.com>
	    Richard M Stallman  <rms@gnu.org>
	    Glenn Morris  <rgm@gnu.org>
	    Juanma Barranquero  <lekktu@gmail.com>

Glenn Morris's avatar
Glenn Morris committed
1250
	* mail/rmail.el: Code implementing Rmail-mbox functionality.
1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271
	(rmail-attribute-header, rmail-keyword-header)
	(rmail-answered-attr-index, rmail-deleted-attr-index)
	(rmail-edited-attr-index, rmail-filed-attr-index)
	(rmail-retried-attr-index, rmail-forwarded-attr-index)
	(rmail-unseen-attr-index, rmail-resent-attr-index)
	(rmail-attr-array, rmail-header-style, rmail-file-name)
	(rmail-buffer-swapped): New vars.
	(rmail-convert-file-maybe, rmail-error-bad-format)
	(rmail-convert-babyl-to-mbox, rmail-get-coding-system)
	(rmail-generate-viewer-buffer, rmail-change-major-mode-hook)
	(rmail-buffers-swapped-p, rmail-swap-buffers-maybe)
	(rmail-mode-kill-buffer-hook, rmail-get-new-mail-1)
	(rmail-get-new-mail-filter-spam, rmail-add-mbox-headers)
	(rmail-get-header, rmail-set-header, rmail-get-attr-names)
	(rmail-get-keywords, rmail-get-labels, rmail-get-attr-value)
	(rmail-message-attr-p, rmail-message-unseen-p)
	(rmail-apply-in-message, rmail-collect-deleted, rmail-widen)
	(rmail-show-message-maybe, rmail-copy-headers)
	(rmail-simplified-subject, rmail-simplified-subject-regexp)
	(rmail-write-region-annotate): New functions.

1272
	(rmail-keywords, rmail-default-rmail-file): Delete vars.
1273 1274 1275 1276 1277 1278 1279 1280
	(rmail-convert-mailpath, rmail-convert-file)
	(rmail-insert-rmail-file-header, rmail-decode-babyl-format)
	(rmail-parse-file-inboxes, rmail-convert-to-babyl-format)
	(rmail-reformat-message, rmail-clear-headers, rmail-msg-is-pruned)
	(rmail-redecode-body)
	(rmail-msg-restore-non-pruned-header, rmail-msg-prune-header)
	(rmail-narrow-to-non-pruned-header, rmail-message-recipients-p)
	(rmail-count-screen-lines, rmail-message-regexp-p)
1281
	(rmail-current-subject, rmail-current-subject-regexp): Delete functions.
1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306
	(rmail-nuke-pinhead-header): Move to rmailout.el.

	(rmail-ignored-headers): Add additional headers.
	(rmail-mode-map): Update key commands.
	(rmail-tool-bar-map): Build tool-bar unconditionally.
	(rmail, rmail-mode, rmail-get-new-mail): Handle babyl-to-mbox
	conversion and new buffer swapping mechanism.
	(rmail-perm-variables): Use new vars, and remove deleted ones.
	(rmail-revert): Use rmail-convert-file-maybe.
	(rmail-duplicate-message): Use rmail-show-message-maybe.
	(rmail-get-new-mail): Don't leave the buffer screwed up if we get
	a disk-full error.
	(rmail-parse-url): Strip embedded password.
	(rmail-insert-inbox-text): Default to movemail if
	rmail-movemail-program is null.  Handle mbox format.
	(rmail-decode-region): New arg.
	(rmail-display-labels): Don't perform Babyl processing.
	(rmail-set-attribute, rmail-message-labels-p, rmail-search)
	(rmail-set-message-counters, rmail-count-new-messages)
	(rmail-set-message-counters-counter, rmail-show-message)
	(rmail-next-same-subject, rmail-reply): Use mbox format.
	(rmail-toggle-header, rmail-show-message, rmail-only-expunge)
	(rmail-expunge, rmail-expunge-and-save, rmail-quit): Use new
	buffer swapping mechanism.

Glenn Morris's avatar
Glenn Morris committed
1307
	* mail/rmailedit.el: Require rmailsum.el.
1308
	(rmail-edit-mode): First check if buffer is swapped.
1309
	(rmail-edit-saved-coding-system): Delete var.
1310 1311 1312 1313
	(rmail-edit-current-message): Don't call deleted vars.
	(rmail-cease-edit): Handle mbox format.
	(rmail-abort-edit): Widen buffer.

Glenn Morris's avatar
Glenn Morris committed
1314
	* mail/rmailkwd.el: Require rmail.el.  Remove unneeded function
1315 1316 1317 1318
	declarations.
	(rmail-buffer, rmail-current-message, rmail-last-label)
	(rmail-last-multi-labels, rmail-summary-vector)
	(rmail-total-messages, rmail-attributes, rmail-deleted-label)
1319
	(rmail-keywords): Delete vars.
1320 1321
	(rmail-attribute-p, rmail-keyword-p, rmail-make-label)
	(rmail-force-make-label, rmail-quote-label-name, rmail-keywords)
1322
	(rmail-parse-file-keywords, rmail-install-keyword): Delete functions.
1323 1324
	(rmail-make-label): New function.
	(rmail-read-label): Don't call rmail-parse-file-keywords.
1325
	(rmail-set-label): Rewrite using rmail-set-attribute.
1326 1327
	(rmail-next-labeled-message): Use rmail-get-labels.

Glenn Morris's avatar
Glenn Morris committed
1328
	* mail/rmailmm.el: New file.
1329

Glenn Morris's avatar
Glenn Morris committed
1330
	* mail/rmailmsc.el: Require rmail.el.
1331 1332
	(set-rmail-inbox-list): Set rmail-inbox-list directly.

Glenn Morris's avatar
Glenn Morris committed
1333
	* mail/rmailout.el (rmail-output-decode-coding): New var.
1334 1335 1336 1337
	(rmail-output-as-babyl, rmail-output-to-r-mail-buffer)
	(rmail-convert-to-babyl-format, rmail-output-as-mbox)
	(rmail-output-to-rmail-buffer): New functions.
	(rmail-output-read-rmail-file-name, rmail-output-to-rmail-file):
1338 1339 1340 1341
	Delete functions.
	(rmail-nuke-pinhead-header): Move from rmail.el.
	(rmail-output): Rewrite to accept both mbox and babyl output.
	(rmail-output-as-seen, rmail-output-body-to-file): Rewrite to
1342 1343
	use mbox internal format.

Glenn Morris's avatar
Glenn Morris committed
1344
	* mail/rmailsort.el: Eval mail-utils when compiled.  Require rmail.el.
1345
	(rmail-sort-by-date, rmail-sort-by-subject, rmail-sort-by-author)
1346 1347 1348 1349
	(rmail-sort-by-recipient, rmail-sort-by-correspondent):
	Use rmail-get-header.
	(rmail-sort-messages): Use new buffer swapping mechanism.
	Handle mbox internal format.
1350

Glenn Morris's avatar
Glenn Morris committed
1351
	* mail/rmailsum.el (rmail-summary): Make sure rmail buffer is shown.
1352 1353 1354 1355 1356
	(rmail-message-recipients-p, rmail-message-recipients-p-1)
	(rmail-message-regexp-p, rmail-new-summary-1)
	(rmail-get-create-summary-buffer, rmail-get-summary)
	(rmail-create-summary-line, rmail-get-summary-labels)
	(rmail-create-summary, rmail-header-summary)
1357
	(rmail-summary-output, rmail-summary-output-as-seen): New functions.
1358 1359 1360 1361 1362 1363 1364 1365 1366 1367
	(rmail-summary-by-topic, rmail-message-senders-p)
	(rmail-header-summary, rmail-summary-next-same-subject): Use mbox
	internal format.
	(rmail-new-summary): Rewrite window handling.
	(rmail-make-summary-line, rmail-make-summary-line-1)
	(rmail-make-basic-summary-line)
	(rmail-summary-output-to-rmail-file): Functions deleted.
	(rmail-summary-undelete, rmail-summary-rmail-update)
	(rmail-summary-scroll-msg-up, rmail-summary-scroll-msg-down)
	(rmail-summary-show-message, rmail-summary-wipe)
1368 1369
	(rmail-summary-toggle-header, rmail-summary-reply):
	Use rmail-buffer instead of rmail-view-buffer.