aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add 2009 to copyright years.Glenn Morris2009-01-081-1/+1
|
* (Fbuffer_swap_text): Use POINTER_TYPE.Jason Rumney2008-12-251-5/+5
|
* * ralloc.c (r_alloc_reset_variable): New function.Jason Rumney2008-12-241-0/+11
| | | | | * buffer.c (Fbuffer_swap_text) [REL_ALLOC]: Reset ralloc's internal record of what points where.
* * buffer.c (init_buffer): Use realloc instead of xrealloc.Andreas Schwab2008-12-221-1/+3
| | | | * gtkutil.c (free_widget_value): Use xfree instead of free.
* (Fbuffer_swap_text): Signal error if swapping a dead buffer.Chong Yidong2008-12-091-0/+3
|
* (Fswitch_to_buffer): Reword and mention new optionMartin Rudalics2008-11-221-12/+16
| | | | confirm-nonexistent-file-or-buffer in doc-string.
* (Fbuffer_swap_text): Remove redundant marker manipulation.Stefan Monnier2008-11-211-6/+10
| | | | Fix copy/paste typo. Add checks.
* (syms_of_buffer): Fix doc-string of cursor-type.Martin Rudalics2008-11-161-2/+3
|
* (Fget_buffer_create): Rename arg to buffer_or_name. Reword doc-string.Martin Rudalics2008-10-231-19/+25
| | | | (Fbury_buffer): In doc-string say what happens to the buffer's window.
* (Fget_buffer, Fbury_buffer, switch_to_buffer_1):Martin Rudalics2008-10-211-129/+117
| | | | | | | | | | Rename arg "buffer" to "buffer_or_name". (Fkill_buffer): Rename arg "buffer" to "buffer_or_name" and make it optional. (no_switch_window): Remove since the return value is not used. (Fswitch_to_buffer): Rename arg "buffer" to "buffer_or_name". Consider window as dedicated when Fwindow_dedicated_p returns a non-nil value.
* (syms_of_buffer): Doc fix.Eli Zaretskii2008-10-151-2/+3
|
* (Fbuffer_swap_text): Reset window->point markers.Stefan Monnier2008-09-071-0/+20
|
* (syms_of_buffer): Doc fix.Glenn Morris2008-08-291-1/+4
|
* * buffer.c (syms_of_buffer) <scroll-up-aggressively>:Juanma Barranquero2008-08-051-13/+13
| | | | | <scroll-down-aggressively, before-change-functions>: <after-change-functions>: Reflow docstrings.
* * bitmaps/README:Dan Nicolaescu2008-07-311-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * xfns.c: * termcap.c: * term.c: * syswait.h: * systty.h: * systime.h: * syssignal.h: * sysdep.c: * process.h: * process.c: * print.c: * ndir.h: * lread.c: * keyboard.c: * getpagesize.h: * floatfns.c: * fileio.c: * emacs.c: * doc.c: * dispnew.c: * dired.c: * data.c: * callproc.c: * buffer.c: * README: * Makefile.in: * s/template.h: * s/msdos.h: * m/vax.h: Remove VMS support. * s/vms.h: * vlimit.h: * uaf.h: * temacs.opt: * param.h: * ioctl.h: Remove file. * descrip.mms: * compile.com: Remove file. * Create.c: Remove VMS support. * message.el (Module): * gnus-start.el (Module): * gnus-registry.el (Module): * textmodes/texinfmt.el: * nxml/nxml-enc.el: * mail/feedmail.el: * international/mule.el: * international/latexenc.el: * emulation/viper-util.el: * emulation/viper-init.el: * emulation/viper-ex.el: * emacs-lisp/bytecomp.el: * version.el: * subr.el: * startup.el: * sort.el: * shadowfile.el: * recentf.el: * printing.el: * paths.el: * minibuffer.el: * ls-lisp.el: * loadup.el: * hippie-exp.el: * finder.el: * files.el: * ediff-util.el: * ediff-ptch.el: * ediff-init.el: * ediff-diff.el: * dired.el: * dired-aux.el: * cus-edit.el: * bindings.el: * arc-mode.el: * add-log.el: Remove VMS support. * obsolete/vmsproc.el: * obsolete/vms-pmail.el: * obsolete/vms-patch.el: Remove file. * etags.c: * emacsclient.c: Remove VMS support. * termcap.src: Remove file. * README: * PROBLEMS: * MACHINES: Remove VMS info. * ediff.texi: Remove VMS support. * os.texi: * intro.texi: * files.texi: Remove VMS support. * emacs.texi: Remove VMS support. * make-dist: * README: Remove VMS support. * vms: Remove directory.
* (syms_of_buffer): Remove default-word-wrap.Stefan Monnier2008-06-251-5/+0
|
* (syms_of_buffer): New variables default-word-wrap and word-wrap.Chong Yidong2008-06-241-0/+16
| | | | (init_buffer_once): Initialize them.
* (clone_per_buffer_values): Skip `name'.Stefan Monnier2008-06-111-1/+5
|
* * window.el (display-buffer-function, special-display-p)Stefan Monnier2008-06-051-37/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (special-display-buffer-names, special-display-regexps) (special-display-function, same-window-p, same-window-buffer-names) (same-window-regexps, pop-up-frames, display-buffer-reuse-frames) (pop-up-frame-function, pop-up-windows) (split-window-preferred-function, split-height-threshold) (split-width-threshold, window--splittable-p) (window--try-to-split-window, window--frame-usable-p) (even-window-heights, window--even-window-heights) (window--display-buffer-1, window--display-buffer-2, display-buffer) (pop-to-buffer): Move from window.c and buffer.c. (split-window-preferred-horizontally): Remove. * cus-start.el: Remove corresponding declarations. * window.c (pop_up_windows, pop_up_frames) (display_buffer_reuse_frames, Vpop_up_frame_function) (Vdisplay_buffer_function, Veven_window_heights) (Vspecial_display_buffer_names, Vspecial_display_regexps) (Vspecial_display_function, Vsame_window_buffer_names) (Vsame_window_regexps, split_height_threshold) (Vsplit_window_preferred_function): Move those vars to window.el. (display_buffer_1, Fspecial_display_p, Fsame_window_p) (Fdisplay_buffer): Move those functions to window.el. (syms_of_window): Remove corresponding declarations. (display_buffer): New function. (temp_output_buffer_show, Fother_window_for_scrolling): Use it. * dispnew.c (Flast_nonminibuf_frame): New function. * buffer.c (Fpop_to_buffer): Move to window.el.
* * lisp.h (indirect_variable):Stefan Monnier2008-05-191-21/+12
| | | | | | | * data.c (indirect_variable, let_shadows_buffer_binding_p): Use Lisp_Symbol pointers rather than Lisp_Object. Adjust callers. * buffer.c (buffer_slot_type_mismatch): Use wrong-type-argument. To this end, change calling-convention.
* Switch to recommended form of GPLv3 permissions notice.Glenn Morris2008-05-141-6/+4
|
* (Fswitch_to_buffer): Change interactive spec to callJuri Linkov2008-04-221-1/+2
| | | | read-buffer-to-switch instead of using the letter "B".
* (Vtransient_mark_mode): Move docstring to simple.el toChong Yidong2008-04-021-11/+4
| | | | avoid clobbering by define-minor-mode.
* (enlarge_buffer_text): Fix int -> EMACS_INT.Stefan Monnier2008-03-211-3/+1
|
* (overlays_in, Foverlays_in): Include empty overlaysMartin Rudalics2008-03-151-11/+18
| | | | at end of range when it coincides with the end of the buffer.
* (Fswitch_to_buffer): Fall back on pop-to-buffer.Stefan Monnier2008-03-121-1/+4
|
* * dispextern.h (face_at_buffer_position, face_for_overlay_string)Stefan Monnier2008-02-261-8/+8
| | | | | | | | | | (face_at_string_position): * xfaces.c (face_at_buffer_position, face_for_overlay_string) (face_at_string_position): * xdisp.c (display_string, next_overlay_change): * buffer.h (overlays_at): * buffer.c (overlays_at): Use EMACS_INT for buffer positions. Update callers.
* (Fbuffer_swap_text): New function.Stefan Monnier2008-02-251-0/+96
| | | | (syms_of_buffer): Defsubr it.
* (clone_per_buffer_values, reset_buffer_local_variables)Stefan Monnier2008-02-111-4/+12
| | | | (Fbuffer_local_value, Fbuffer_local_variables): Don't forget undo_list.
* (mode-name): Doc fix.Glenn Morris2008-02-101-1/+2
|
* * xselect.c (x_handle_dnd_message):Stefan Monnier2008-02-071-2/+4
| | | | | | | | | | | * xmenu.c (digest_single_submenu, xmenu_show): * xdisp.c (with_echo_area_buffer_unwind_data, format_mode_line_unwind_data) (unwind_format_mode_line, display_menu_bar): * eval.c (Ffetch_bytecode): * doc.c (store_function_docstring): * ccl.c (resolve_symbol_ccl_program, ccl_get_compiled_code) (Fccl_execute, Fccl_execute_on_string, Fregister_code_conversion_map): * buffer.c (add_overlay_mod_hooklist): Use ASET.
* Merge from emacs--devo--0Miles Bader2008-01-301-5/+35
|\ | | | | | | Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-324
| * (reset_buffer_local_variables): Implement `permanent-local-hook'.Richard M. Stallman2008-01-251-4/+33
| | | | | | | | | | (Qpermanent_local_hook): New variable. (syms_of_buffer): init and staticpro it.
| * (syms_of_buffer) <mode-name>: Fix docstring.Stefan Monnier2008-01-181-1/+2
| |
* | Merge from emacs--devo--0Miles Bader2008-01-091-1/+2
|\ \ | |/ | | | | Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-312
| * Merge from emacs--rel--22Miles Bader2008-01-081-1/+2
| |\ | | | | | | | | | Revision: emacs@sv.gnu.org/emacs--devo--0--patch-987
| | * Add 2008 to copyright years.Glenn Morris2008-01-081-1/+2
| | |
* | | Merge from emacs--devo--0Miles Bader2007-12-161-28/+30
|\ \ \ | |/ / | | | | | | Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-300
| * | (Frename_buffer): In interactive spec replaceJuri Linkov2007-12-121-2/+3
| | | | | | | | | | | | | | | `read-buffer' with `read-string' that uses `buffer-name-history' as history, and the current buffer's name as default.
| * | (reset_buffer_local_variables): If permanent_too is 0, alsoStefan Monnier2007-12-101-27/+27
| | | | | | | | | | | | | | | | | | preserve non-built-in buffer-local variables. (Fkill_all_local_variables): Don't re-create&re-set permanent buffer-local variables.
| * | (Frename_buffer): Change interactive spec from "s" toJuri Linkov2007-12-091-1/+2
| | | | | | | | | | | | Lisp code that uses `read-buffer' with current buffer as default.
* | | Merge from emacs--devo--0Miles Bader2007-12-061-40/+12
|\ \ \ | |/ / | | | | | | Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-294
| * | (Fget_buffer_create, Fmake_indirect_buffer): Don't cast redundantly.Stefan Monnier2007-11-281-2/+2
| | |
| * | * lisp.h (struct Lisp_Buffer_Objfwd): Add a `slottype' field.Stefan Monnier2007-11-211-17/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * data.c (store_symval_forwarding): Get type from buffer_objfwd. Update call to buffer_slot_type_mismatch. * buffer.h (buffer_local_types, PER_BUFFER_TYPE): Remove. (buffer_slot_type_mismatch): Update. * buffer.c (buffer_local_types): Remove. (buffer_slot_type_mismatch): Get the symbol and type as arguments. (defvar_per_buffer): Set the type in the buffer_objfwd.
| * | (Fbuffer_local_value): Remove redundant test.Stefan Monnier2007-11-191-21/+5
| | | | | | | | | | | | | | | | | | (swap_out_buffer_local_variables): Swap out binding in `buffer' rather than in `current-buffer' to match the comment. Do the swap using swap_in_global_binding.
* | | Merge from emacs--devo--0Miles Bader2007-10-191-19/+8
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patches applied: * emacs--devo--0 (patch 890-898) - Update from CVS - Merge from emacs--rel--22 * emacs--rel--22 (patch 122-128) - Update from CVS - Merge from gnus--rel--5.10 * gnus--rel--5.10 (patch 257-258) - Merge from emacs--rel--22 - Update from CVS Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-270
| * | * lisp.h (enum Lisp_Misc_Type): Del Lisp_Misc_Some_Buffer_Local_Value.Stefan Monnier2007-10-161-19/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (XMISCANY): New macro. (XMISCTYPE): Use it. (struct Lisp_Misc_Any): New type. (union Lisp_Misc): Use it. (struct Lisp_Buffer_Local_Value): Add `local_if_set' bit. * data.c (Fboundp, store_symval_forwarding, swap_in_global_binding) (find_symbol_value, set_internal, default_value, Fset_default) (Fmake_variable_buffer_local, Fmake_local_variable) (Fkill_local_variable, Fmake_variable_frame_local, Flocal_variable_p) (Flocal_variable_if_set_p, Fvariable_binding_locus): The SOME_BUFFER_LOCAL_VALUEP distinction is replaced by local_if_set. * alloc.c (allocate_buffer): Set the size and tag. (allocate_misc, mark_maybe_object, mark_object, survives_gc_p): Use XMISCANY. (die): Follow the GNU convention for error messages. * print.c (print_object): SOME_BUFFER_LOCAL_VALUEP -> local_if_set. * buffer.c (Fget_buffer_create, Fmake_indirect_buffer): Don't set the tag any more. (set_buffer_internal_1): * frame.c (store_frame_param): * eval.c (specbind): * xdisp.c (select_frame_for_redisplay): Drop SOME_BUFFER_LOCAL_VALUEP.
* | | Merge from emacs--devo--0Miles Bader2007-10-151-9/+3
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patches applied: * emacs--devo--0 (patch 887-889) - Update from CVS - Merge from emacs--rel--22 * emacs--rel--22 (patch 116-121) - Update from CVS Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-268
| * | (Fmake_indirect_buffer): Set the buffer's tag.Stefan Monnier2007-10-141-0/+1
| | |
| * | (add_overlay_mod_hooklist): Use larger_vector.Eli Zaretskii2007-10-131-9/+2
| | |