1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-04-27 08:43:40 -07:00
Commit graph

93295 commits

Author SHA1 Message Date
Jan Djärv
5075d85359 Frame width was not updated in fullscreen when scroll bars where removed/added.
(change_frame_size_1): newwidth == FRAME_COLS  (f) must
also be true before we can return early (bug #5339).
2010-01-08 12:41:57 +01:00
Kenichi Handa
b2752fa936 from trunk 2010-01-08 10:53:29 +09:00
Kenichi Handa
e94be82738 international/fontset.el (build-default-fontset-data): Exclude characters in scripts kana, hangul, han, or cjk-misc. 2010-01-08 10:46:22 +09:00
Juanma Barranquero
1dfae2a207 Fix bug#3224.
* vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
  to `create-file-buffer' as it expects, not just a buffer name.
  (vc-dir-mode): Include the buffer name in `list-buffers-directory',
  to help uniquify.
2010-01-07 23:46:44 +01:00
Jan Djärv
32d59dc3db Merge from trunk 2010-01-06 20:42:27 +01:00
Jan Djärv
b7f8e4f578 Forgot one. 2010-01-06 20:41:25 +01:00
Jan Djärv
d0cf45b702 Fix slowdown and wrong font choosed by XSETTINGS changes. bug #5157.
* font.c (font_open_entity): Enable chache and call cached_font_ok
for the driver if defined.
(QCuser_spec): New symbol.
(font_spec_from_name): Save name as user-spec.
(font_load_for_lface): Keep user-spec instead of name.
(font_open_by_name): Save name as user-spec.
(syms_of_font): Initialize QCuser_spec.

* xftfont.c (xftfont_open): Call xftfont_add_rendering_parameters.
(xftfont_add_rendering_parameters, xftfont_cached_font_ok): New.
(syms_of_xftfont): Initialize xftfont_driver.cached_font_ok.

* font.h (struct font_driver): Add cached_font_ok.

* font-setting.el (font-setting-change-default-font): Use user-spec
  instead of name.
2010-01-06 20:38:39 +01:00
Chong Yidong
474217c83c NS fixes for Bug#3233.
* nsfns.m (ns_get_screen): Rewrite, returning NULL for non-NS.
(Fns_display_usable_bounds): Rewrite, computing bounds properly
(Bug#3233).
2010-01-06 09:41:59 -07:00
Jan Djärv
ea2b370da2 Merge from trunk 2010-01-06 17:04:19 +01:00
Jan Djärv
4270727858 Fixing user-spec for fonts instead of using name. 2010-01-06 17:03:26 +01:00
Jan Djärv
4f6fc25227 xterm.c (x_clear_frame): Queue draw for scroll bars. 2010-01-06 16:57:43 +01:00
Jan Djärv
c0e6d47dc5 xterm.c (x_clear_frame): Queue draw for scroll bars. 2010-01-06 16:55:00 +01:00
Dan Nicolaescu
7534fa5ed2 (vc-bzr-after-dir-status): Ignore pending merges. 2010-01-06 07:11:52 -08:00
Katsumi Yamaoka
8a9082249c Merge from mainline. 2010-01-06 09:16:36 +00:00
Katsumi Yamaoka
770d9a1f45 Merge from mainline. 2010-01-06 00:00:28 +00:00
Chong Yidong
fd579fdca5 * progmodes/python.el (python-font-lock-keywords): Handle qualified decorators
(Bug#881).
2010-01-05 15:11:04 -07:00
Dan Nicolaescu
37860cafd5 (vc-bzr-working-revision): Fix looking for a revision
in a lightweight checkout.
2010-01-05 13:19:34 -08:00
Andreas Schwab
7b47345b7c Fix gnus-summary-recenter to properly handle invisible lines
* gnus-sum.el (gnus-forward-line-ignore-invisible): New function.
(gnus-summary-recenter): Use it instead of forward-line.  (Bug#5257)
2010-01-05 21:37:43 +01:00
Jan Djärv
2889df585a Merge from mainline. 2010-01-05 15:42:39 +01:00
Jan Djärv
451f23ab90 Remove fprintf 2010-01-05 15:30:22 +01:00
Jan Djärv
7c583cd855 Handle change of internal-border width when maximized.
* xterm.c (x_new_font): Move code for setting rows/cols before
resizing ...
(x_set_window_size): ... to here. bug #2568.

* gtkutil.c (xg_clear_under_internal_border): New function.
(xg_frame_resized, xg_frame_set_char_size): Call
xg_clear_under_internal_border.
(xg_update_scrollbar_pos): Clear under old scroll bar position.
2010-01-05 15:16:30 +01:00
Chong Yidong
03f77f0a44 * keyboard.c (read_key_sequence): Catch keyboard switch after
making a new tty frame (Bug#5095).
2010-01-05 07:04:04 -07:00
Kenichi Handa
69db641dfe language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ. 2010-01-05 20:59:03 +09:00
Kenichi Handa
2a1ef5be49 fontset.c (fontset_find_font): Fix getting the frame pointer. 2010-01-05 20:49:19 +09:00
Dan Nicolaescu
b25d6a02fd (vc-bzr-diff): Obey vc-disable-async-diff. 2010-01-04 23:46:35 -08:00
Stefan Monnier
c57008f6ef Avoid dubious uses of save-excursions.
* doc/lispref/positions.texi (Excursions): Recommend the use of
save-current-buffer if applicable.
* doc/lispref/text.texi (Clickable Text): Fix the example code which used
save-excursion in a naive way which sometimes preserves point and
sometimes not.
* doc/lispref/variables.texi (Creating Buffer-Local):
* doc/lispref/os.texi (Session Management):
* doc/lispref/display.texi (GIF Images):
* doc/lispref/control.texi (Cleanups): Use (save|with)-current-buffer.
* doc/misc/gnus.texi (Posting Styles): Use with-current-buffer.
* doc/misc/calc.texi (Defining Simple Commands): Prefer save-current-buffer.
2010-01-04 13:18:38 -05:00
Stefan Monnier
e3eb1dae0d (xd_remove_watch): Avoid trying to convert a void* to
Lisp_Object, preferring to convert a lisp_Object to a void* instead.
(Fdbus_init_bus): Use XHASH to get a scalar value from a Lisp_Object.
2010-01-04 12:38:20 -05:00
Dan Nicolaescu
8e7e22861e (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
(vc-bzr-shelve-menu-map):
(vc-bzr-dir-extra-headers): Improve menu and tooltip text.
(vc-bzr-shelve-apply): Make prompt more explicit.
2010-01-03 22:40:30 -08:00
Dan Nicolaescu
3d5d0aa92f (vc-bzr-log-view-mode): Also highlight the author. 2010-01-03 20:43:23 -08:00
Dan Nicolaescu
137d88ca4b (vc-bzr-state-heuristic): Make it work for lightweight
checkouts.  (Bug#618)
2010-01-03 20:35:21 -08:00
Michael Albinus
777013f2bf * dbusbind.c (xd_add_watch): Improve debug message.
(xd_remove_watch): Improve debug message.  If DATA is the session
bus, unset D-Bus session environment.
(Fdbus_init_bus): Pass the bus as argument to
dbus_connection_set_watch_functions.  (Bug#5283)
2010-01-03 20:27:17 +01:00
Kevin Ryde
798c9eb560 eieio.texi (Naming Conventions): Correction to xref on elisp
coding conventions, is "Tips" node not "Standards".
2010-01-02 23:33:36 +02:00
Eli Zaretskii
2f3725cd1c modes.texi (Example Major Modes): Fix indentation. (Bug#5195) 2010-01-02 22:31:41 +02:00
Chong Yidong
da76998b68 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
They are valid characters in URL paths (rfc3986), and at least
Firefox does not understand the encoded version (Bug#3166).
2010-01-02 15:14:54 -05:00
Chong Yidong
b2ad70b67b Allow use of "end" keyword for terminating Octave-mode blocks.
* progmodes/octave-mod.el (octave-end-keywords)
(octave-block-begin-or-end-regexp, octave-block-match-alist): Add
"end" keyword (Bug#3061).
(octave-end-as-array-index-p): New function.
(calculate-octave-indent): Use it.
2010-01-02 14:40:59 -05:00
Chong Yidong
61f49e0bb6 Fix last change to message-exchange-point-and-mark.
* message.el (message-exchange-point-and-mark): Rework last change to
avoid using optional arg of exchange-point-and-mark, for backward
compatibility.
2010-01-02 14:18:44 -05:00
Karl Fogel
5413628238 * lisp/bookmark.el: Consistently put the text property on the bookmark name.
(bookmark-bmenu-marks-width): Bump back to 2, to include annotation marks.
  (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
    property on the bookmark name, instead of not putting it at all.
  (bookmark-bmenu-list): Fix where we put the text property.
2010-01-02 14:14:13 -05:00
Karl Fogel
74255a512c * lisp/bookmark.el: Ahh, remove silly debugging cruft, sorry for the noise. 2010-01-02 14:03:25 -05:00
Karl Fogel
cc4d3cad09 * lisp/bookmark.el (bookmark-bmenu-save): Just depend on the new logic
for showing buffer modified state (as added in the previous change).
2010-01-02 13:57:02 -05:00
Chong Yidong
85eeac935f Consistently hex notation to represent character codes.
* nonascii.texi (Text Representations, Character Codes)
(Converting Representations, Explicit Encoding)
(Translation of Characters): Use hex notation consistently.
(Character Sets): Fix map-charset-chars doc (Bug#5197).
2010-01-02 13:55:19 -05:00
Karl Fogel
b894c43953 * lisp/bookmark.el: Show modified state of bookmark buffer more accurately.
(bookmark-bmenu-list): Initialize buffer-modified-p properly.
  (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
  (with-buffer-modified-unmodified): New macro.
  (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames,
  bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
  Use new macro to preserve the buffer-modified state.
2010-01-02 13:52:32 -05:00
Karl Fogel
3a69db535c * lisp/bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window,
(bookmark-bmenu-2-window, bookmark-bmenu-this-window)
  (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
  (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
  (bookmark-bmenu-rename, bookmark-bmenu-locate)
  (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark): Remove
  unnecessary calls to `bookmark-bmenu-ensure-position'.
2010-01-02 13:13:28 -05:00
Eli Zaretskii
af414f10d8 emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Make
the lines in the generated doc string shorter.  (Bug#4668)
2010-01-02 19:33:54 +02:00
Chong Yidong
f2ec0e5e49 * lisp/net/rcirc.el: Add follow-link binding (Bug#4738). 2010-01-02 11:13:22 -05:00
Eli Zaretskii
38c1ba62af Rename cvs-update to bzr-update in lisp/ Makefiles.
Makefile.in (bzr-update): Renamed from cvs-update.
 (cvs-update): New target for backward compatibility.

 makefile.w32-in (bzr-update): Renamed from cvs-update.
(cvs-update): New target for backward compatibility.
2010-01-02 12:42:11 +02:00
Eli Zaretskii
ab50731188 .bzrignore: Add more ignored patterns, including for the MS-DOS build. 2010-01-02 11:40:28 +02:00
Karl Fogel
ea2c0f5b94 * lisp/bookmark.el: Remove gratuitous gratitude. 2010-01-02 03:09:17 -05:00
Karl Fogel
479899451b * lisp/bookmark.el (bookmark-bmenu-any-marks): New function
(bookmark-bmenu-save): Clear buffer modification if no marks.
2010-01-02 02:08:02 -05:00
Karl Fogel
5ae329f4c8 * lisp/bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
(bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
  positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
  This fixes the `bookmark-bmenu-execute-deletions' bug reported here:

  http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
  From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
  To: emacs-devel {_AT_} gnu.org
  Subject: bookmark.el bug report
  Date: Mon, 28 Dec 2009 14:19:16 +0800
  Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
2010-01-02 00:00:55 -05:00
Karl Fogel
aef053eb79 * lisp/bookmark.el: Improvements suggested by Drew Adams:
(bookmark-bmenu-ensure-position): New name for
  `bookmark-bmenu-check-position'.  Just ensure the position;
  don't return any meaningful value.
  (bookmark-bmenu-header-height, bookmark-bmenu-marks-width): New constants.
2010-01-01 23:36:17 -05:00