Emacs and vim syntax colorization

Does anybody use an emacs or vim syntax colorization .el file for editing PKGBUILD files?

rafal wrote:Yes, I meant both ot them:)
I have found the emacs PKGBUILD mode here:
http://www.hoetzel.info/Hacking/emacs/pkgbuild-mode.el
and where I can find the vim mode?
for vim
set syntax=sh
a PKGBUILD is just a shell script
rafal wrote:
[Off topic]
By the way I'm at the stage of trying different editors and I have not decided yet. For now it's easier to write in emacs because i'm not get used to first write and then correct as vim forces me. And you, how do you use vim editor? First writing in insert mode and then correcting the text in command mode? Does it depend on the touch type skills and type errors number?
Thanks for help.
check here: http://bbs.archlinux.org/viewtopic.php?t=11988

Similar Messages

  • [vim syntax] Highlight all occurences of word following keyword

    Is it possible with vim syntax files to have special highlighting for all occurrences of words (preferably excluding occurences in comments and quoted strings) following a keyword? Eg. in the case of declaring variables:
    short <varname>
    I'd like every occurrence of all variables declared as 'short' (preferably including the occurrence in the declaration) to be a specific color.

    You can do `short <varname>` and have that occurence of <varname> be highlighted but you can't have all occurences of <varname> be highlighted. Vim syntax only uses simple pattern matching so it can't determine dynamically what the pattern is after you declare it. Your next best option might be to set hlsearch and use the # and * and related operators.

  • [SOLVED] vim syntax checker for C++ templates?

    I've started using Syntastic to help improve my productivity when writing C++. However, I cannot seem to get it to work with C++ templates (which are usually defined and implemented in a header file). Is there a way to force Syntastic to do this? If not, does anyone know of a vim syntax checker that will?
    Last edited by bsilbaugh (2012-11-02 22:05:32)

    To enable syntax checking of headers, including templates, it turns out that you just need to add the following to your vimrc:
    let g:syntastic_cpp_check_header = 1
    See ~/.vim/bundle/syntastic/syntax_checkers/cpp.vim for an explanation of additional C++ options.
    (I don't know how I missed this earlier. Sorry for the spurious post.)
    Last edited by bsilbaugh (2012-11-02 22:06:50)

  • I am using a 2003 eMac and am running on Mac OSX  vs 10.4.11. iTunes is not recognizing music I have purchased and when I try to connect when it request me to I get the following error message:  Cannot complete i Tunes Store request. A required iTunes com

    I am using a 2003 eMac and am running on Mac OSX  vs 10.4.11. I amrunning iTunes 8.2.1 (6) and not able to upgrade iTunes on this computer. iTunes is not recognizing music I have purchased and when I try to connect when it request me to I get the following error message:
    Cannot complete  iTunes Store request. A required iTunes component is not installed (-42404)
    Please help.

    Is this music purchased back in DRM days? I don't actually have any iTunes music so I can't test with my iTunes 7.5, but I know that without iTunes 10 you cannot even connect to the store anymore.  I wouldn't think that would require an active connection to the store all the time, otherwise how could you play music on a computer in the middle of nowhere?  Did you do something to trigger iTunes suddenly wanting to connect and check on machine authorization?

  • Emac and external hard drive

    I have an emac and an Acomdata external hard drivve, that has bee working for the past year, no problems, but now the emac won't read the hard drive. I went into to disk utilities and the hard drive is there it's just not mounted, any ideas on how to remount it?
    Chris

    I had a similar problem, with my SmartDisk 80, have you tried journaling the drive; with the Disc Utility.
    Google Search: journaling hard drive os/x
    I have an emac and an Acomdata external hard drivve,
    that has bee working for the past year, no problems,
    but now the emac won't read the hard drive. I went
    into to disk utilities and the hard drive is there
    it's just not mounted, any ideas on how to remount
    it?
    Chris
    eMac G4 ●1 Ghz ●1 Gb Ram ●Barracuda ST360015A 7200 60Gb Hard Drive Mac OS X (10.3.9) ●SmartDisk 7200 80Gb HD

  • 2003 eMac and 23inches new Apple display compatible?

    I just got a new display (23in Apple) and I would like to plug it in my eMac
    which only seems to have a VGA oulet,
    Does anyone know of an adaptor that could do the trick?
    Couldn't see any on the Mac online store.
    Thanks a million for any suggestion.
    Francis

    There are VGA to DVI converters, but they run about $300.00 US (you can find one such here). And your eMac doesn't support extended desktop, only mirroring, so unless you install a firmware hack (which you use strictly at your own risk), you would get the same picture at the same resolution as on your eMac's screen. Even with the hack, I'm not sure if the eMac would support the 23" LCD's resolution.
    So it's up to you whether or not it's worth it. You could probably sell your eMac and combine that with the cost of the converter and buy a new Mac mini which would support that monitor directly.

  • Are the eMac and the G4 Mac Mini similar enough to...

    use the eMac's tiger upgrade to upgrade my mini to Tiger? I know the other versions of tiger upgrades are specific to the hardware, i.e. powerbook, ibook, imac, ect. But seems to me eMac and the G4 mini are very similar. Possible?
    thanks
    ~bill

    " Are the eMac and the G4 Mac Mini similar enough to use the eMac's tiger upgrade to upgrade my mini to Tiger? "
    No.
    "I know the other versions of tiger upgrades are specific to the hardware"
    And so are the eMac's upgrade discs.

  • 'The file name , directory name and volume syntax is incorrect'

    I am trying to install OBIEE 11.1.1.5.0 on window server 2003, it got hangs at 96%, it shows the message 'The file name , directory name and volume syntax is incorrect' . Please let me know if you had the same issue.

    Hi Ankit,
    Does the error say anything about temporary files?.Can you post the detailed error log here?
    Rgds,
    Dpka

  • Networking eMac and MacBook

    Hi,
    I have a eMac, MacBook, HP Printer *** Scanner *** Photocopier and a External Hard Drive and want to set up a network with Airport Extreme. The purpose being to be able to access my eMac HD from my MacBook and vice versa. Similarly I want to use the Pinter *** Scanner for both my eMac and MacBook and also use the external HDD for both my eMac and MacBook. I also am using wi-fi to connect to the net.
    1. Is it possible to create a network?
    2. If possible, how difficult is it?
    3. What are the other software and hardware that is required to create this network?
    Thanks and Regards,
    Senthil

    1. Is it possible to create a network?
    The AirPort Extreme base station (AEBS) is a router so using an AEBS creates a network.
    The USB port on the AEBS does NOT support scanning. The USB port supports printing and hard drives ONLY.
    3. What are the other software and hardware that is required to create this network?
    Connect a router like the AEBS. That is all you need.

  • I am using AI CS2 on an eMac and cannot get the print menu options to recognize the print features l

    I am using AI CS2 on an eMac and cannot get the print menu options to recognize the print features like? I need to use mirror feature and high quality printing and it will not work.

    jdanek
    It is an eMac. I have a corrupted font book. How can I fix/re-install/or download a new font book app? Most fonts that were in it work, some do not, but I cannot open it nor can I install fonts into it.  This happened after the eMac OS was upgraded from 10.3.9 to 10.4.11 and AI was upgraded to CS2
    Kind regards,
    Steve Mosher
    Village Graphics LLC
    438 Troy Loop
    The Villages,  FL  32162
    352-409-6853
    [email protected]

  • Approving applications for emacs and intelimacs through WGM in Leopard

    We are in the process of approving applications in Workgroup Manager with Leopard 10.5.2 across the board on emacs and intelimacs. We are having a problem with approving applications to work on both types of computers. For example, if we approve Firefox in Workgroup Manager, on an intelimac the applications as a user will not work on the emacs. On the other hand, if we approved the application on an emac, it will not work as a user on the intelimac. We have had success on most of the applications but not all. What are we missing? Thanks.

    Hey People,
    Just in case anyone is having the kind of problem I was facing a few days ago, the solution is that the client machines must be Mac os x 10.6.4 and above.  After upgrading the client machines to 10.6.4, I could apply the policies, specify the kind of applications I wanted users and computers to run using WGM.
    I'm not saying this is an expert solution, but it sure did work for me. 
    Cheers.

  • Emacs AND emacs-nox

    I'd like to use on the same machine both emacs and emacs-nox. But they are mutually exclusive. A proximate cause is that they both give
    the same name, 'emacs', to the resulting executable. I presume there are no fundamental conflicts between the X and the no-X versions
    of Emacs, and I'd be perfectly happy to run emacs-nox under a different name. How can I get it my way?
    The reason I want emacs-nox is that I need a just-in-time, disposable, mini-emacs, to be evoked for a brief moment in, say, the 'root' permission terminal that I keep constantly open to run a root-authority commands or touch up a system file. I used to use zile for that, but it is not 100% compatible with emacs, lacks many of the most common commands, and doesn't handle well Ctrl, Alt, Bcksp, and friends.
    When looking for a small-footprint version of emacs for the Raspberry Pi, I realized that emacs-nox has a much smaller footprint not only than emacs, but also than emacs -nw, and in fact is not much bigger than zile itself. So, why use a crippled app if one can use the real thing at very
    little extra cost?
    What do you think? Thanks

    rugantino wrote:The reason I want emacs-nox is that I need a just-in-time, disposable, mini-emacs, to be evoked for a brief moment in, say, the 'root' permission terminal that I keep constantly open to run a root-authority commands or touch up a system file. I used to use zile for that, but it is not 100% compatible with emacs, lacks many of the most common commands, and doesn't handle well Ctrl, Alt, Bcksp, and friends.
    Use TRAMP to edit files via sudo within Emacs. No need to start up a new instance.
    Alternatively, use ABS to recompile it and add the --program-{prefix,suffix} option to change the name of the binary to emacs-nox or whatever.
    Last edited by jakobcreutzfeldt (2013-06-01 10:20:04)

  • Does the XMLP full or partially support the Xpath and XSLFO syntax?

    Does the XMLP full support the Xpath and FO syntax? or partially? Thanks

    Hi Robin
    OK, so hopefully you are not leading me into a trap here :o)
    There are two parts to this question:
    1. XPATH - we support as much of the XPATH spec as the Oracle XDK supports ie we rely on the XDK for our transformation engine so as long as they support what you are trying to do then we do. There are a few gaps and we have plugged those in the XMLP layer. So the short answer is yes.
    2. XSLFO - we allow you to use XSLFO in your template. The XMLP engine supports much of the standard but there are a few gaps. the next set of docs will layout exactly what we do support in the spec.
    Regards, Tim

  • EMac and Sony MiniDV

    Hi there,
    Can anyone tell me why my eMac won't find the firewire connected (either port) Sony MiniDV Handycam?
    I connect it all as described (MiniDV set to playback - connected through firewire cable to eMac) and nothing...
    The screen on the Handycam blinks every 3 seconds and shows the DV in signal (I actually want DV out) - but nothing else.
    It all works fine if I connect it to my IBM Notebook via another cable. Am I missing a setting? Or could my cable / firewire ports be cactus?
    Cheers

    Do you have any other Firewire devices? To confirm the impression I got from your post, you're attempting to connect directly to the eMac, and not through a Firewire hub, right?
    With nothing attached to the Firewire ports, open System Profiler (in Applications/ Utilities) and check that the Firewire bus itself shows up. If it doesn't, reset the eMac's Firewire bus triple fuses (they can be tripped and latched by momentary power glitches) by removing all peripherals other than the Apple USB keyboard and mouse, then removing the power cord from the side of the eMac (to remove the trickle current drawn by modern electronics even when nominally off) and waiting 15+ minutes. Then reattach the power cord only and start up the Mac. Check System Profiler again and confirm that the Firewire bus is recognized. Reattach peripherals (the MiniDV camera) one at a time, checking System Profiler after each to confirm the addition is recognized.
    Let's not overlook the too-obvious either; check the Finder's preferences and make sure the "show these items on the desktop" boxes are checked.

  • Older Emac and Final Cut Express 3.5

    I have a lab full of 8 older eMacs (768 MB of RAM, running 10.4.2, 700mHz, 32 MB of VRAM with a GeForce 2 MX graphics card) and want to update to FCE 3.5. Does anyone know of potential problems that I might have? I checked the tech specs and my graphic card is compatible with Quartz Extreme so theoretically it should be OK but I wonder if I will have issues...Thanks for any words of advice!
    eMac   Mac OS X (10.4.2)  

    Hi Timothy,
    Your eMacs should be fine; rendering time & RT effects are the places where you would see the main differences between your 700MHz eMacs and faster ones.
    My observations would be 1) 768MB is a little thin, imho, and if you could justify upgrading to 1GB RAM you will find things running better, and 2) for DV your eMacs are fine however for HDV, the FCE spec says minimum 1GHz processor and minimum 1GB RAM.

