Re: Proposal/Discussion on decoupling clipboard functionality from X11

2024-02-10 Fir de Conversatie Michael Henry
Hopefully you can resurrect whatever portions of your original web site that you'd like to keep. Michael Henry -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.v

Re: Overflow detection issue in 9.0.2111, 9.0.2109

2023-11-17 Fir de Conversatie Michael Henry
Thanks for the rapid response!  You've really been putting in the time lately.  Bram left some big shoes to fill, and I appreciate how hard you have been working for the Vim community. Michael Henry -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type you

Re: Overflow detection issue in 9.0.2111, 9.0.2109

2023-11-17 Fir de Conversatie Michael Henry
egers will in general take much longer to execute than the integer conversion code.  I think it's unlikely the difference could be measured in a Vim benchmark.  Since a helper function like this is general-purpose code, I'd prefer the exact implementation unless profiling demonstrates

Overflow detection issue in 9.0.2111, 9.0.2109

2023-11-16 Fir de Conversatie Michael Henry
t; 9223372036854775807 (FAIL) ``` In the sample program change `CHECK_ADDITION` to `0` to demonstrate the need for the second check. Michael Henry -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For mor

Re: Proper way to find when a function appeared in vim

2021-09-12 Fir de Conversatie Michael Henry
:04 04 cbc446e0dbc2e2b20e2251961eb4ff1f10f2ee5b 4ce29cab4483f42b95adafb3f07b62479df7f808 M  src   bisect run success This technique helps when the commit message doesn't necessarily mention the text you are searching for. Michael Henry -- -- You received this message from the &

Simplify "syn region" regex for reStructuredText literal text

2021-05-09 Fir de Conversatie Michael Henry
rge regular expression. There are two main questions: - Is there a simpler way to solve this? - Will the complex regular expression cause performance problems? Any suggestions or comments are welcome. Michael Henry Here's the pull request containing the complex solution shown below: ht

Re: Add ttymouse=xterm support when TERM=tmux

2016-09-30 Fir de Conversatie Michael Henry
Vim's ``use_xterm_like_mouse()`` function. At present it appears that hard-coding knowledge of certain terminals into Vim's source is the solution for determining the correct mouse protocol, which is why I proposed adding support for tmux in the above function. Is there a different w

Add ttymouse=xterm support when TERM=tmux

2016-09-29 Fir de Conversatie Michael Henry
NULL && (term_is_xterm || STRNICMP(name, "screen", 6) == 0 +|| STRNICMP(name, "tmux", 4) == 0 || STRICMP(name, "st") == 0 || STRNICMP(name, "st-", 3) == 0 || STRNICMP(name, "stterm", 6) == 0)); Th

Re: Vim 8 pre-announcement

2016-08-21 Fir de Conversatie Michael Henry
On 08/18/2016 02:11 PM, Yegappan Lakshmanan wrote: > On Thu, Aug 18, 2016 at 5:48 AM, Michael Henry wrote: >> I was trying to find something in the help regarding the meaning >> of a "window id". Though there are several functions that >> accept and return th

Re: Changing the defaults with Vim 8

2016-08-21 Fir de Conversatie Michael Henry
myself who require shorter values can always override the default. I'll also note that I've seen 100ms used elsewhere, such as in Tim Pope's "Sensible Defaults" plugin: https://github.com/tpope/vim-sensible/blob/master/plugin/sensible.vim#L28 Michael Henry -- -- You

Re: Vim 8 pre-announcement

2016-08-18 Fir de Conversatie Michael Henry
On 08/17/2016 01:58 PM, Yegappan Lakshmanan wrote: > On Wed, Aug 17, 2016 at 4:12 AM, Michael Henry wrote: >> I'd like functions that: >> >> - Return True if a given window is a QuickFix or Location List >> window. >> [...] > > The new getwininfo()

Re: Vim 8 pre-announcement

2016-08-17 Fir de Conversatie Michael Henry
ion List that happens to be empty, so I resorted to the uglier hacks you see below. I thought I'd seen some activity along these lines that might expose the details directly, but I haven't been keeping up with all of the new changes. Michael Henry Sample functions for reference =

Re: Minor getpos() documentation patch

2014-11-23 Fir de Conversatie Michael Henry
On 11/23/2014 11:25 AM, Bram Moolenaar wrote: > Michael Henry wrote: >> - call setpos(''a', save_a_mark >> + call setpos("'a", save_a_mark > > Thanks. Also, a parenthesis is missing. Ack! I'd in

Minor getpos() documentation patch

2014-11-23 Fir de Conversatie Michael Henry
the position of a mark: > let save_a_mark = getpos("'a") ... - call setpos(''a', save_a_mark + call setpos("'a", save_a_mark < Also see |getcur

Documentation patch: :global [cmd] can have a range

2014-10-27 Fir de Conversatie Michael Henry
d be a single line. If your paragraphs are currently separated with empty Thanks, Michael Henry -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillis

Build failure with Fedora 20 and --enable-perlinterp

2014-08-08 Fir de Conversatie Michael Henry
? 1 : -1]; @@ -11577,7 +11586,7 @@ We can't simply define LARGE_OFF_T to be 9223372036854775807, since some C++ compilers masquerading as C compilers incorrectly reject 9223372036854775807. */ -#define LARGE_OFF_T off_t) 1 << 31) << 31) - 1

Re: [patch] updated breakindent patch

2014-05-28 Fir de Conversatie Michael Henry
n your many patches, it will be a well-deserved vacation :-) Michael Henry -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received

Re: Dear Bram

2013-10-29 Fir de Conversatie Michael Henry
On 10/28/2013 07:41 AM, Bram Moolenaar wrote: > > Michael Henry wrote: >> So I suggest that a single global option that simply switches on >> support for extended modifier for all keys, regardless whether >> those keys are mapped, may well be good enough and might make >

Re: Dear Bram

2013-10-27 Fir de Conversatie Michael Henry
r. So I suggest that a single global option that simply switches on support for extended modifier for all keys, regardless whether those keys are mapped, may well be good enough and might make the implementation simple enough to become reality. The day the option appears in Vim, I'll put it a

Re: Dear Bram

2013-10-27 Fir de Conversatie Michael Henry
pendent libraries accordingly. But even if they cannot be convinced to support this feature, users like myself will still have the benefits (which are substantial, IMO). Michael Henry -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below

Re: [PATCH] Asynchronous functions (settimeout, setinterval, and cancelinterval)

2013-10-14 Fir de Conversatie Michael Henry
accidentally cancel timers that are operating properly? Michael Henry -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You receive

Re: Bug: writing encrypted file, while asked for password, destroys contents

2013-08-14 Fir de Conversatie Michael Henry
; >> Perhaps ":update" would be acceptable, but generally a FocusLost event >> should not do something like this, because it can happen at any time. Reading the tip on the wiki, it's recommending ":wa", not ":write", which is similar to Bram's sug

Re: Vim's Ruby version detection breaks on Fedora 19

2013-08-04 Fir de Conversatie Michael Henry
27;ruby_version'].gsub(/\./, '')[0,2]"` > if test "X$rubyversion" = "X"; then > rubyversion=`$vi_cv_path_ruby -e "print ((VERSION rescue RUBY_VERSION)).gsub(/\./, '')[0,2]"` > fi Yes, this works fine for me. It seems li

