1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-27 15:40:47 -08:00
Commit graph

93305 commits

Author SHA1 Message Date
Chong Yidong
4d9bbfa616 * compile.el (compilation-read-command): Doc fix. 2010-01-09 16:14:50 -05:00
Juanma Barranquero
6ee867808a Fix bug#5345: password asked when visiting files on a lightweight checkout.
* vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
  URLs with a leading triple slash in the file: scheme.
2010-01-09 22:03:33 +01:00
Chong Yidong
fa7b5f7b98 Fix compile-command's safe-local-variable condition.
* progmodes/compile.el: Don't treat compile-command as safe if
compilation-read-command might be nil (Bug#4218).
2010-01-09 15:53:55 -05:00
Chong Yidong
e5a29a1070 Fix for Bug#4113.
* nsterm.m (ns_set_default_prefs): Delete function.
(syms_of_nsterm): Initialize ns_command_modifier,
ns_control_modifier, ns_function_modifier, ns_antialias_text, and
ns_antialias_threshold here, not in ns_term_init (Bug#4113).
2010-01-09 15:31:26 -05:00
Chong Yidong
2f1c63846e * xdisp.c (pos_visible_p): Check for invisible text at the correct pos (Bug#4040). 2010-01-09 14:48:16 -05:00
Eli Zaretskii
d427a9fad2 editfns.c (Ffloat_time): Doc fix. 2010-01-09 16:16:10 +02:00
Jan Djärv
21b9df2f5a (Fx_create_frame): Don't create frame larger than display by default bug#3643. 2010-01-09 14:26:23 +01:00
Jan Djärv
de62c4d98f (command-line-1): Use orig-argi to check for ignored X and NS options. 2010-01-09 13:31:29 +01:00
YAMAMOTO Mitsuharu
4b00d3b159 Make line<->pixel_y conversion macros aware of native menu/tool bars.
They are placed above the internal border.  This supersedes special
treatment of native tool bars in the display code.

This fixes wrong display position of native menu bars and bogus mouse
highlighting of native tool bars, both of which can be found when
internal border width is large.  Also it fixes wrong flashed part on
visible bell with native menu bars.

* frame.h (FRAME_TOP_MARGIN_HEIGHT): New macro.
(FRAME_LINE_TO_PIXEL_Y, FRAME_PIXEL_Y_TO_LINE): Take account of pseudo
windows above internal border.

* window.h (WINDOW_MENU_BAR_P, WINDOW_TOOL_BAR_P): New macros.
(WINDOW_TOP_EDGE_Y, WINDOW_BOTTOM_EDGE_Y): Take account of pseudo
windows above internal border.

* xdisp.c (get_glyph_string_clip_rects, init_glyph_string): Don't treat
tool bar windows specially.

* xfns.c (x_set_tool_bar_lines): Take account of menu bar height.

* xterm.c (x_after_update_window_line): Don't treat tool bar windows
specially.
(XTflash): Take account of menu bar height.

* w32term.c (x_after_update_window_line): Don't treat tool bar windows
specially.
2010-01-09 13:16:32 +09:00
Eli Zaretskii
69e2f18578 Fix format. 2010-01-08 23:42:14 +02:00
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