On 19/10/08 17:31, Tony Mechelynck wrote:
> On 19/10/08 16:52, Markus Heidelberg wrote:
>> Tony Mechelynck, 19.10.2008:
>>> On 19/10/08 15:05, Markus Heidelberg wrote:
>>>> The patch doesn't apply because the = signs are encoded quoted-printable
>>>> (=3D), even though they are in the ASCII charset.
>>>>
>>>> Markus
>>> To translate the quoted-printable, create the patch file by
>>> cut-and-paste from your mail client (the "message" display, not the
>>> "view source" display, of course).
>> Do you know how to work with KMail? It mangles whitespace when copying from
>> the message window. What I can do is starting the editor window and copy from
>> there. And I don't copy&   paste from the source window, I just save the mail
>> as mbox, of course. Inline patches shouldn't contain quoted-printable. Maybe
>> it wouldn't have been encoded without the umlaut in his name.
>>
>> Markus
>
> I agree they shouldn't, but the sender isn't always responsible: I've
> seen mail headers added by my own ISP's mail routers, saying they had
> converted the message from 8bit to quoted-printable or vice-versa. I
> think the only way to make sure no conversions are done while in transit
> is to send the patch as attachment.
>
> I obtained the attached file by copying from SeaMonkey Mail and pasting
> into gvim. I haven't tried to use it as input to the patch program but
> it looks like a proper patch to me.
>
>
> Best regards,
> Tony.

Oops, sorry, didn't work. Let's try again.

Best regards,
Tony.
-- 
The assertion that "all men are created equal" was of no practical use
in effecting our separation from Great Britain and it was placed in the
Declaration not for that, but for future use.
                --  Abraham Lincoln

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

*** src/fileio.c	2008-10-18 20:32:08.000000000 +0200
--- ../vim72/src/fileio.c	2008-10-18 20:32:06.000000000 +0200
***************
*** 6232,6237 ****
--- 6232,6240 ----
  }

  static int already_warned = FALSE;
+ #if defined(FEAT_CON_DIALOG) || defined(FEAT_GUI_DIALOG)
+ static int default_reload_choice = 0;
+ #endif

  /*
   * Check if any not hidden buffer has been changed.
***************
*** 6274,6279 ****
--- 6277,6285 ----
  	++no_wait_return;
  	did_check_timestamps = TRUE;
  	already_warned = FALSE;
+ #if defined(FEAT_CON_DIALOG) || defined(FEAT_GUI_DIALOG)
+ 	default_reload_choice = 0;
+ #endif
  	for (buf = firstbuf; buf != NULL; )
  	{
  	    /* Only check buffers in a window. */
***************
*** 6292,6297 ****
--- 6298,6306 ----
  	    }
  	    buf = buf->b_next;
  	}
+ #if defined(FEAT_CON_DIALOG) || defined(FEAT_GUI_DIALOG)
+ 	default_reload_choice = 0;
+ #endif
  	--no_wait_return;
  	need_check_timestamps = FALSE;
  	if (need_wait_return && didit == 2)
***************
*** 6551,6559 ****
  		    STRCAT(tbuf, "\n");
  		    STRCAT(tbuf, mesg2);
  		}
! 		if (do_dialog(VIM_WARNING, (char_u *)_("Warning"), tbuf,
! 				(char_u *)_("&OK\n&Load File"), 1, NULL) == 2)
! 		    reload = TRUE;
  	    }
  	    else
  #endif
--- 6560,6586 ----
  		    STRCAT(tbuf, "\n");
  		    STRCAT(tbuf, mesg2);
  		}
! 		if (default_reload_choice > 0)
! 		{
! 		    if (default_reload_choice == 2)
! 			reload = TRUE;
! 		}
! 		else
! 		{
! 		    switch (do_dialog(VIM_WARNING, (char_u *)_("Warning"), tbuf,
! 					(char_u *)_("&OK\n&Load File\nLoad &All\n&Ignore All"),
! 								    1, NULL))
! 		    {
! 			case 3:
! 			    default_reload_choice = 2;
! 			case 2:
! 			    reload = TRUE;
! 			    break;
! 			case 4:
! 			    default_reload_choice = 1;
! 			    break;
! 		    }
! 		}
  	    }
  	    else
  #endif


Raspunde prin e-mail lui