Re: Vim's Ruby version detection breaks on Fedora 19

2013-08-03 Fir de Conversatie Michael Henry
about an "upstream report", since that makes it seems like something the Ruby project itself would need to address; but if Ruby installations are expected to provide an API version for 'ruby_version' and I can point at some documentation that says so, I'll reopen the Fedo

Vim's Ruby version detection breaks on Fedora 19

2013-08-03 Fir de Conversatie Michael Henry
LAGS="$RUBY_CFLAGS -DRUBY_VERSION=$rubyversion" rubylibs=`$vi_cv_path_ruby -r rbconfig -e "print $ruby_rbconfig::CONFIG['LIBS']"` if test "X$rubylibs" != "X"; then Thanks, Michael Henry -- -- You received this message from the

Re: Automatic scrollbar causes column growth

2013-02-24 Fir de Conversatie Michael Henry
On 02/23/2013 07:16 PM, John Little wrote: > On Sunday, February 24, 2013 2:15:47 AM UTC+13, Michael Henry wrote: > >> Each time the spacebar is pressed, the value of 'columns' will be >> displayed at four points in time. > > My vim 7.3.820 on Kubuntu misbehaves

Automatic scrollbar causes column growth

2013-02-23 Fir de Conversatie Michael Henry
blem that have been around for a long time (years, I think, but I've only just now isolated it to a somewhat repeatable test). Thanks, Michael Henry VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Feb 23 2013 07:51:24) Included patches: 1-831 Compiled by v...@drmikehenry.com Huge versi

Re: [patch] new cpo setting to make n/N search in the same direction

2013-02-18 Fir de Conversatie Michael Henry
ed without the disruption of scrolling the window. The price I pay for this is the need to press ``n`` (or ``N``) immediately if I want to find the next (or previous) match. I find this a good trade-off, but your mileage may vary. Michael Henry -- -- You received this message from the "vim_

Re: [patch] new cpo setting to make n/N search in the same direction

2013-02-18 Fir de Conversatie Michael Henry
he behavior of "n" and "N" after backward searches. The only work-around my brain can handle is to simply avoid backward searches entirely; instead, I search forward and press "N". Michael Henry -- -- You received this message from the "vim_dev" maillist

Re: Prioritize buffer-local mappings over global ones (with patch)

2013-02-17 Fir de Conversatie Michael Henry
On 02/17/2013 12:11 PM, Bram Moolenaar wrote: > On 02/15/2013 05:57 PM, Michael Henry wrote: >> If there is anything you'd like me to adjust about either patch >> to make the change suitable for inclusion, please let me know. > > Thanks for the patch. Bug fixes go first

Re: Prioritize buffer-local mappings over global ones (with patch)

2013-02-15 Fir de Conversatie Michael Henry
mappings as prefixes. The modified patch below removed the idea of a new Vim option. If there is anything you'd like me to adjust about either patch to make the change suitable for inclusion, please let me know. Thanks, Michael Henry On 01/30/2013 09:14 AM, Michael Henry wrote: >

Re: Prioritize buffer-local mappings over global ones (with patch)

2013-01-30 Fir de Conversatie Michael Henry
or the possibility > that the global mapping would match). I'd be in favor of making the behavior non-optional. Here is a modification to the patch that removes the option. Michael Henry diff -r 274c841f033a runtime/doc/map.txt --- a/runtime/doc/map.txtFri Jan 25 20:11:01 2013 +0100 +