Maybe you are looking for

  • XY graph multi plot live points and colour control

    Hi All, I'm trying to do something that should be simple but is proving to be difficult so far. I have had a good look through previous topics and found things similar but not actually what I want. In my experiment I scan intensity vs wavelength. Ide

  • Use listener to connect to database

    i want to use a listener to connect to an oracle database in tomcat 4, in my application web.xml y type: <listener> <listener-class> ResourceManagerListener2 </listener-class> </listener> the class ResourceManagerListener2 which is in my web-inf/clas

  • [10.1.2] Automate Attribute Property assignments in View Objects

    My JHeadstart based application has over 300 tables, and many of these tables have field properties that are repeated (e.x. a discontinued checkbox, choice pull downs, naming conventions, and so on...) Is there anyway to automate via scripting, a bat

  • System recovery fails with C++ runtime error

    My Compaq CQ610-410US running Windows 7  is unusable. When using system recovery, either from CD's or Recovery drive, it fails with C++ runtime library program not found Contact HP Support. EIther way, Windows is loaded and system recovery screens ap

  • My iphone joins home network, wife's will not

    My wife and I recently bought new iPhone 3gs. Mine connects automatically to our secured home network (after I put the name and password into my iPhone). Set my wife's up the same, but her's will not connect to our home network. Under Settings-->Wi-F