summaryrefslogtreecommitdiff
path: root/usr.bin/mg/buffer.c
AgeCommit message (Expand)Author
2023-04-21mg: allow to change the tab widthOmar Polo
2023-03-08Delete obsolete /* ARGSUSED */ lint comments.Philip Guenther
2021-03-26Invert the 'R' indicator which seems rather unintuitive at the moment,Mark Lumsden
2021-03-23Use a pointer called bufp to point to a buffer called bufnMark Lumsden
2021-03-18From Joachim Wiberg's version of mg.Mark Lumsden
2021-03-01Put the hardcoded '\n' character which is found throughout mg into aMark Lumsden
2021-02-28Add dobeep functions that take messages to buffer.c and cscope.cMark Lumsden
2019-06-24switch-to-buffer (C-x b) doesn't cancel properly if C-g is pressed.Mark Lumsden
2019-06-22Tidy up the comments:Mark Lumsden
2018-12-13Allow all non-ephemeral buffers to be toggled writable or read-onlyMark Lumsden
2017-08-06Present the default choice before the colon in prompts. Matches GNU EmacsBrian Callahan
2017-03-13When aborting switch-to-buffer keep current buffer instead ofFlorian Obser
2016-09-07Source Joachim Nilsson:Mark Lumsden
2016-08-31Fix a bug reported by Han Boetes. Easily reproducible via:Mark Lumsden
2015-10-10Call onlywind() properly.Mark Lumsden
2015-09-26whitespaceJasper Lievisse Adriaanse
2015-03-23DIFFTOOL has to be defined for mg to build. TCSASOFT is defined viaBrian Callahan
2015-03-19More unifdef cleanup:Brian Callahan
2015-03-19Clean up the includes in mg.Brian Callahan
2015-03-16Change the internal name of the newline function to deconflict with aBrian Callahan
2014-06-12Remove a comparison that is always true. Reported by clang.Brian Callahan
2014-03-20Add some missing dobeeps.Mark Lumsden
2013-12-23Move findbuffer() to buffer.c.Mark Lumsden
2013-06-02Add the 'quit-window' dired command and receive a basic English lessonlum
2013-02-17Replace hand rolled TAILQ_REMOVE with example from queue(3).Florian Obser
2013-02-15cleanup undo history in revert-bufferFlorian Obser
2012-12-27diff-buffer-with-fileFlorian Obser
2012-11-06Remove never read struct member, found while investigating a llvmFlorian Obser
2012-11-03This should be void.Christiano F. Haesbaert
2012-10-23Use correct file for revert-buffer; do not ignore abort.Florian Obser
2012-10-22Add (r)evert prompt to "File changed on disk; really edit the buffer"Florian Obser
2012-10-22Check for dirty buffer on buffer change.Florian Obser
2012-10-12- implement "revert-buffer", which reverts the current buffer to what's on diskJasper Lievisse Adriaanse
2012-08-31Allow an error message for a filename that is too long to be seen andlum
2012-08-30Some line counter goodness from Florian Obser.lum
2012-08-30This diff allows the user to decide what to do with buffers thatlum
2012-03-14Remove the NO_HELP conditional directives. If defined, mg will not compile andlum
2011-01-23Wrap basename,dirname with xbasename, xdirname funtions,Kjell Wooding
2011-01-21It volates style(9), but in mg, #include"def.h" goes first. 'twas the way it ...Kjell Wooding
2011-01-18Add missing prototypes and move dired.c to "extensions" in Makefile.lum
2010-06-30you keep saying LIST_END. I do not think it means what you think itOwain Ainsworth
2009-06-05swap function order to bring into scopeTheo de Raadt
2009-06-04If a buffer is created with a name that starts and ends with an askeriskKjell Wooding
2009-06-04Add the notion of an "ephemeral" popup, so we can flag a windowKjell Wooding
2009-06-04Rename w_flag to w_rflag. This is not a general purposeKjell Wooding
2009-06-02Fix up some comments to match realityKjell Wooding
2008-09-15Enable dirty buffer detection in mg.Kjell Wooding
2007-05-28Add a global-wd-mode command, which toggles between the currentKjell Wooding
2006-11-19spacingTheo de Raadt
2006-11-18Move buffer name allocation into bnew() where it belongsKjell Wooding