Is there a way to open a DOS file in Windows with ^M line terminators and force ME to save the file in UNIX fashion with \n line terminators?...
2087
Thomas Hundt
thundt
Nov 3, 2006 8:44 pm
I don't know if it's the answer to your specific problem, but in the meantime, investigate crlf mode... -Tom...
2088
Steven Phillips
bill@...
Nov 3, 2006 10:33 pm
Open the file as normal then go to main menu's File -> Attributes, in that dialog you can change the format to whatever you want. (behind the scenes this...
2089
ZarathustraXYZ
Nov 3, 2006 11:42 pm
Hi Jon, I have made a patch for Microemacs (for me060909 and for me061013) that add support for x86_64 plattform. Without this patch Microemacs crash on 64bit...
2090
Patrick Das Gupta
patrick@...
Nov 4, 2006 3:41 pm
Hi Vincenzo, ... This is strange. Yesterday I've build me on AMD64 (Debian Etch) and had no crashes thereafter. Patrick patrick:~$ me -V MicroEmacs 06 - Date...
2091
Jon Green
bigfatmrmoose
Nov 4, 2006 7:06 pm
... Hi Vincenzo, Many thanks for this. Looking through your changes it certainly makes sense especially with some of the horrible pointer casting that is going...
2092
ZarathustraXYZ
Nov 4, 2006 8:47 pm
Hi Jon, I send to you a mail asap. Thanks Vincenzo ... me061013) ... Microemacs ... 4.x. ... makes ... going ... with ... changes are ... there are ... bundle...
2093
ZarathustraXYZ
Nov 4, 2006 8:48 pm
Hi Patrick, a crash appears (for example) when you try to exec external command like grep. I have submitted patch like this some month ago, the problem are the...
2095
dsjkvf
Nov 6, 2006 7:17 am
hello, could you please help me once again :) 1. how to create a new file using certain template (e.g. > -!- document -!-)? i've found only an osd-new-buffer...
2096
Christof Boeckler
cb@...
Nov 6, 2006 7:37 am
... Hi dsjkvf! ... I will try for now. ... I didn't understand you, probably since I don't use OSD related features. Maybe someone else can help. ... See...
2097
dsjkvf
Nov 6, 2006 8:26 am
... in fact, i can even operate this way: define-macro new-doc-file find-buffer "*scratch*" insert-string "> -!- document -!-" write-buffer !emacro but then...
2098
dsjkvf
Nov 6, 2006 8:28 am
... i want to create a new file and apply certain template to it (in my particular case i want the file's major mode be set to doc). of course, i want to do it...
2099
Phillips, Steven
sphillips@...
Nov 6, 2006 8:48 am
... I suggest you take the osd-new-buffer macro from osd.emf and change the "new%d" to "new%d.doc". ... See the goto-matching-fence command, writing a macro...
2100
Christof Boeckler
cb@...
Nov 6, 2006 9:10 am
... From next-buffer(2): "find-buffer switches to buffer "buffer-name" in the current window. If the buffer does not exist and a zero argument n is supplied...
2101
dsjkvf
Nov 6, 2006 9:47 am
... oops, sorry, haven't thought taht it could be so obvious :). thank you, Christof, for pointing me to that. ... yes, that's quite nice, thank you once again...
2102
dsjkvf
Nov 6, 2006 10:06 am
... Steven, thank you for your help. what would be the best way to override preinstalled macroses in general? e.g., in this case should i copy osd-new-buffer...
2103
jon@...
bigfatmrmoose
Nov 6, 2006 12:18 pm
... This depends. If you can simply over-ride some settings or re-define a macro then the myXXXX.emf should be used to do this. If the changes are more...
2104
Phillips, Steven
sphillips@...
Nov 6, 2006 12:33 pm
... I think in this case you are creating a new macro so I would copy it into your user my???.emf and call it something else (like create-new-doc), that way...
2105
dsjkvf
Nov 6, 2006 12:35 pm
hello, and one more question: is it possible somehow to macro the following action -- i want to save an open file FILENAME.EXT1 as FILENAME.EXT2. of course,...
2106
dsjkvf
Nov 6, 2006 12:51 pm
... i see. ... yes, i've faced something like that just recently when upgrading to '06 release :) (and as a result, i was using diff a lot to find all my ...
2107
Bryan Schofield
schofield.bryan@...
Nov 6, 2006 2:57 pm
thanks...
2108
dsjkvf
Nov 7, 2006 6:29 am
... if anybody is interested: set-variable $FILE_TMPNAME &lef $buffer-bname -4 set-variable $FILE_NEWNAME &cat $FILE_TMPNAME ".EXT2" write-buffer $FILE_NEWNAME...
2109
dsjkvf
Nov 7, 2006 8:13 am
hello, first, here's an output: ~> echo $MEUSERPATH /home/dsjkvf/usr/local/bin/me/libs/ ~> ls -la /home/dsjkvf/usr/local/bin/me/libs/ total 60 drwxr-xr-x 4 s...
2110
Phillips, Steven
sphillips@...
Nov 7, 2006 8:19 am
Do you have other variables like MEPATH set? Once you start ME, execute list-variables and look at the values of $user-path and $search-path, do their values...
2111
dsjkvf
Nov 7, 2006 9:10 am
... in fact, i tried to set to it also to 'the same value as MEUSERPATH -- /home/dsjvkf/usr/local/bin/me/libs/ -- but see below ... user-path is set to...
2112
Christof Boeckler
cb@...
Nov 7, 2006 9:14 am
... Hi! ... from the shell, right. ... First of all check whether ME knows about that variable at all: esc x describe-variable $MEUSERPATH If not, then you...
2113
Phillips, Steven
sphillips@...
Nov 7, 2006 9:25 am
Dsjkvf, Can you run 'export39; in the bash shell and send me the output, then run ME in that shell, list-variables and send me the setting of $user-path and...
2114
dsjkvf
Nov 7, 2006 9:37 am
... so, as it was expected :), it tells that 'Current setting is "ERROR"' but why? and how can i fix it? as i've mentioned already, i set $MEUSERPATH in my...
2115
Christof Boeckler
cb@...
Nov 7, 2006 9:45 am
... That seems to be not correct, but anyways make sure you export your $MEUSERPATH variable instead of only declaring it. (Shell variable vs. environment...
2116
dsjkvf
Nov 7, 2006 9:54 am
... yes, Christof, that was exactly the problem -- i have remembered about the export just after Steven has mentioned this magic word :). however, thank you...