Profile

Cover photo
Verified name
Kaushal Modi
Attended St Xavier's Mirzapur, Ahmedabad, India
Lives in Hillsborough, NC
631,003 views
AboutPostsPhotosReviews

Stream

Kaushal Modi

Bug Reports  - 
 
Issue with wallpaper scrolling on stock Android M on Nexus 6P

Hey guys,

I have noticed the wallpaper scrolling to work/not work randomly.

On Nexus 4, Oneplus One, Oneplus Two, Nexus 7, as I swipe from one page to another in the launcher, the wallpaper also used to scroll slightly left/right depending on if I swiped to the left/right page of the launcher.

But on Nexus 6P, the wallpaper scrolling seems buggy. At times the wallpaper stays static and at times it scrolls.

That's the only unpleasant experience other than the known bug of notification tray scrolling down super-slow when using a gesture. 
1
Kaushal Modi's profile photo
 
+Kevin Barry Looks like this bug is fixed in 4.3 beta april1? Thanks.
Add a comment...

Kaushal Modi

Discussion  - 
 
I am using 2nd gen Nexus 7, stock, unrooted the latest update version of Lollipop. I am unable to setup Dropbox sync. 
1
Jack Underwood's profile photoRobert Crawford's profile photoKaushal Modi's profile photo
3 comments
 
Reinstalling Monospace did not help. I still got the same error when trying to link Dropbox. But the linking worked after I uninstalled Dropbox app. With that, the linking process asked me to enter my Dropbox credentials and I was good to go. 
Add a comment...

Kaushal Modi

Shared publicly  - 
 
Help #FightEbola. For every $1 you donate, Google will donate $2 to four nonprofits doing critical humanitarian work in West Africa. Together we can do more. Donate now.
1
Add a comment...

Kaushal Modi

Shared publicly  - 
 
The emacs user base is growing by day (or so is vim's, don't worry :P). This growth has brought in emacs/org-mode/elisp related questions from beginner to advanced level users and over time these questions got distributed across reddit, G+ community, quora, stackoverflow, superuser, unix SE, tex SE, etc. It is about time that emacs get its dedicated SE subdomain so that it becomes a one-stop shop for emacs related questions.

And thus the emacs user base got together to propose an emacs SE site. It has to go through define, commit and beta phase to become a confirmed SE site. It has already gone through the define phase and has finished 64% of the commit phase.

If you too are interested in making emacs SE a reality, please go here ( http://area51.stackexchange.com/proposals/76571/emacs?referrer=NPw4965lZmLzEQTGEFwH_Q2 ) and commit to it.
1
Add a comment...

Kaushal Modi

Discussion  - 
 
Can anyone share their experience of successfully using mdframed and minted packages together with the listings captions working correctly? #org-to-latex-to-pdf-export

I need the mdframed package to allow embedding code listings that are multi-page in length.
1
Add a comment...

Kaushal Modi

Discussion  - 
 
List of Tables, longtable
Hi all, I am exporting an org file to LaTeX. One of the tables in the file is very long and it spans across multiple pages. But I was able to take care of that using the =longtable= table environment.

I have this in  the beginning of my org file to print the list of tables:
#+TOC: tables

I also tried using #+LATEX: \listoftables, and it works the same way.

I have these lines before the long table:
#+CAPTION: Table Name
#+NAME: tab:longtable_example
#+ATTR_LATEX: :environment longtable
| header1 | header2 |
| looooooooong | table.... |

With this I am getting the table split across multiple pages BUT, in the list of tables, a new entry is added for each page the table is split across. If the same table is split across 2 pages, in the List of Tables, I see the same table caption twice with different page numbers (the pages across which that table is split).

How can I tell org that I need just one caption for that whole table no matter how many pages it consumes?

Thanks.
1
Add a comment...

Kaushal Modi

Shared publicly  - 
1
Add a comment...

Kaushal Modi

General Discussion  - 
 
Feature request
Show the recently used apps in the app search suggestions.

I have been using AppDialer Pro ( https://play.google.com/store/apps/details?id=name.pilgr.appdialer.pro ). The recent Nova update with the app search is much faster. I only wish that it showed the recently used apps in the initial list of apps (along with the newly installed apps).

Thanks for keeping this app fresh with updates!
Recommended by Google[1], Lifehacker[2], Yahoo[3], XDA[4], AndroidPolice[5]...
3
Add a comment...
 
Few samples of pictures taken using my OPO using the stock CM camera in Auto mode. 
18
Saurabh DC's profile photoJosé Luis Asensio Fierro's profile photoTony Dean's profile photo
3 comments
 
Great photos!, great phone! 
Add a comment...

Kaushal Modi

Discussion  - 
 
Emacs has its own Stack Exchange and it is in Beta stage. It's a new home for all emacs related questions: org-mode, elisp, packages, configurations, etc.

Anyone can ask questions and provide answers. Feel free to even browse the site and skim through Q&As even if you don't need to ask anything at the moment :)
10
1
Michael Bernhard Arp Sørensen's profile photoKaushal Modi's profile photo
2 comments
Add a comment...

Kaushal Modi

Questions  - 
 
Help with defining syntax table for comments

I am working on creating a major-mode for an in-house script.

The commenting syntax is as follows:
- Any line that optionally begins with white space and has '*' as the first non-white-space character is a comment.
Example:
* This is a comment.

- A comment can be line-continued with an '&' character
Example:
* These both lines are &
comments

- Also supports C-style block comments: /* COMMENT */
Example:
print "abcd", /* COMMENT */ "def"

I am unable to make the below work:

(defvar inhouse-script-mode-syntax-table
  (let ((table (make-syntax-table)))
    ;; define comment for this style: /*  */
    (modify-syntax-entry ?\/ ". 14b" table)
    (modify-syntax-entry ?*  ". 23b"   table)
    (modify-syntax-entry ?\n ">"    table)
    ;; define the comment lines starting with '*'
    (modify-syntax-entry ?*  "<"    table)
    ;; Declare the underscore character as being as valid part of a word
    (modify-syntax-entry ?_  "w"      table)
    table)
  "Syntax table for inhouse-script-mode")

Is it possible to assign '*' to both "." and "<"? If so, can anyone help me fix the above syntax table?

Thanks.
1
Artur Malabarba's profile photoKaushal Modi's profile photo
2 comments
 
+Artur Malabarba I tried that but that didn't help... emacs ignores the '<' character in ".23< b" and that statement acts like ".23b" because that's what I see when I do `M-x describe-syntax'.

Also I changed the defvar to setq temporarily so that I don't need to restart emacs after every change to the syntax table.

The tricky parts of the comment syntax are:
(1) A line is a comment ONLY if * is the first non-white-space character.
So,
---
* This is a comment
---
But in a code line like below, '*' does NOT initiate a comment
---
execute <...>* something something
---

(2) The behavior of 
---
* multi line comment &
second line of comment
This is not a comment
---
is expected to be the same as that of
/* multi line comment
second line of comment
*/
This is not a comment
---
Add a comment...

Kaushal Modi

Questions  - 
 
Pain with linum mode when running emacs daemon
Lately, I am having trouble with "Invalid face: linum" error ONLY when launching emacs in daemon mode using emacsclient.

That error does not show up when I simply run \emacs&

In my init.el, I have
===== CODE =====
(require 'setup-linum)
===== END =====

 and in setup-linum.el, I have
===== CODE =====
(require 'nlinum)
(setq global-nlinum-mode -1
      nlinum-format      "%4d ") ; right aligned, 4 char wide line num col
;; NOTE: nlinum mode is turned on in the setup files of the desired major modes
(setq setup-linum-loaded t)
(provide 'setup-linum)
===== END =====

If I comment out the (require 'setup-linum) line in my init.el, emacs starts fine in both normal and daemon modes. But if I keep that line, emacs launches fine ONLY in normal mode.

I can't figure out why daemon mode throws the "Invalid face: linum" error. It can be arduous going through someone else's config but if anyone has time and will, please help me out.

init.el: 
https://github.com/kaushalmodi/.emacs.d/blob/master/init.el

setup-linum.el:
https://github.com/kaushalmodi/.emacs.d/blob/master/setup-files/setup-linum.el
1
Add a comment...
Story
Tagline
A geek in love
Education
  • St Xavier's Mirzapur, Ahmedabad, India
  • Nirma Institute of Technology, Ahmedabad, India
  • North Carolina State University, Raleigh, USA
Basic Information
Gender
Male
Relationship
Married
Work
Occupation
Digital Design Engineer
Places
Map of the places this user has livedMap of the places this user has livedMap of the places this user has lived
Currently
Hillsborough, NC
Previously
Ahmedabad - Ahmedabad, India - Raleigh, NC, USA - Greensboro, NC, USA - Hillsborough, NC, USA
Links
Contributor to
Loved the drunken noodles over there. I had requested them to make it spicy, and it was perfect!
Public - 3 weeks ago
reviewed 3 weeks ago
Public - 3 weeks ago
reviewed 3 weeks ago
67 reviews
Map
Map
Map
Public - 3 weeks ago
reviewed 3 weeks ago
Public - 3 weeks ago
reviewed 3 weeks ago