Commit graph

95102 commits

Author SHA1 Message Date
Eli Zaretskii
0b7889fc33 Revert 2010-06-26T12:01:31Z!eliz@gnu.org (fixed in emacs-23 branch). 2010-06-26 15:21:24 +03:00
Eli Zaretskii
b61dfbe20b w32-fns.el (w32-convert-standard-filename): Doc fix. 2010-06-26 15:11:06 +03:00
Eli Zaretskii
ebd70b0f80 PROBLEMS: Update Cygwin-related info regarding GCC versions. 2010-06-26 15:01:31 +03:00
Carsten Dominik
3820f4296e Cherry-pick commit 8bd9308 from the org-mode Git repository.
2010-06-26  Carsten Dominik  <carsten.dominik@gmail.com>

	* org-agenda.el (org-agenda-goto-calendar): Do not bind obsolete
	variables.

	* org.el (calendar): Require calendar now on top level in org.el
	and define aliases to new variables when needed.
	(org-read-date, org-goto-calendar): Do not bind obsolete
	variables.
2010-06-26 11:53:06 +02:00
Chong Yidong
fac580ebfa Revert last change. 2010-06-25 15:32:37 -04:00
Chong Yidong
a9fdbaae1a Change initial-frame-alist and default-frame-alist defaults (Bug#2249).
Since the menu-bar and tool-bar are now unconditionally turned on by
default, we can let the defcustom defaults reflect that.

* frame.el (initial-frame-alist): Give default value entries for
menu-bar-lines and tool-bar-lines consistent with the startup
default (Bug#2249).

* frame.c (Vdefault_frame_alist): Give default value entries for
menu-bar-lines and tool-bar-lines consistent with the startup
default (Bug#2249).
2010-06-25 15:24:05 -04:00
Agustín Martín
f5cbf40e5f Add missing Changelog entries for textmodes/ispell.el (bzr#100641) and textmodes/flyspell.el (bzr#100640) 2010-06-25 10:31:50 +02:00
Agustín Martín
9f446b6ff1 ispell.el (ispell-init-process): Make sure ispell and default directories are expanded. 2010-06-25 10:28:01 +02:00
Agustín Martín
c11a5a9cab Make sure `flyspell-word' checks word after (flyspell-check-previous-highlighted-word) run. 2010-06-25 10:19:11 +02:00
Chong Yidong
71ab16dd94 Add redisplay test for image and overlay string interaction. 2010-06-24 20:33:25 -04:00
Juri Linkov
8f3b8a5f42 * lisp/minibuffer.el (completions-format): Change default from nil to
`horizontal'.  Remove `nil' value from :type.  Doc fix.  (Bug#6459)
2010-06-25 00:51:14 +03:00
Juri Linkov
5af72a47bb * lisp/vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
buffer-locally to lambda that re-runs the vc diff command.  (Bug#6447)
2010-06-25 00:38:07 +03:00
Chong Yidong
8f8043160b Don't issue kmacro hint if echo area is in use (Bug#3412).
* lisp/kmacro.el (kmacro-call-macro): Don't issue hint message if the
echo area is in use (Bug#3412).
2010-06-24 15:16:33 -04:00
Juanma Barranquero
3b3807f859 lib-src/movemail.c (error): Avoid warning when there are no args. 2010-06-24 18:12:35 +02:00
Juanma Barranquero
8c079ebbd2 src/gtkutil.c (xg_update_scrollbar_pos): Avoid C99 mid-block variable declaration. 2010-06-24 18:08:22 +02:00
Mark A. Hershberger
04c2373982 Add in some useful convenience functions for handling HTTP. 2010-06-22 12:48:53 -04:00
Jan Djärv
bc869eca8c Hide scroll bar when window is too small to avoid Gtk+ warning.
* gtkutil.c (xg_update_scrollbar_pos): Show/hide scroll bar as needed
if height is less than scroll bar min size.
(xg_show_scroll_bar): Remove, show moved to xg_update_scrollbar_pos.

* gtkutil.h (xg_show_scroll_bar): : Remove.

* xterm.c (x_scroll_bar_create): Remove call to xg_show_scroll_bar.
2010-06-22 14:28:08 +02:00
Glenn Morris
6555773f3f Minor simplification.
* lisp/textmodes/texinfmt.el (texinfo-format-region)
(texinfo-raise-lower-sections, texinfo-format-separate-node)
(texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
(texinfo-format-option, texinfo-noindent):
Use line-beginning-position and line-end-position.
2010-06-22 01:10:26 -07:00
Jan Djärv
e9b7ab963b Don't use font names from GConf if font backend can't handle it (bug#6478).
* xfns.c (x_default_font_parameter): Try to open font from system
before using it (bug#6478).  Rename got_from_gconf to got_from_system.
2010-06-22 09:55:08 +02:00
Glenn Morris
c50b0f11a5 * lisp/org/org-entities.el: Add explicit utf-8 coding cookie. 2010-06-22 00:51:46 -07:00
Glenn Morris
be19ef0b9b Add some utf-8 coding cookies.
* lisp/calc/calc-aent.el, lisp/calc/calc-ext.el, lisp/calc/calc-lang.el:
* lisp/calc/calc-store.el, lisp/calc/calc-units.el, lisp/calc/calc.el:
* lisp/calc/calccomp.el:
Add explicit utf-8 coding cookies to files with utf-8 characters.
Also delete trailing whitespace.
2010-06-22 00:41:10 -07:00
Jan Djärv
32a679fd52 * font.c (font_parse_fcname): Allow . for sizes like 7.5 (bug#6437). 2010-06-22 08:42:00 +02:00
Karl Fogel
7f0b7b3e87 * lisp/simple.el (compose-mail): Fix doc string to refer to
`compose-mail-user-agent-warnings', instead of to the
  nonexistent `compose-mail-check-user-agent'.
2010-06-21 19:26:46 -04:00
Alan Mackenzie
43a91810d3 Fix an indentation bug:
progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
(c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
of existing values.

progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
(c-clear->-pair-props-if-match-before): now return t when they've cleared
properties, nil otherwise.
(c-before-change-check-<>-operators): Set c-new-beg/end correctly by
taking account of the existing value.

progmodes/cc-defs.el (c-clear-char-property-with-value-function): Fix
this to clear the property rather than overwriting it with nil.
2010-06-21 21:08:26 +00:00
Glenn Morris
b75ddb76f1 * INSTALL: Info files are compressed by default. 2010-06-21 00:37:16 -07:00
Eli Zaretskii
70c4cfbb3b Avoid recentering when lines differ in their height.
xdisp.c (try_scrolling): When scroll-conservatively is set to
 most-positive-fixnum, be extra accurate when scrolling window
 start, to avoid missing the cursor line.
2010-06-20 21:04:30 +03:00
Chong Yidong
8adb4c33da Tweaks to package list UI.
* help-mode.el (help-package): New button type.

* emacs-lisp/package.el (package-print-package): Add link to
package description via describe-package.
(describe-package-1): List package requirements.  Add button to
perform installation.
(package-menu-describe-package): New command.
2010-06-20 00:55:14 -04:00
Chong Yidong
cced75847f Add preliminary describe-package functionality, and some cleanup.
* help-mode.el (help-package-def): New button type.

* menu-bar.el: Move package-list-packages binding here from
package.el.

* emacs-lisp/package.el: Move package-list-packages binding to
menu-bar.el.
(describe-package, describe-package-1, package--dir): New funs.
(package-activate-1): Use package--dir.

* emacs-lisp/package-x.el (gnus-article-buffer): Require package.
2010-06-19 18:36:51 -04:00
Eli Zaretskii
d4aaac0f37 xdisp.c (try_scrolling): Fix last change. 2010-06-19 14:57:19 +03:00
Eli Zaretskii
ad5a12b51b Fix occasional recentering under scroll-conservatively.
xdisp.c (try_scrolling): Compute the limit for searching point
 in forward scroll from scroll_max, instead of an arbitrary limit
 of 10 screen lines.  See
 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00766.html and
 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00773.html for
 details.
2010-06-19 12:40:15 +03:00
Gustav Hållberg
d148e8f9bb * lisp/descr-text.el (describe-char): Avoid trailing whitespace. (Bug#6423) 2010-06-18 19:39:04 -07:00
Stefan Monnier
b1a03ef6bf * lisp/emacs-lisp/edebug.el (edebug-read-list): Phase out old-style backquotes. 2010-06-18 10:05:43 -04:00
Juri Linkov
dbd6da7865 Fix revert-buffer functionality of Help mode and Info.
* lisp/help-mode.el (help-mode): Set buffer-local variable
revert-buffer-function to help-mode-revert-buffer.
(help-mode-revert-buffer): New function.

* lisp/info.el (Info-revert-find-node): Check for major-mode Info-mode
before popping to "*info*" (like in other Info functions).
Keep buffer-name in old-buffer-name.  Keep Info-history-forward in
old-history-forward.  Pop to old-buffer-name or "*info*" to
recreate the killed buffer.  Set Info-history-forward from
old-history-forward.
(Info-breadcrumbs-depth): Add :group and :version.
2010-06-17 23:56:17 +03:00
Dan Nicolaescu
64eba874f5 * lisp/emacs-lisp/package.el (package-menu-mode-map): Add a menu. 2010-06-17 09:41:13 -07:00
Agustín Martín
26508c03ce ispell.el (ispell-aspell-find-dictionary): Fix regexp for full xx_YY search.
This is needed for languages like Portuguese where there are aspell dicts
for pt_BR and pt_PT, not for plain pt. If we strip country part 
`ispell-aspell-find-dictionary' does not find dicts for portuguese.
2010-06-17 16:44:34 +02:00
Juanma Barranquero
54ea2a0d41 emacs-lisp/package.el (package-menu-mode-map): Move initialization into declaration. 2010-06-17 13:02:42 +02:00
Juanma Barranquero
69582fcd16 menu-bar.el (menu-bar-options-menu): Fix typo in menu entry. 2010-06-17 12:45:25 +02:00
Chong Yidong
44198b6ee9 Merge package.el, written by Tom Tromey <tromey@redhat.com>.
Changes relative to version 0.9 of package.el are listed below:

* emacs-lisp/package-x.el: New file.  Package uploading
functionality split out from package.el.

* emacs-lisp/package.el (package-archive-base): Point to
elpa.gnu.org.
(package-enable, package-load-list): New defcustoms.
(package-user-dir, package-directory-list): Turn into defcustoms.
Don't include package-user-dir in package-directory-list.
(package--builtins-base): Don't include Emacs as a "package".
(package-subdirectory-regexp): New var.
(package-load-all-descriptors, package-compute-transaction)
(package-download-transaction): Obey package-load-list.
(package-activate-1): Rename from package-do-activate.
(package-list-packages-internal): Check package-load-list.
(package-load-descriptor, package-generate-autoloads)
(package-unpack, package-unpack-single)
(package--read-archive-file, package-delete): Use
expand-file-name.

* startup.el (command-line): Load packages after reading init
file.
2010-06-16 22:08:10 -04:00
Stefan Monnier
e20f04215a * lisp/emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
handling for `lambda' (misunderstanding).
2010-06-16 20:17:22 -04:00
Jay Belanger
fb3e306a4f calc-poly.el: (math-accum-factors): Make sure that constants aren't distributed
after they are factored out.
2010-06-16 18:27:20 -05:00
Juri Linkov
e020fb59a3 * lisp/facemenu.el (list-colors-display): Call `pop-to-buffer' before
`list-colors-print'.  (Bug#6332)
2010-06-17 00:33:54 +03:00
Stefan Monnier
49b2e83db4 * lisp/emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
specially, since it's a macro.  Fix up wrong hint passed to maybe-cons.
2010-06-16 17:11:06 -04:00
Stefan Monnier
2a64315a11 Merge from emacs-23 2010-06-16 16:08:41 -04:00
Stefan Monnier
36901266a8 * lisp/font-lock.el (font-lock-major-mode): Rename from
font-lock-mode-major-mode to distinguish it from
global-font-lock-mode's own font-lock-mode-major-mode.
(font-lock-set-defaults):
* lisp/font-core.el (font-lock-default-function): Adjust users.
(font-lock-mode): Don't set it at all.

Fixes: debbugs:6135
2010-06-16 16:00:22 -04:00
Stefan Monnier
288cf4e907 * src/lread.c (read1): Phase out old-style backquotes a bit more. 2010-06-16 10:10:02 -04:00
Agustín Martín
30d7ac37e5 ispell.el: Fix portuguese casechars/not-casechars for missing 'çÇ'. (bug#6434). 2010-06-16 15:42:59 +02:00
Michael Albinus
85350e06b0 * auth-source.el (auth-source-pick): If choice does not contain a
questioned keyword, set the check to t.
2010-06-15 22:13:34 +02:00
Juanma Barranquero
8b9f5fe8d8 * etc/NEWS.1-17: Fix typos. 2010-06-15 13:41:21 +02:00
Juanma Barranquero
8fd02581c8 * facemenu.el (list-colors-sort): Doc fix. 2010-06-15 13:05:06 +02:00
Glenn Morris
6fda6a0c40 Backport from trunk: * src/editfns.c (Fbyte_to_string): Pacify compiler. 2010-06-14 23:16:19 -07:00