1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-14 09:39:42 +00:00
Commit Graph

94042 Commits

Author SHA1 Message Date
Eli Zaretskii
134a027f69 mail/rmailmm.el (rmail-mime-save): Make the temp buffer unibyte,
so compressed attachments are not compressed again.

 See http://lists.gnu.org/archive/html/emacs-devel/2010-07/msg00599.html
2010-07-16 12:59:37 +03:00
Jan D
243881ed13 * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
now that unicode is used (Bug#6594).
2010-07-14 19:53:42 +02:00
Chong Yidong
5cbce271a6 * simple.el (push-mark-command): Set selection for select-active-regions. 2010-07-14 12:11:39 -04:00
Jan D
b78f97676f Fix menus as per bug 6499 and 6608.
* gtkutil.c (xg_event_is_for_menubar): New function (Bug#6499).

* gtkutil.h (xg_event_is_for_menubar): Declare.

* xfns.c (x_menubar_window_to_frame): Take XEvent as second parameter
instead of Window.  Call xg_event_is_for_menubar when
USE_GTK (Bug#6499).

* xmenu.c (x_activate_menubar): Revert previous fix for Bug#6499,
i.e. don't put back ButtonRelease (Bug#6608).

* xterm.c (handle_one_xevent): Pass event to x_menubar_window_to_frame.

* xterm.h (x_menubar_window_to_frame): Second parameter is XEvent*.
2010-07-14 12:05:53 +02:00
Eli Zaretskii
1f60c16a17 Fix bug #6609.
w32fns.c (x_set_foreground_color): Fix setting the cursor color
 when it's the same as the old foreground.
2010-07-14 10:40:52 +03:00
Glenn Morris
3260caf88a cal-tex.el fixes for calendar-week-start-day != 0.
* calendar/calendar.el (calendar-week-end-day): New function.
* calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
Respect calendar-week-start-day.  (Bug#6606)
(cal-tex-insert-day-names, cal-tex-insert-blank-days)
(cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
(cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
respect calendar-week-start-day.
2010-07-10 16:34:57 -07:00
Chong Yidong
e5b826aed0 Fix last fix. 2010-07-10 18:41:55 -04:00
Chong Yidong
c876b2638b * simple.el (use-region-p): Doc fix (Bug#6607). 2010-07-10 15:32:53 -04:00
Chong Yidong
7c33a05722 * xfaces.c (realize_face): Garbage the frame if a face is removed
(Bug#6593).
2010-07-10 13:58:29 -04:00
Christoph Scholtes
4565b08e18 Add some font-locking for Python 2.7.
* lisp/progmodes/python.el (python-font-lock-keywords): Add Python 2.7
builtins (BufferError, BytesWarning, WindowsError; callables
bin, bytearray, bytes, format, memoryview, next, print; __package__).
2010-07-06 21:46:58 -07:00
Glenn Morris
4955438820 Minor zone.el fix.
* play/zone.el (zone-fall-through-ws): Fix next-line -> forward-line fallout.
2010-07-06 20:52:05 -07:00
Chong Yidong
e8579ebc15 Minor fix to describe-key, and a docstring.
* help.el (describe-key): Print up-event using key-description.

* mouse.el (mouse-appearance-menu): Add docstring.
2010-07-06 15:42:46 -04:00
Andreas Schwab
9d70a3fc8e Remove obsolete volatile
* keyboard.c: Remove duplicate <setjmp.h>.
	(read_key_sequence): Remove volatile qualifiers.
2010-07-05 19:16:59 +02:00
YAMAMOTO Mitsuharu
5a874e95ef Fix ghost buffer boundary indicators in fringes (Bug#5634, Bug#6325).
* dispextern.h (FRINGE_HEIGHT_BITS): New define.
(struct glyph_row): New members left_fringe_offset and
right_fringe_offset.

* xterm.c (x_draw_fringe_bitmap): Don't clip bottom aligned bitmap
specially.
* w32term.c (w32_draw_fringe_bitmap): Likewise.
* nsterm.m (ns_draw_fringe_bitmap): Likewise.

* fringe.c (draw_fringe_bitmap_1): Don't clip bitmap here.
Take account of	bitmap offset.
(draw_window_fringes): Take account of window vscroll.
(update_window_fringes): Likewise.  Extend top-aligned top indicator
or bottom-aligned bottom indicator to adjacent rows if it doesn't fit
in one row.  Don't set redraw_fringe_bitmaps_p outside row comparison.
Set left_fringe_offset and right_fringe_offset (Bug#5634, Bug#6325).
2010-07-05 18:58:31 +09:00
Juanma Barranquero
0682186e3a src/w32fns.c (Qtooltip): Declare.
Suggested by Andy Moreton <andrewjmoreton@gmail.com>.
2010-07-04 02:59:56 +02:00
Michael Albinus
5d1cd8bd9f * net/zeroconf.el (zeroconf-resolve-service)
(zeroconf-service-resolver-handler): Use
`dbus-byte-array-to-string'.
(zeroconf-publish-service): Use `dbus-string-to-byte-array'.
2010-07-03 13:12:53 +02:00
Michael Albinus
112dbc0eee * net/zeroconf.el (zeroconf-service-remove-hook): New defun. 2010-07-03 12:52:17 +02:00
Jan D
ad3e6f4474 Fix hang for mouse press on menubar but not on an item (Bug#6499).
* xmenu.c (x_activate_menubar): Send Press/Release for Gtk+ to avoid
grab on just Press (Bug#6499).
2010-07-03 11:38:44 +02:00
Chong Yidong
54ee7410c5 Fix faulty `if' statement in delete_frame.
* frame.c (Qtooltip): New var.
(delete_frame): Use it.  Fix faulty if statement.  Don't update
mode line for tooltip frames.  Suggested by Martin Rudalics.

* xfns.c (x_create_tip_frame):
* w32fns.c (x_create_tip_frame): Use it.
2010-07-02 12:35:08 -04:00
Dan Nicolaescu
d0cb23caf4 Avoid displaying files with a nil state in vc-dir.
* lisp/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
cases that cause insertion.
(vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
with a nil state.
2010-06-30 15:03:07 -07:00
Chong Yidong
01b229d127 * xml.el (xml-parse-region): Avoid infloop (Bug#5281). 2010-06-30 16:34:06 -04:00
Naohiro Aota
3d8416fce9 Check FC_DUAL too. For such fonts, check width one by one (Bug#4129).
* xftfont.c (xftfont_open): Check font width one by one also when
spacing is dual.

* ftfont.c (ftfont_open): Ditto.
2010-06-30 10:22:18 -04:00
Juanma Barranquero
8bf1c7863f lisp/ChangeLog: Remove "(tiny change)" note. 2010-06-29 22:41:04 +02:00
Leo Liu
a354ac6a0c emacs-lisp/rx.el (rx): Doc fix. (Bug#6537) 2010-06-29 14:09:07 +02:00
Juanma Barranquero
b6f9df0f5d *** empty log message *** 2010-06-27 23:57:39 +02:00
Chong Yidong
dfc6544ca0 Font lock fix for batch mode (Bug#5719).
* generic-x.el (bat-generic-mode): Fix regexp for command line
switches (Bug#5719).
2010-06-27 14:43:34 -04:00
Chong Yidong
b7d4de5185 Minor fix for htmlfontify.el (Bug#6239).
* htmlfontify.el (hfy-face-attr-for-class): Use `append' instead
of `nconc' (Bug#6239).
2010-06-27 14:24:42 -04:00
Chong Yidong
3726248fdc Remove unnecessary let-bindings in bookmark.el (Bug#6515)
* bookmark.el (bookmark-bmenu-2-window)
(bookmark-bmenu-other-window)
(bookmark-bmenu-other-window-with-mouse): Remove unnecessary
bindings of bookmark-automatically-show-annotations (Bug#6515).
2010-06-27 14:03:26 -04:00
Glenn Morris
39f8a48b18 Fix typos in some Keywords comments. 2010-06-26 14:01:38 -07:00
Andreas Schwab
15b72850c1 Update cl-loaddefs.el 2010-06-26 20:49:18 +02:00
Andreas Schwab
b1feb9b4ec * alloc.c (Fmake_byte_code): Don't access undefined argument (Bug#6517). 2010-06-26 20:47:35 +02:00
Eli Zaretskii
aca5419174 Fix bugs #6144 and #6467.
arc-mode.el (archive-zip-extract): Don't quote the file name on
 MS-Windows and MS-DOS.  (Bug#6467, Bug#6144)
2010-06-25 14:42:47 +03:00
Chong Yidong
c7dd974307 Fix after-string and image interaction bug (Bug#1336).
* xdisp.c (next_element_from_image): Ensure that after-strings are
read the next time we hit handle_stop (Bug#1336).
2010-06-24 20:30:55 -04:00
Chong Yidong
51422d6dde Clarify command loop's role in undo boundary (Bug#2433).
* text.texi (Undo): Clarify command loop behavior (Bug#2433).
* commands.texi (Command Overview): Mention undo-boundary call.
2010-06-24 15:05:47 -04:00
Glenn Morris
62e034c228 Minor doc/misc/*.texi direntry fixes.
* ada-mode.texi, auth.texi, autotype.texi, calc.texi, cc-mode.texi:
* dired-x.texi, ebrowse.texi, ede.texi, edt.texi, eieio.texi:
* emacs-mime.texi, epa.texi, erc.texi, eshell.texi, eudc.texi:
* flymake.texi, gnus.texi, info.texi, mairix-el.texi, message.texi:
* newsticker.texi, org.texi, pgg.texi, rcirc.texi, reftex.texi:
* remember.texi, sasl.texi, semantic.texi, ses.texi, smtpmail.texi:
* speedbar.texi, tramp.texi, url.texi, viper.texi, widget.texi:
* woman.texi:
Start direntry descriptions in column 32, per Texinfo convention.
Make them end with a period.
2010-06-24 00:10:51 -07:00
Štěpán Němec
2330fa87a5 Doc fix.
* lisp/comint.el (make-comint, make-comint-in-buffer): Mention return
value in the docstrings.  (Bug#6498)
2010-06-23 23:38:09 -07:00
Yoni Rabkin
29115ca9b0 Minor bs.el font-lock change.
* lisp/bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired
pattern, since it is not present when using some non-default switches.
2010-06-23 23:30:51 -07:00
Andreas Schwab
5721b4ed16 * lread.c (read1): Signal error if #s is not followed by paren. 2010-06-23 10:22:36 +02:00
Glenn Morris
b1fbbb32e1 Remove remaining tabs from non-verbatim in doc/misc/*.texi. 2010-06-23 00:44:09 -07:00
Glenn Morris
0351f24c13 Entry for previous change. 2010-06-22 23:40:31 -07:00
Glenn Morris
53507b2c59 Remove some unimportant tabs from examples in some *.texi files. 2010-06-22 23:35:06 -07:00
Glenn Morris
d24880de8b Untabify doc/lispref/*.texi.
* abbrevs.texi, commands.texi, compile.texi, debugging.texi:
* display.texi, edebug.texi, elisp.texi, eval.texi, files.texi:
* frames.texi, functions.texi, internals.texi, keymaps.texi:
* loading.texi, minibuf.texi, numbers.texi, os.texi, processes.texi:
* searching.texi, sequences.texi, strings.texi, syntax.texi:
* text.texi, tips.texi, vol1.texi, vol2.texi, windows.texi:
Untabify Texinfo files.
2010-06-22 20:36:56 -07:00
Karl Fogel
2c79f05378 Backport from trunk: doc fix.
* 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-22 20:07:20 -07:00
Glenn Morris
b11867f956 * info/dir: Start descriptions in column 32, per Texinfo convention. 2010-06-22 20:01:35 -07:00
Glenn Morris
9360256ab9 Untabify doc/misc/*.texi.
* autotype.texi, cl.texi, dired-x.texi, ebrowse.texi, ede.texi:
* eieio.texi, faq.texi, flymake.texi, forms.texi, gnus-faq.texi:
* idlwave.texi, mh-e.texi, org.texi, pcl-cvs.texi, pgg.texi:
* reftex.texi, sasl.texi, sc.texi, sem-user.texi, semantic.texi:
* sieve.texi, smtpmail.texi, speedbar.texi, vip.texi, viper.texi:
* widget.texi: Untabify (except for examples).
2010-06-22 19:57:26 -07:00
Glenn Morris
e0e10d9d19 * doc/lispintro/emacs-lisp-intro.texi: Untabify. 2010-06-22 19:51:01 -07:00
Glenn Morris
8838673ef1 Untabify doc/emacs/*.texi files.
* abbrevs.texi, basic.texi, buffers.texi, building.texi, calendar.texi:
* custom.texi, dired.texi, display.texi, emacs.texi, emerge-xtra.texi:
* files.texi, fortran-xtra.texi, frames.texi, help.texi, killing.texi:
* maintaining.texi, mark.texi, mini.texi, misc.texi, msdog.texi:
* programs.texi, rmail.texi, screen.texi, search.texi, sending.texi:
* text.texi, trouble.texi, vc1-xtra.texi, xresources.texi:
Untabify Texinfo files.
2010-06-22 19:46:43 -07:00
Dan Nicolaescu
50d76a9f7d Fix vc-annotate for renamed files when using Git.
* lisp/vc-git.el (vc-git-find-revision): Deal with empty results from
ls-files.  Doe not pass the object as a file name to cat-file, it
is not a file name.
(vc-git-annotate-command): Pass the file name using -- to avoid
ambiguity with the revision.
(vc-git-previous-revision): Pass a relative file name.
2010-06-22 12:25:17 -07:00
Glenn Morris
75468d7124 * lisp/font-setting.el: Fix previous change. 2010-06-22 00:37:07 -07:00
Glenn Morris
e9dc55ba85 * dnd.el, font-setting.el, x-dnd.el: Use utf-8 coding (for author name). 2010-06-22 00:10:16 -07:00