autofoo is too nasty to you if you try to 'make' in a tree with unsaved changes in emacs

Bug #521246 reported by Stewart Smith
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Drizzle
Fix Released
Medium
Monty Taylor
Cherry
Won't Fix
Medium
Monty Taylor
Dexter
Fix Released
Medium
Monty Taylor

Bug Description

<stewart> mtaylor, can you please fix the makefile stuff when there's an emacs autosave file present... for example, say, i have unsaved changes in emacs and type 'make'.
 kthxbie :)
 i can haz pony too?
<mtaylor> stewart: what?
 stewart: I have 0 idea what you want...
<stewart> mtaylor, edit file in emacs. don't save it. type 'make'. it then rewrites the makefile to be invalid
<mtaylor> stewart: and yes - I can fix it once I understsand it
<stewart> putting the #foo.c# thing in as a target
 which is invalid make
 Makefile:13491: *** missing separator. Stop.
<mtaylor> stewart: is it re-running automake at that point?
<stewart> plugin/embedded_innodb/.#embedded_innodb_engine.cc.linted: plugin/embedded_innodb/.#embedded_innodb_engine.cc
 mtaylor, yes.
<mtaylor> ah. ok.
<stewart> from Makefile:13491 "plugin/embedded_innodb/.#embedded_innodb_engine.cc.linted: plugin/embedded_innodb/.#embedded_innodb_engine.cc
 "
<mtaylor> that's a flaw in lifeless's code... but I'll fix it :)
<stewart> mtaylor, which i have to manually delete from the makefile to then allow automake to regenerate a correct makefile.
<mtaylor> stewart: can you file a bug? I'm about to leave for a bit and I will forget by the time I get back

Related branches

Stewart Smith (stewart)
Changed in drizzle:
assignee: BlueBeetle (mtaylor) → nobody
assignee: nobody → Monty Taylor (mordred)
Revision history for this message
Monty Taylor (mordred) wrote :

I want to get this done... but it's slightlly below some other priorities.

Revision history for this message
David Axmark (david-axmark) wrote : Re: [Bug 521246] Re: autofoo is too nasty to you if you try to 'make' in a tree with unsaved changes in emacs

Maybe hint that for emacs users

(setq auto-save-directory "..../.autosaves")

in their init files is a good idea?

/David

On Mon, 2010-03-01 at 23:00 +0000, Monty Taylor wrote:
> I want to get this done... but it's slightlly below some other
> priorities.
>
> ** Changed in: drizzle/cherry
> Milestone: 2010-03-01 => 2010-03-29
>
> ** Changed in: drizzle/cherry
> Importance: High => Medium
>

Revision history for this message
Monty Taylor (mordred) wrote : Re: [Bug 521246] Re: autofoo is too nasty to you if you try to 'make' in a tree with unsaved changes in emacs

Oooh. I like that!

"David Axmark" <email address hidden> wrote:

>Maybe hint that for emacs users
>
>(setq auto-save-directory "..../.autosaves")
>
>in their init files is a good idea?
>
>/David
>
>On Mon, 2010-03-01 at 23:00 +0000, Monty Taylor wrote:
>> I want to get this done... but it's slightlly below some other
>> priorities.
>>
>> ** Changed in: drizzle/cherry
>> Milestone: 2010-03-01 => 2010-03-29
>>
>> ** Changed in: drizzle/cherry
>> Importance: High => Medium
>>
>
>--
>autofoo is too nasty to you if you try to 'make' in a tree with unsaved changes in emacs
>https://bugs.launchpad.net/bugs/521246
>You received this bug notification because you are a bug assignee.
>
>Status in A Lightweight SQL Database for Cloud and Web: Confirmed
>Status in Drizzle cherry series: Confirmed
>
>Bug description:
><stewart> mtaylor, can you please fix the makefile stuff when there's an emacs autosave file present... for example, say, i have unsaved changes in emacs and type 'make'.
> kthxbie :)
> i can haz pony too?
><mtaylor> stewart: what?
> stewart: I have 0 idea what you want...
><stewart> mtaylor, edit file in emacs. don't save it. type 'make'. it then rewrites the makefile to be invalid
><mtaylor> stewart: and yes - I can fix it once I understsand it
><stewart> putting the #foo.c# thing in as a target
> which is invalid make
> Makefile:13491: *** missing separator. Stop.
><mtaylor> stewart: is it re-running automake at that point?
><stewart> plugin/embedded_innodb/.#embedded_innodb_engine.cc.linted: plugin/embedded_innodb/.#embedded_innodb_engine.cc
> mtaylor, yes.
><mtaylor> ah. ok.
><stewart> from Makefile:13491 "plugin/embedded_innodb/.#embedded_innodb_engine.cc.linted: plugin/embedded_innodb/.#embedded_innodb_engine.cc
> "
><mtaylor> that's a flaw in lifeless's code... but I'll fix it :)
><stewart> mtaylor, which i have to manually delete from the makefile to then allow automake to regenerate a correct makefile.
><mtaylor> stewart: can you file a bug? I'm about to leave for a bit and I will forget by the time I get back
>
>
>

--
Sent from my Android phone with K-9 Mail. Please excuse my brevity.

Monty Taylor (mordred)
Changed in drizzle:
milestone: 2010-05-10 → none
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.