Kim F. Storm [Tue, 5 Nov 2002 22:39:07 +0000 (22:39 +0000)]
(Info-fontify-node): Fixed hiding of *note references
with embedded file names like (xxx.yyy).
Avoid making any lines visibly longer if hiding newlines inside
note references by wrapping line after references if it contained
a newline (unfortunaly this makes more lines appear "shorter").
Properly reindent multi-line menu entry descriptions.
(find-buffer-visiting): Accept new optional PREDICATE argument to return only a
buffer that satisfies the predicate.
(insert-file-1): New function.
(insert-file-literally): Use it.
(insert-file): Use it.
(Fcall_interactively): New local filter_specs.
(Fcall_interactively): Check for progn as well as let.
Add a gcpro.
(Qprogn): New variable.
(syms_of_callint): Staticpro and init Qprogn.
Stefan Monnier [Sun, 3 Nov 2002 12:01:33 +0000 (12:01 +0000)]
(Info-streamline-headings): New var.
(Info-dir-remove-duplicates): New fun.
(Info-insert-dir): Use it. Simplify the code with push,mapc,dolist.
(Info-select-node): Simplify handling of Info-header-line.
(Info-forward-node): Undo 2000/12/15 since we don't narrow any more.
(Info-mode): Set header-line-format once and for all.
(Info-fontify-node): Accept bogus first line with `File:' missing.
Only make first line invisible if Info-use-header-line.
Don't use `intangible': it's evil. Use inhibit-read-only.
(Info-follow-reference, Info-next-reference, Info-prev-reference)
(Info-try-follow-nearest-node): Don't bind inhibit-point-motion-hooks
since we don't use intangible any more.
Stefan Monnier [Sat, 2 Nov 2002 05:29:13 +0000 (05:29 +0000)]
(server-sentinel): Kill buffers if applicable.
(server-temp-file-p): Make arg optional.
(server-done): Use it to simplify.
(server-switch-buffer): If server-window is a function, use it.
Kim F. Storm [Fri, 1 Nov 2002 22:48:12 +0000 (22:48 +0000)]
(Info-hide-note-references): nil value now does no
reformatting at all. New choice 'tag reformats tag but shows
the section reference.
(Info-fontify-node): Use it.
Stefan Monnier [Fri, 1 Nov 2002 20:13:54 +0000 (20:13 +0000)]
(unuse_menu_items): New fun.
(menu_items_inuse): New var.
(syms_of_xmenu): Initialize it.
(init_menu_items): Use it to detect re-entrance.
(Fx_popup_menu, Fx_popup_dialog, set_frame_menubar): Reset it when done.
(Fx_popup_menu): Remove spurious XSETFRAME.
Kim F. Storm [Thu, 31 Oct 2002 22:08:03 +0000 (22:08 +0000)]
(Info-follow-reference, Info-next-reference)
(Info-prev-reference, Info-try-follow-nearest-node): Bind
inhibit-point-motion-hooks to t while parsing reference.
(Info-fontify-node): When font-lock-mode is enabled, display
"*note" and "* menu" references in a more user friendly format.
Stefan Monnier [Thu, 31 Oct 2002 00:30:36 +0000 (00:30 +0000)]
(fill-move-to-break-point): Skip white space
_before_ checking to see if we're hitting the margin.
(fill-region-as-paragraph): Don't fiddle with the undo-list any more:
it's now done by the C primitives. Don't use narrowing.
Reorganize the line-breaking part of the code to simplify the control
flow and make it work in the absence of narrowing.
(fill-region): Don't use narrowing.
Stefan Monnier [Wed, 30 Oct 2002 23:11:26 +0000 (23:11 +0000)]
(overlays_around, get_pos_property): New funs.
(find_field): Use them.
Also be careful not to modify POS before its last use.
(Fmessage): Don't Fformat if there's nothing to format.
Dave Love [Wed, 30 Oct 2002 19:47:53 +0000 (19:47 +0000)]
(po-content-type-charset-alist): Delete most
entries.
(po-find-charset): Doc fix. Remove interactive spec.
(po): Provide.
(po-find-file-coding-system-guts): Re-written to use
coding-system-alist, and code-pages, not codepage stuff.
Dave Love [Wed, 30 Oct 2002 19:12:37 +0000 (19:12 +0000)]
(Qeql): Declare.
(Vx_keysym_table): New.
(syms_of_xterm): Initialize it.
(XTread_socket): Use it. Deal with ASCII keysyms.
(XSetIMValues) [HAVE_X11R6]: Prototype.
Dave Love [Wed, 30 Oct 2002 18:59:01 +0000 (18:59 +0000)]
(bcopy, bzero): Define conditional on HAVE_BCOPY.
(bcmp): Define conditional on HAVE_BCMP.
(NO_SIOCTL_H): Don't define.
(TIOCSIGSEND): Don't make conditional on IRIX6.
Dave Love [Wed, 30 Oct 2002 18:52:27 +0000 (18:52 +0000)]
Require autoconf 2.53. Test for pty.h,
sys/mman.h, sys/param.h, mremap, memmove.
(AH_BOTTOM): Maybe include strings.h. Add local variables for
mode.
(AC_PROG_YACC): Deleted.
(size_t): Use AC_CHECK_TYPES.
(AH_TOP): Up-date copyright.