Displaying 20 results from an estimated 5000 matches similar to: "Emacs spec parsing?"
2007 Mar 09
6
AssertSelect for strings?
Hi,
Is there a way to use the have_tag matcher on a string instead of the
response body from a view? I have a helper in a method rails project
that returns an html fragment which I would like to test.
Like this:
module SomeHelper
def some_helper_method
"<p>foo</p>"
end
end
context "The SomeHelper"
helper_name :some
specify do
2013 Oct 14
3
[LLVMdev] A weird, reproducable problem with MCJIT
I switched my Common Lisp compiler to use MCJIT on the weekend and ran
into a weird problem compiling one particular function.
It crashes with an EXC_BAD_ACCESS error in MCJIT::finalizeObject when
calling processFDE.
The weird part is that the function does not appear to do anything
special and I've whittled it down to
the minimum size that still causes the crash. If I remove even one
2008 Jul 23
1
Calling LISP programs in R
I have written some programs in Common Lisp and I have been using SAS to pipe
those programs to my lisp compiler in batch mode by using the %xlog and
%xlst SAS commands. I wonder if there is in R a similar way to pipe commands
to LISP so that all my work would be concentrated in R even when I have to
call a LISP program? I have looked at the foreign library but this seems to
adjust data types not
2013 Oct 14
0
[LLVMdev] A weird, reproducable problem with MCJIT
Hi Christian,
Thanks for sharing this.
Yaron Keren has been investigating some problems in the EH frame registration code recently, and I think this may be related. It at least sounds similar to the type of variations in behavior based on code size that Yaron was seeing.
-Andy
-----Original Message-----
From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] On Behalf Of
2005 Apr 21
4
[LLVMdev] Trailing whitespace removal (important for CVS users!)
On Thu, 21 Apr 2005, Reid Spencer wrote:
> Why not put all this into a pre-commit filter in CVS and be done with
> it? We'd never be bothered with it again as it would never be committed
> again.
I'd rather not have CVS commit scripts mucking with the code. If you want
to have the nightly tester whine about source code with spaces at the end
of lines (like it whines about
2007 Aug 27
7
Foreign key constraints, fixtures, and rake task
I''ve got a spec that loads a fixture in the "before" block. This works
fine running scripts/spec, but when I run rake spec instead, I get:
ActiveRecord::StatementInvalid in ''User in fixture :quentin with an IM
service but no IM name should be invalid''
Mysql::Error: Cannot delete or update a parent row: a foreign key
constraint fails
2013 Oct 14
3
[LLVMdev] A weird, reproducable problem with MCJIT
Hi,
I had similar problems with EH in ELF in
RTDyldMemoryManager::registerEHFrames() calling __register_frame().
I'm not sure these problems are related to this problem since your crash
happens in RuntimeDyldMachO::registerEHFrames() in its own processFDE
(there are two functions named processFDE(), one in
RuntimeDyldMachO.cpp and one in RTDyldMemoryManager.cpp) *before*
2009 Aug 11
1
[PATCH libguestfs] doc: improve emacs snippets
I've made some local commits that introduce TABs as indentation,
and thus provoke a "make syntax-check" failure.
This would have prevented it:
>From 4740b66adc5985d9a72a7648aa60c5389ffc31af Mon Sep 17 00:00:00 2001
From: Jim Meyering <meyering at redhat.com>
Date: Tue, 11 Aug 2009 09:53:16 +0200
Subject: [PATCH libguestfs] doc: improve emacs snippets
* HACKING: Make (setq
2006 Mar 14
3
rails on emacs - need a working .emacs sample
I would like to hear from some one who has ecb, multiple modes with
ruby mode + html mode, rails mode all working together and playing
well.
I had ecb working with Ruby syntax highlighting. That was a no-brainer
since I just had to apt-get them on my Debian Sarge box.
It got a bit more comlex after I got most of the .el files in the articles
http://www.emacswiki.org/cgi-bin/emacs/RubyOnRails
2006 Apr 19
4
emacs rails 0.39
Testing version of Emacs Rails (http://rubyforge.org/projects/emacs-rails/)
was released. If you have some suggestion or you find some bugs please
inform us.
Features:
* Management of WEBrick/Mongrel
* Display color log file
* Toggle Switch between Action/View and other file (tests, helpers)
automaticly or with menu
* Switching to file from current line f.e. from redirect_to :controller =>
2015 Jan 05
2
[LLVMdev] [PATCH] Fix Emacs package formatting
Hi
I'd like users to be able to install the LLVM major modes from
MELPA[1], the most popular Emacs package repository. However, these
files are not well-formed packages.
I've made the following changes:
* Both files have valid package headers and footers (you can verify
with M-x checkdoc).
* Fixed style warnings generated by checkdoc.
* Fixed a byte-compiler warning in llvm-mode.el.
*
2003 Nov 13
1
Can't get Sweave syntax highlighting with Emacs
I can't get Emacs to automatically do syntax highlighting of
Sweave files. I have followed Friedrich's suggestion for code
to insert into my .emacs file. The complete section from my .emacs
file is given below. When I load a *.Snw file, font is white until I press
M-x, then the first code and document chunks get highlighted, but not
the rest of the file. Latex and Noweb menus are
2013 Oct 15
2
[LLVMdev] MCJIT and DWARF debugging info and lldb
Hey folks, I've written a Common Lisp compiler using LLVM as the
back end. I switched to MCJIT a couple of days ago. I generate DWARF
debugging information for each Compile Unit, Function, LexicalBlock and
line numbers (using DIBuilder). (I'm on OS X 10.8.5;
XCode 5.0; ToT LLVM/Clang build rev 192521)
When I check my backtraces in lldb (stock lldb from Xcode 5.0) I don't see my
2003 Apr 30
2
Working comfortably with (X)Emacs + Sweave
Dear List,
I am trying to become more familiar with Sweave at the moment, beacuse
I am convinced that it will eventually make my life easier. However,
I have not found anything relevant in the mail archives about the
following problem.
Both the article in R-News and the Sweave FAQ suggest that Emacs would
be a great development environment for working with Sweave. So far, it
doesn't seem to
2005 Dec 05
1
how to save output all together
Dear R users:
I have a problem about catch the value from function.
I have following two functions (part):
sbolus1 <- function()
{
.......
for( i in 1:Subject) {
kel<-par1
Vd<-par2
PKindex<-sbolus1.out(PKtime,kel,Vd,defun,par1,par2,Dose,i)
}
savefile(PKindex)
}
sbolus1.out<-function(PKtime,kel,Vd,defun,par1,par2,Dose,i)
{
time<-PKtime$time
2009 Jul 02
2
[LLVMdev] LLVM and Eclipse
Tilmann Scheller <tilmann.scheller at googlemail.com> writes:
[snip]
> It might be worth to put an Eclipse CDT project file with relative
> paths to the header files in the LLVM SVN repository to make it easier
> for people to use Eclipse in the future (my project files currently
> contain absolute paths, so they're probably not useful to other
> people).
CMake can
2013 Jul 17
1
[LLVMdev] eclipse and gdb
On Jul 17, 2013, at 1:19 PM, Tilmann Scheller <tscheller at apple.com> wrote:
> I actually never did a build with Eclipse, only used it for code navigation and debugging :)
Actually that’s not really true, I did build with Eclipse from time to time to get all the sources TableGen generates automatically. This is really nice because the source navigation works just fine across handwritten
2013 Jul 16
3
[LLVMdev] eclipse and gdb
On 07/16/2013 05:21 AM, Tilmann Scheller wrote:
> Hi Reed,
>
> I’ve used Eclipse for a long time to do LLVM development on Linux (both for code navigation/editing and debugging), any recent Linux distribution and version of Eclipse should be fine (even older versions should be good enough as this has been working for many years).
>
> Xcode works fine as well, I started to use Xcode
2011 Apr 05
0
[LLVMdev] GSoC 2011: Fast JIT Code Generation for x86-64
Hi Viktor,
On Tue, Apr 5, 2011 at 9:41 PM, Óscar Fuentes <ofv at wanadoo.es> wrote:
> Jim Grosbach <grosbach at apple.com> writes:
>
> >> To me, increasing coverage of the FastISel seemed more involved than
> >> directly emitting opcodes to memory, with a lesser outlook on
> >> reducing overhead.
> >
> > That seems extremely unlikely.
2013 Jul 16
3
[LLVMdev] eclipse and gdb
Is anyone using Eclipse and gdb to debug llvm/clang?
If so, which version of Eclipse, gdb and linux flavor.
I just use gdb currently.
I'm going to try using my mac also.
Is anyone using xcode/lldb to debug llvm/clang?
Tia.
Reed