Prioritize buffer-local mappings over global ones (with patch)

2013-01-29 Fir de Conversatie Michael Henry
ation along with the minor code change. I didn't know how to implement a test for this functionality. If anyone has a suggestion on that front, I'd be happy to try to implement something. Michael Henry diff -r 274c841f033a runtime/doc/map.txt --- a/runtime/doc/map.txtFri Jan 25 20:11:0

:sandbox setlocal appears to be disallowed

2012-10-20 Fir de Conversatie Michael Henry
27; It generate the following error message: Error detected while processing command line: E48: Not allowed in sandbox: sandbox setlocal ts=16 I was expecting :setlocal would work with :sandbox; should it? Thanks, Michael Henry -- You received this message from the "vim_dev" mailli

Re: Patch 7.2.361

2010-02-18 Fir de Conversatie Michael Henry
arly. Thanks - that fixed it. I now get the same behavior as with Masaki's patch. On 32-bit Fedora 11 with ruby 1.8.6, things are fine. On 64-bit Arch Linux with ruby 1.9.1p378, there odd error message is still there for the LustyExplorer plugin. I suspect that's a problem with the

Re: Patch 7.2.361

2010-02-18 Fir de Conversatie Michael Henry
ase that helps point out the difference that's causing the trouble. Thanks, Michael Henry diff -Naur vim72.360.rubypatch/src/auto/configure vim72.361/src/auto/configure --- vim72.360.rubypatch/src/auto/configure2010-02-18 06:48:21.0 -0500 +++ vim72.361/src/auto/configure2010-

Ruby 1.9 compatibility status

2010-02-10 Fir de Conversatie Michael Henry
s working for me with Ruby 1.8 on Fedora, so it looks harmless for Ruby 1.8 users, while allowing Ruby 1.9 users a chance to more widely exercise Ruby-based plugins and shake out compatibility bugs. Thanks, Michael Henry [1]: http://groups.google.com/group/vim_dev/browse_thread/thread/699c65598bc

Re: Patch 7.2.315

2009-12-03 Fir de Conversatie Michael Henry
On 12/02/2009 11:59 AM, Bram Moolenaar wrote: > Patch 7.2.315 > Problem:Python libs can't be found on 64 bit system. > Solution: Add lib64 to the list of directories. (Michael Henry) > Files:src/auto/configure, src/configure.in > Thanks, Bram, I can con

