1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-12 14:30:42 -08:00
Commit graph

94079 commits

Author SHA1 Message Date
Jan Djärv
3e6bec3b8c Set WM_CLIENT_MACHINE and _NET_WM_PID properties (Bug#5828).
* xfns.c (set_machine_and_pid_properties): New function.
         (Fx_create_frame): Call set_machine_and_pid_properties.
2010-04-04 12:47:12 +02:00
Eli Zaretskii
feb72cfb93 Improve commentary of handle_stop_backwards. 2010-04-04 12:30:38 +03:00
John Wiegley
0523d11710 2010-04-04 John Wiegley <jwiegley@gmail.com>
* ido.el (ido-use-virtual-buffers): New variable to indicate
	whether "virtual buffer" support is enabled for IDO.  Essentially
	it works as follows: Say you are visiting a file and the buffer
	gets cleaned up by mignight.el.  Later, you want to switch to that
	buffer, but find it's no longer open.  With virtual buffers
	enabled, the buffer name stays in the buffer list (using the
	ido-virtual face, and always at the end), and if you select it, it
	opens the file back up again.  This allows you to think less about
	whether recently opened files are still open or not.  Most of the
	time you can quit Emacs, restart, and then switch to a file buffer
	that was previously open as if it still were.  NOTE: This feature
	has been present in iswitchb for several years now, and I'm
	porting the same logic to IDO.
	(ido-virtual): Face used to indicate virtual buffers in the list.
	(ido-buffer-internal): If a buffer is chosen, and no such buffer
	exists, but a virtual buffer of that name does (which would be why
	it was in the list), recreate the buffer by reopening the file.
	(ido-make-buffer-list): If virtual buffers are being used, call
	`ido-add-virtual-buffers-to-list' before the make list hook.
	(ido-virtual-buffers): New variable which contains a copy of the
	current contents of the `recentf-list', albeit pared down for the
	sake of speed, and with proper faces applied.
	(ido-add-virtual-buffers-to-list): Using the `recentf-list',
	create a list of "virtual buffers" to present to the user in
	addition to the currently open set.  Note that this logic could
	get rather slow if that list is too large.  With the default
	`recentf-max-saved-items' of 200, there is little speed penalty.
2010-04-04 02:55:19 -04:00
Stefan Monnier
202ff0d6ee * font-lock.el: Require CL when compiling.
(font-lock-turn-on-thing-lock): Use `case'.
2010-04-03 16:10:14 -04:00
Eli Zaretskii
0157365cb2 Fix merge conflicts in ldefs-boot.el. 2010-04-03 16:59:53 +03:00
Eli Zaretskii
1502b81937 Fix infloop in bidi buffers with vertical cursor motion at ZV.
bidi.c (bidi_resolve_explicit, bidi_level_of_next_char): Check
 bidi_it->bytepos against ZV_BYTE instead of bidi_it->ch against
 BIDI_EOB.
2010-04-03 16:43:23 +03:00
Eli Zaretskii
83d02defce Fix typo in src/ChangeLog. 2010-04-03 12:09:56 +03:00
Eli Zaretskii
8e13db7799 Revert last change in batch-update-authors. 2010-04-03 12:04:46 +03:00
Eli Zaretskii
ef43a0f4b0 Fix bug in batch-update-authors. Add bidi to AUTHORS.
emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli Zaretskii.
 (batch-update-authors): Fix popping arguments from command line.
2010-04-03 11:59:36 +03:00
Juanma Barranquero
b372fceb03 Add stubs for Windows, required after CVE-2010-0825 change.
* ntlib.c (getgid, getegid, setegid): New stubs.
* ntlib.h (getgid, getegid, setegid): Declare them.
2010-04-03 04:23:51 +02:00
Stefan Monnier
2912322b80 Merge from emacs-23 2010-04-02 21:54:24 -04:00
Chong Yidong
d86d8ea85a Bump version to 23.1.95. 2010-04-02 20:42:10 -04:00
Dan Nicolaescu
a568f507d1 * m/intel386.h (NO_REMAP): Move definition ...
* s/msdos.h (NO_REMAP): ... here.
2010-04-02 17:24:53 -07:00
Dan Nicolaescu
4cd9f6c2f9 * m/vax.h (CRT0_DUMMIES): Remove, unused. 2010-04-02 17:20:04 -07:00
Dan Nicolaescu
c435b43224 * ecrt0.c: Remove MSDOS, m68k and __sparc__ conditionals, file not
used on those platforms.
2010-04-02 17:06:38 -07:00
Juri Linkov
9c13a46e07 * ehelp.el (electric-help-orig-major-mode): New buffer-local variable.
(electric-help-mode): Set it to original major-mode.  Doc fix.
(with-electric-help): Use `electric-help-orig-major-mode' instead
of (default-value 'major-mode).  Doc fix.
http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
2010-04-03 02:01:22 +03:00
Sam Steingold
dbb5e44a98 (bug-reference-bug-regexp): Also accept "patch" and "RFE".
(bug-reference-fontify): `bug-reference-url-format' can also be a
function to be able to handle the bug kind.
(turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add
2010-04-02 13:24:37 -04:00
Chong Yidong
51a91f9da6 Fix permissions handling (CVE-2010-0825).
* movemail.c (main): Check return values of setuid.  Avoid
possibility of symlink attack when movemail is setgid mail
(CVE-2010-0825).
2010-04-02 11:26:24 -04:00
Chong Yidong
c8f19d8102 Fix permissions handling (CVE-2010-0825).
* movemail.c (main): Check return values of setuid.  Avoid
possibility of symlink attack when movemail is setgid mail
(CVE-2010-0825).
2010-04-02 11:24:16 -04:00
Jan Djärv
a9ae306fe4 Fix previous fix. Parantesis misplaced. 2010-04-02 17:18:25 +02:00
Jan Djärv
1fa9b3a675 Fix previous fix. 2010-04-02 17:15:05 +02:00
Sam Steingold
3fb87bf50d (vc-hg-push, vc-hg-pull): Use `apply' when calling
`vc-hg-command' with a list of flags.
2010-04-02 10:21:57 -04:00
Jan Djärv
7a5a264fc2 Merge from trunk 2010-04-02 11:45:27 +02:00
Jan Djärv
d0b228766f tmm.el (tmm-get-keymap): Check with symbolp before passing
value to fboundp, it may not be a symbol.
2010-04-02 11:44:50 +02:00
Eli Zaretskii
9cb52861f2 xdisp.c (set_cursor_from_row): Improve comments. 2010-04-02 12:35:01 +03:00
Eli Zaretskii
52f4d8d5bb Fix typos and formatting in ChangeLog entries. 2010-04-02 12:12:21 +03:00
Dan Nicolaescu
42a2c62292 Remove extern errno declarations.
* xterm.c:
* xrdb.c:
* w32term.c:
* unexec.c:
* unexaix.c:
* sysdep.c:
* process.c:
* lread.c:
* keyboard.c:
* floatfns.c:
* filelock.c:
* fileio.c:
* emacs.c (main):
* ecrt0.c:
* dispnew.c:
* callproc.c:
* buffer.c: Remove errno extern declarations.
* s/netbsd.h (NEED_ERRNO): Remove.

* movemail.c:
* etags.c:
* emacsclient.c: Remove extern errno declarations.
2010-04-01 20:10:33 -07:00
Juanma Barranquero
e4b204d75f Fix typos in semantic/imenu.el.
* cedet/semantic/imenu.el (semantic-imenu-bucketize-type-members)
  (semantic-create-imenu-directory-index): Fix typos in docstrings.
  (semantic-imenu-goto-function): Reflow docstring.
2010-04-02 04:25:19 +02:00
Juanma Barranquero
194d44e717 Fix typos in ChangeLogs. 2010-04-02 04:22:17 +02:00
Dan Nicolaescu
8224f93d18 Remove all uses of LIBX11_SYSTEM.
* Makefile.in (LIBX11_SYSTEM): Remove.
* s/msdos.h (LIBX11_SYSTEM): Do not define, define LIBS_SYSTEM
instead.

* configure.in: Remove all references to LIBX11_SYSTEM.
2010-04-01 16:08:14 -07:00
Andreas Schwab
d7b4879190 Use correct coding system when verifying a pgp signed message
* mm-uu.el (mm-uu-pgp-signed-extract-1): Use buffer-file-coding-system
if set.
2010-04-01 17:34:05 +02:00
Eli Zaretskii
796bb9364a Remove support for DJGPP v1.x (bug#5813).
CPP-DEFINES (__DJGPP__, __GO32__): Remove, no longer used.
2010-04-01 18:29:04 +03:00
Chong Yidong
8a14dec7ef Fix markup mistake in nonascii.texi.
* nonascii.texi (Text Representations): Don't mark enable-multibyte-characters as a user option.
2010-04-01 11:24:53 -04:00
Chong Yidong
8cc8cecf9c Fix typo. 2010-04-01 11:15:28 -04:00
Eli Zaretskii
a039ec6303 msdos.c: Fix last change. 2010-04-01 18:15:16 +03:00
Eli Zaretskii
ed68db4d2c Remove support for DJGPP v1.x (bug#5813).
src/:
 w16select.c (__dpmi_int): Remove DJGPP v1.x compatibility.
 s/msdos.h: 
 unexec.c (make_hdr, copy_text_and_data): 
 sysdep.c (wait_for_termination, sys_subshell): 
 msdos.c (dos_set_window_size, msdos_set_cursor_shape)
 (IT_set_terminal_modes): 
 (__write, _rename, gethostname, gettimeofday, alarm, fork, kill)
 (dos_ttraw, dos_ttcooked, run_msdos_command, abort): Remove DJGPP
 v1.x code and tests of the value of __DJGPP__.
 (nice, pause, sigsetmask, sigblock): Remove DJGPP v1.x
 compatibility code.
 lread.c: 
 gmalloc.c (memalign): 
 fileio.c (Fcopy_file, check_executable, Ffile_modes): 
 emacs.c (main): 
 dosfns.c (init_dosfns): 
 dired.c (file_name_completion_stat): Remove tests of __DJGPP__.

 msdos/:
 sed3.inp:
 sed2.inp:
 sed1.inp:
 mainmake: Files removed.
2010-04-01 17:59:46 +03:00
Eli Zaretskii
814062c766 Fix bug #5816.
xdisp.c (set_cursor_from_row): Fix cursor positioning when the
 string with `cursor' property comes from an `after-string' overlay.
2010-04-01 15:37:28 +03:00
Katsumi Yamaoka
357e2d8ec0 (Finding the News): Add pointers to the Server buffer because it's essential.
By Teodor Zlatanov <tzz@lifelogs.com>.
2010-04-01 10:55:01 +00:00
Glenn Morris
0dc2e11dfd Cosmetic change to src/Makefile.in.
* Makefile.in (LIBTIFF, LIBJPEG, LIBPNG, LIBGIF, LIBXPM, XFT_LIBS):
Define as Makefile variables.
(LIBX): Use above variables rather than directly using autoconf.
2010-04-01 00:10:31 -07:00
Chong Yidong
6521c534c4 [merge] Fix last set of Nextstep changes.
* nsfns.m (ns_set_doc_edited): Remove unused arg OLDVAL.
* nsterm.h: Fix prototype.
2010-03-31 18:28:12 -04:00
Chong Yidong
1625d379e0 * cus-edit.el (custom-buffer-sort-alphabetically): Update :version. 2010-03-31 18:22:17 -04:00
Dan Nicolaescu
1d29df5994 Clean up BSD_SYSTEM use.
* xterm.c:
* process.c:
* emacs.c: Use HAVE_SYS_IOCTL_H instead of BSD_SYSTEM as a guard
for including <sys/ioctl.h>.
* sysdep.c (wait_without_blocking): Remove BSD_SYSTEM case, this
code is only used for MSDOS.
2010-03-31 13:39:03 -07:00
Juri Linkov
1cd095c67c * simple.el (next-line, previous-line): Re-throw a signal
with `signal' instead of using `ding'.
http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
2010-03-31 18:16:12 +03:00
Juri Linkov
67189e6238 * simple.el (keyboard-escape-quit): Raise deselecting the active
region higher than exiting the minibuffer.
http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
2010-03-31 18:02:53 +03:00
Juri Linkov
1546c55901 Rename image-extension-data' to image-metadata'.
http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01456.html

* image.c: Add `Qextension_data'.
(syms_of_image): Initialize and staticpro `Qextension_data'.
(Fimage_metadata): Rename from `Fimage_extension_data'.
(gif_load): Put GIF extension data to the property
`Qextension_data'.

* image.el (image-animated-p): Use `image-metadata' instead of
`image-extension-data'.  Get GIF extenstion data from metadata
property `extension-data'.
2010-03-31 17:55:01 +03:00
Eli Zaretskii
52c3078336 Fix highlight of trailing whitespace is right-to-left lines.
xdisp.c (highlight_trailing_whitespace): Support highlight of
 trailing whitespace in right-to-left rows.
2010-03-31 17:28:16 +03:00
Chong Yidong
95b1abcfaf Fix last set of Nextstep changes.
* nsfns.m (ns_set_doc_edited): Remove unused arg OLDVAL.
* nsterm.h: Fix prototype.
2010-03-31 10:27:50 -04:00
Eli Zaretskii
7a1831cf75 Explain how to re-throw a signal.
control.texi (Handling Errors): How to re-throw a signal caught
 by condition-case.
2010-03-31 12:43:53 +03:00
Eli Zaretskii
4a217bedd4 Fix bug #5703.
w32fns.c (x_create_tip_frame): Copy `parms' before we modify it
 in this function.
2010-03-31 12:08:40 +03:00
Katsumi Yamaoka
d35ad51f14 Update. 2010-03-31 06:45:38 +00:00