search for: indentation

Displaying 20 results from an estimated 1932 matches for "indentation".

2014 Jan 12
6
[LLVMdev] RFC: Change coding standard to not indent namespaces ever
Currently there is a mixture of indented namespaces and un-indented namespaces in both LLVM and Clang. I think this is confusing and it wastes developer time debating the issue. I'd like to pick one and stick with it consistently. Indenting cannot possibly work in many contexts -- file-wide namespaces just make no sense to indent. So I don't think we should pick "always indent".
2018 Feb 22
0
[PATCH 1/5] v2v: DOM: Add doc_to_string function.
Convert a document to an in-memory string. --- v2v/DOM.ml | 61 ++++++++++++++++++++++++++++++++++++++----------------------- v2v/DOM.mli | 3 +++ 2 files changed, 41 insertions(+), 23 deletions(-) diff --git a/v2v/DOM.ml b/v2v/DOM.ml index 7f66e0920..2b6a21fd1 100644 --- a/v2v/DOM.ml +++ b/v2v/DOM.ml @@ -46,43 +46,48 @@ let e name attrs children = * we will be writing, ie. libvirt XML and
2016 Feb 24
0
[PATCH 3/3] src: print contents of structs and struct lists on tracing
It eases the debugging, instead of getting just the name of the struct returned. --- generator/c.ml | 29 ++++++++++++++++++++--------- 1 file changed, 20 insertions(+), 9 deletions(-) diff --git a/generator/c.ml b/generator/c.ml index 9af4529..7446412 100644 --- a/generator/c.ml +++ b/generator/c.ml @@ -1348,6 +1348,7 @@ and generate_client_actions hash () = #include
2016 Feb 24
3
[PATCH 1/3] src: generate code for printing contents of structs
Extend the generator to generate a source (and the header for it) with functions that print the content of a guestfs struct. The code is modelled after the code for it in fish.ml, although made a bit more generic (destination FILE*, line separator) so it can be used also in the library, when tracing. This just introduces the new code and builds it as part of the helper libutils.la. ---
2019 Apr 26
1
Fix: menu indent for menu entry
...t follow MENU INDENT. *Sample config* label - menu disable menu label Distro label rhel menu indent 2 menu label RHEL label cent menu indent 2 menu label Centos label fed menu indent 2 menu label Fedora menu begin menu indent 2 menu label Others menu end # 'Others' doesn't have indentation to match first three. The patch was tested with empty, labels only, sub menues only sub menu. And with mix of tag, title, label. Regards, Dany *Patch* --- syslinux-6.03/com32/menu/readconfig.c.orig 2019-04-26 13:22:46.817379317 -0500 +++ syslinux-6.03/com32/menu/readconfig.c 2019-04-26 14:12:26....
2009 Dec 18
2
[LLVMdev] [PATCH] dbgs() Use
Here's an example patch of how dbgs() will be used. Essentially I will replace uses of errs() with dbgs(). I believe this is the correct thing to do because: - With #define NDEBUG, dbgs() == errs() - With debugging and -debug-buffer-size=0 (the default), dbgs() just passes output to errs(). - When -debug-buffer-size>0, you want to buffer ALL output so that you don't get some
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 emac...
2019 Jul 25
1
Re: [PATCH libnbd 1/3] generator: Change Closure so it describes single callbacks.
...| UInt64 n -> pr " \"K\"" >> > + (* The following not yet implemented for callbacks XXX *) >> > + | ArrayAndLen _ | Bool _ | BytesOut _ >> > + | BytesPersistIn _ | BytesPersistOut _ >> >> Not your usual indentation style. > >I think at some point I gave up fighting tuareg mode :-( > >I need to ask Martin for the right settings to make it indent in the >preferred way. > So I only found this: tuareg-electric-indent is a variable defined in ‘tuareg.el’. Its value is nil Documentation: Whethe...
2018 Jan 23
2
LAYOUT=fs
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head> <title></title> <meta http-equiv="content-type" content="text/html;charset=utf-8"/>
2007 Oct 22
0
12 commits - libswfdec/swfdec_as_strings.c libswfdec/swfdec_html_parser.c libswfdec/swfdec_text_field.c libswfdec/swfdec_text_field.h libswfdec/swfdec_text_field_movie_as.c libswfdec/swfdec_text_field_movie.c libswfdec/swfdec_text_field_movie.h test/trace
libswfdec/swfdec_as_strings.c | 1 libswfdec/swfdec_html_parser.c | 43 +++--- libswfdec/swfdec_text_field.c | 2 libswfdec/swfdec_text_field.h | 2 libswfdec/swfdec_text_field_movie.c | 166 ++++++++++++++++----------- libswfdec/swfdec_text_field_movie.h | 6 libswfdec/swfdec_text_field_movie_as.c
2017 Mar 09
2
Error in formatDL(nm, txt, indent = max(nchar(nm, "w")) + 3)
This error can arise when getOption("width") is too small. 80 seems to be the limit for me with R-3.3.2 on Windows. Bill Dunlap TIBCO Software wdunlap tibco.com On Wed, Mar 8, 2017 at 10:28 PM, Spencer Graves <spencer.graves at prodsyse.com> wrote: > Hello: > > > I tried "debug(help)" with the problem mentioned below. It stopped > with a call to
2016 Jun 02
6
-Wmisleading-indentation violations
...1/dev/llvm-upstream/src/lib/MC/MCParser/DarwinAsmParser.cpp: In member function ‘bool {anonymous}::DarwinAsmParser::parseVersionMin(llvm::StringRef, llvm::SMLoc)’: /home/dsl11/dev/llvm-upstream/src/lib/MC/MCParser/DarwinAsmParser.cpp:962:3: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] if (Update > 255 || Update < 0) ^~ /home/dsl11/dev/llvm-upstream/src/lib/MC/MCParser/DarwinAsmParser.cpp:964:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’ Lex(); ^~~ ``` ``` /home/dsl11/dev/llvm-upstream/src/lib/Tra...
2007 Oct 25
0
18 commits - libswfdec/swfdec_player_internal.h libswfdec/swfdec_text_field_movie_as.c libswfdec/swfdec_text_format.c libswfdec/swfdec_text_format.h libswfdec/swfdec_xml.c libswfdec/swfdec_xml_node.c libswfdec/swfdec_xml_node.h test/trace
dev/null |binary libswfdec/swfdec_player_internal.h | 2 libswfdec/swfdec_text_field_movie_as.c | 57 +++++--- libswfdec/swfdec_text_format.c | 13 + libswfdec/swfdec_text_format.h | 1 libswfdec/swfdec_xml.c | 72 ++++++---- libswfdec/swfdec_xml_node.c
2009 Aug 05
6
No way to indent text?
How could one indent (not quote) a block of text? This is commonly done in Wikipedia with one or more colons at the beginning of the line, and is very handy for threaded discussions. An example is at http://en.wikipedia.org/w/index.php?title=Wikipedia:Articles_for_deletion/MojoMojo&diff=next&oldid=275101911 -- Dan Dascalescu http://wiki.dandascalescu.com
2007 Oct 22
0
5 commits - libswfdec/swfdec_html_parser.c libswfdec/swfdec_text_field_movie_as.c libswfdec/swfdec_text_field_movie.c test/trace
libswfdec/swfdec_html_parser.c | 8 +++--- libswfdec/swfdec_text_field_movie.c | 31 ++++++++++++++++++++------- libswfdec/swfdec_text_field_movie_as.c | 18 ++++++++------- test/trace/text-field-html-input-6.swf |binary test/trace/text-field-html-input-6.swf.trace | 28 ++++++++++++++++++++++++ test/trace/text-field-html-input-7.swf |binary
2018 Jan 23
1
LAYOUT=fs
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head> <title></title> <meta http-equiv="content-type" content="text/html;charset=utf-8"/>
2017 Mar 09
0
Error in formatDL(nm, txt, indent = max(nchar(nm, "w")) + 3)
It happens in the fda package because some of the headers are longer than typical (e.g., "Repository/R-Forge/DateTimeStamp") and formatDL dies if the indent argument is too large compared to the width argument. It might be nice to change formatDL so it never gave such an error, but did something reasonable when the 'indent' argument was too big. Changing if (indent >
2009 Jan 02
0
[LLVMdev] TableGen crash
TableGen crashes while building llvm when it tries to generate /llvm/tools/llvmc/plugins/Base/AutoGenerated.inc from /llvm/tools/llvmc/plugins/Base/Base.td As a result AutoGenerated.inc is full of garbage and it's not possible to proceed any further. I've debugged TableGen and found out that it dies somewhere in EmitForwardOptionPropertyHandlingCode(). I've modified
2009 Jun 05
15
Rails Code Indentation
Hi All, Rails code must be readable, formatted and well indented. I wanted to do indent code in my previous projects. Is there any built in rails plugin/gem that can help me to indent my existing code. Any ideas will be really appreciated ! NOTE: Please don''t suggest editor plugins. Thanks & Regards, Sandip R~ -- Ruby on Rails Developer http://sandip.sosblog.com
2005 Sep 24
1
Indentation in R code
I am using emacs-21.3 when writing R functions on Linux debian, and I am trying to follow the advice i R-exts.pdf (2.1.1) regarding indentation. That is, I set 'c-default-style' to "bsd" and 'c-basic-offset' to 4. However, while this gives me the intended indentation in C code, it doesn't change the behavior in R code; I still get an indentation of size 2. This is my .emacs file after customization: (require...