Re: Feature request: Add a Diff option upon open when "Found a swap file..."

2009-04-18 Fir de Conversatie Michael Henry
recovered version), deletes all the stale swap files, closes any other > buffers that were editing that file (to avoid 'Buffer already editing > that file' issues, etc.), and re-edits the file so that its current > swap file is .swp not .swo and thus easily recoverable in future. These options seem very friendly to me. Michael Henry --~--~-~--~~~---~--~~ You received this message from the "vim_dev" maillist. For more information, visit http://www.vim.org/maillist.php -~--~~~~--~~--~--~---

Re: c/c++ comment highlighting bug with "syntax on"

2009-03-08 Fir de Conversatie Michael Henry
ively easy to access manner (no login required, etc.) and someone recognizes what's going on, they will probably try to help you. Hope this helps, Michael Henry --~--~-~--~~~---~--~~ You received this message from the "vim_dev" maillist. For more information, visit http://www.vim.org/maillist.php -~--~~~~--~~--~--~---

Re: c/c++ comment highlighting bug with "syntax on"

2009-03-08 Fir de Conversatie Michael Henry
highlight properly", you might say "the third word comes out blue, but it should be yellow". You may have already seen this, but I've found the following document interesting and helpful for posting questions on mailing lists: http://www.catb.org/~esr/faqs/smart-quest

Re: Bug: :echo output missing with QuickFix and Command-line windows

2008-11-02 Fir de Conversatie Michael Henry
Bram Moolenaar wrote: > Michael Henry wrote: > > >> It appears that the output from :echo and :echomsg does not >> show up properly when used from the Command-line window >> while a QuickFix window is open. >> [...] > If you use: > :echo &

Bug: :echo output missing with QuickFix and Command-line windows

2008-11-01 Fir de Conversatie Michael Henry
output ("Hello") does not show up (or perhaps more likely, shows up but is subsequently erased, as my testing with :redir shows that "Hello" is actually written). Tested Configuration: Vim 7.2, patches 1-25, compiled on Linux. :version output follows. Michael Henry -- VIM -

Re: Proposal: "Modes" for Vim

2007-09-03 Fir de Conversatie Michael Henry
er: - filetype kit - filetype package - filetype pack - filetype suite I've been using the following sentence in my head to see how these sound: "Download and install the ADA (blank)." Michael Henry [1]: See "Bundles" section on this page: http://developer.app

Small typo in patch 7.1.088 (extra)

2007-08-30 Fir de Conversatie Michael Henry
ortunately, MoveWindowStructure() doesn't have the "front" parameter[2]. Patch 7.1.088 does not build on OS X with the extraneous TRUE argument to MoveWindowStructure. The function invocation should be: MoveWindowStructure(gui.VimWindow, x, y); (simply remove the final TRUE argument)

Re: Minor fix to a.vim plugin documentation

2007-08-22 Fir de Conversatie Michael Henry
Charles E Campbell Jr wrote: > Michael Henry wrote: > >> The a.vim (alternate) plugin's[1] documentation file begins with a blank >> line, preventing it from showing up in the local-additions (:help >> local-additions) section of Vim's help system[2]. Sim

Minor fix to a.vim plugin documentation

2007-08-18 Fir de Conversatie Michael Henry
All, The a.vim (alternate) plugin's[1] documentation file begins with a blank line, preventing it from showing up in the local-additions (:help local-additions) section of Vim's help system[2]. Simply removing the line corrects this minor problem. Michael Henry [1]: http://w

Patch for mac-specific bug in :winpos

2007-08-18 Fir de Conversatie Michael Henry
rtical shift of the window in the example given above. The attached patch fixes this problem by using the MoveWindowStructure() function[4], whose coordinates are compatible with those used for the GetWindowBounds() function. Michael Henry [1]: For the curious non-mac user: The bug may be simulated

grep.vim portability problem with Mac OS-X xargs

2007-08-18 Fir de Conversatie Michael Henry
s can work around the issue by disabling the use of xargs entirely (via the Grep_Find_Use_Xargs variable) but this comes at a performance penalty. Thanks, Michael Henry [1]: http://www.vim.org/scripts/script.php?script_id=311 [2]: http://www.tomshardware.com/ucg/commands/xargs-15408.html [3]: http: